Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(838)

Unified Diff: webrtc/api/portallocatorfactory.h

Issue 1610243002: Move talk/app/webrtc to webrtc/api (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Updated location for peerconnection_unittests.isolate Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/api/portallocatorfactory.h
diff --git a/webrtc/base/mathutils.h b/webrtc/api/portallocatorfactory.h
similarity index 54%
copy from webrtc/base/mathutils.h
copy to webrtc/api/portallocatorfactory.h
index e2b21261ddbac63452134b6d16beff74cdc65120..cefd750c0bbeeaec9e8af67bd0b6350fa85f4ee7 100644
--- a/webrtc/base/mathutils.h
+++ b/webrtc/api/portallocatorfactory.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2005 The WebRTC Project Authors. All rights reserved.
+ * Copyright 2011 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
@@ -7,14 +7,10 @@
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
+// TODO(deadbeef): Remove this file once chromium build files no longer
+// reference it.
-#ifndef WEBRTC_BASE_MATHUTILS_H_
-#define WEBRTC_BASE_MATHUTILS_H_
+#ifndef WEBRTC_API_PORTALLOCATORFACTORY_H_
+#define WEBRTC_API_PORTALLOCATORFACTORY_H_
-#include <math.h>
-
-#ifndef M_PI
-#define M_PI 3.14159265359f
-#endif
-
-#endif // WEBRTC_BASE_MATHUTILS_H_
+#endif // WEBRTC_API_PORTALLOCATORFACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698