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

Unified Diff: chrome/browser/geolocation/wifi_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/wifi_data_provider_common_unittest.cc
diff --git a/chrome/browser/geolocation/wifi_data_provider_common_unittest.cc b/chrome/browser/geolocation/wifi_data_provider_common_unittest.cc
index 256fbcb4607355e2370f89ef8b0c4291f5b44bb0..783114cc4d60d897e54c5f775d5864335dfbde7c 100644
--- a/chrome/browser/geolocation/wifi_data_provider_common_unittest.cc
+++ b/chrome/browser/geolocation/wifi_data_provider_common_unittest.cc
@@ -19,6 +19,8 @@ using testing::DoDefault;
using testing::Invoke;
using testing::Return;
+namespace {
+
class MockWlanApi : public WifiDataProviderCommon::WlanApiInterface {
public:
MockWlanApi() : calls_(0), bool_return_(true) {
@@ -225,3 +227,6 @@ TEST_F(GeolocationWifiDataProviderCommonTest,
DeviceDataProvider<WifiData>::Unregister(&quit_listener);
DeviceDataProvider<WifiData>::ResetFactory();
}
+
+} // namespace
+

Powered by Google App Engine
This is Rietveld 408576698