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

Unified Diff: chrome/browser/geolocation/gateway_data_provider_common_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/gateway_data_provider_common_unittest.cc
diff --git a/chrome/browser/geolocation/gateway_data_provider_common_unittest.cc b/chrome/browser/geolocation/gateway_data_provider_common_unittest.cc
index 1f8b072dd92a5b001ce32c1a6adec0579cb11ab0..cc7b83fbe564ac5c5b12a781c737f0933dee6d7e 100644
--- a/chrome/browser/geolocation/gateway_data_provider_common_unittest.cc
+++ b/chrome/browser/geolocation/gateway_data_provider_common_unittest.cc
@@ -17,6 +17,8 @@ using testing::DoDefault;
using testing::Invoke;
using testing::Return;
+namespace {
+
class MockGatewayApi : public GatewayDataProviderCommon::GatewayApiInterface {
public:
MockGatewayApi() {
@@ -185,3 +187,5 @@ TEST_F(GeolocationGatewayDataProviderCommonTest, DoScanWithResults) {
EXPECT_EQ(1, static_cast<int>(data.router_data.size()));
EXPECT_EQ(single_router.mac_address, data.router_data.begin()->mac_address);
}
+
+} // namespace
« no previous file with comments | « chrome/browser/geolocation/device_data_provider_unittest.cc ('k') | chrome/browser/geolocation/geolocation_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698