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

Unified Diff: chrome/browser/geolocation/network_location_provider_unittest.cc

Issue 6341013: Put geolocation unit and browser test code in anonymous namespaces to avoid (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Source files need to end in a newline. Created 9 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: chrome/browser/geolocation/network_location_provider_unittest.cc
diff --git a/chrome/browser/geolocation/network_location_provider_unittest.cc b/chrome/browser/geolocation/network_location_provider_unittest.cc
index c56c3d9de6112fe9d70ed27ca73223ac51727bf0..3969ad1a782c41c67d229f6b3856fde802b48bee 100644
--- a/chrome/browser/geolocation/network_location_provider_unittest.cc
+++ b/chrome/browser/geolocation/network_location_provider_unittest.cc
@@ -14,6 +14,7 @@
#include "testing/gtest/include/gtest/gtest.h"
namespace {
+
// Constants used in multiple tests.
const char kTestServerUrl[] = "https://www.geolocation.test/service";
const char kTestHost[] = "myclienthost.test";
@@ -21,8 +22,6 @@ const char kTestHostUrl[] = "http://myclienthost.test/some/path";
// Using #define so we can easily paste this into various other strings.
#define REFERENCE_ACCESS_TOKEN "2:k7j3G6LaL6u_lafw:4iXOeOpTh1glSXe"
-} // namespace
-
// Stops the specified (nested) message loop when the listener is called back.
class MessageLoopQuitListener
: public LocationProviderBase::ListenerInterface {
@@ -779,3 +778,4 @@ TEST_F(GeolocationNetworkProviderTest, NetworkPositionCache) {
}
}
+} // namespace

Powered by Google App Engine
This is Rietveld 408576698