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

Unified Diff: chrome/browser/geolocation/geolocation_browsertest.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/geolocation_browsertest.cc
diff --git a/chrome/browser/geolocation/geolocation_browsertest.cc b/chrome/browser/geolocation/geolocation_browsertest.cc
index 55316c5634404fc3c525dd4a0e3aa387189b5f3e..47272b6e71de9a203b613416ed4f8005858bb975 100644
--- a/chrome/browser/geolocation/geolocation_browsertest.cc
+++ b/chrome/browser/geolocation/geolocation_browsertest.cc
@@ -27,6 +27,8 @@
#include "net/base/net_util.h"
#include "net/test/test_server.h"
+namespace {
+
// Used to block until an iframe is loaded via a javascript call.
// Note: NavigateToURLBlockUntilNavigationsComplete doesn't seem to work for
// multiple embedded iframes, as notifications seem to be 'batched'. Instead, we
@@ -635,3 +637,5 @@ IN_PROC_BROWSER_TEST_F(GeolocationBrowserTest, DISABLED_TabDestroyed) {
L"", UTF8ToWide(script));
EXPECT_EQ(result, true);
}
+
+} // namespace

Powered by Google App Engine
This is Rietveld 408576698