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

Unified Diff: device/geolocation/wifi_polling_policy.h

Issue 2185993003: Reland: Geolocation: move from content/browser to device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make geolocation.gyp a component and define DEVICE_GEOLOCATION_IMPLEMENTATION Created 4 years, 5 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
« no previous file with comments | « device/geolocation/wifi_data_provider_win_unittest.cc ('k') | device/test/run_all_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/wifi_polling_policy.h
diff --git a/content/browser/geolocation/wifi_polling_policy.h b/device/geolocation/wifi_polling_policy.h
similarity index 88%
rename from content/browser/geolocation/wifi_polling_policy.h
rename to device/geolocation/wifi_polling_policy.h
index 5798e5dddaa3c5c71544ee282664b5eaf10e08a1..2d820403d925d4615f75d41c979877605b21c7fa 100644
--- a/content/browser/geolocation/wifi_polling_policy.h
+++ b/device/geolocation/wifi_polling_policy.h
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_GEOLOCATION_WIFI_POLLING_POLICY_H_
-#define CONTENT_BROWSER_GEOLOCATION_WIFI_POLLING_POLICY_H_
+#ifndef DEVICE_GEOLOCATION_WIFI_POLLING_POLICY_H_
+#define DEVICE_GEOLOCATION_WIFI_POLLING_POLICY_H_
#include "base/macros.h"
-namespace content {
+namespace device {
// Allows sharing and mocking of the update polling policy function.
class WifiPollingPolicy {
@@ -52,6 +52,6 @@ class GenericWifiPollingPolicy : public WifiPollingPolicy {
int polling_interval_;
};
-} // namespace content
+} // namespace device
-#endif // CONTENT_BROWSER_GEOLOCATION_WIFI_POLLING_POLICY_H_
+#endif // DEVICE_GEOLOCATION_WIFI_POLLING_POLICY_H_
« no previous file with comments | « device/geolocation/wifi_data_provider_win_unittest.cc ('k') | device/test/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698