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

Unified Diff: content/browser/geolocation/wifi_data_provider_chromeos.h

Issue 2192683003: Revert of Reland: Geolocation: move from content/browser to device/ (patchset #2 id:20001 of https:… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2810
Patch Set: 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
Index: content/browser/geolocation/wifi_data_provider_chromeos.h
diff --git a/device/geolocation/wifi_data_provider_chromeos.h b/content/browser/geolocation/wifi_data_provider_chromeos.h
similarity index 71%
rename from device/geolocation/wifi_data_provider_chromeos.h
rename to content/browser/geolocation/wifi_data_provider_chromeos.h
index 04ad9c43b4480d4f2405a91e4858f61383622207..df74768fa49891bff63cd8f8c012d59b1adacfd6 100644
--- a/device/geolocation/wifi_data_provider_chromeos.h
+++ b/content/browser/geolocation/wifi_data_provider_chromeos.h
@@ -2,24 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_CHROMEOS_H_
-#define DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_CHROMEOS_H_
+#ifndef CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_CHROMEOS_H_
+#define CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_CHROMEOS_H_
#include <memory>
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "device/geolocation/wifi_data_provider.h"
-#include "device/geolocation/wifi_polling_policy.h"
+#include "content/browser/geolocation/wifi_data_provider.h"
+#include "content/browser/geolocation/wifi_polling_policy.h"
-namespace base {
-class SingleThreadTaskRunner;
-}
+namespace content {
-namespace device {
-
-class DEVICE_GEOLOCATION_EXPORT WifiDataProviderChromeOs
- : public WifiDataProvider {
+class CONTENT_EXPORT WifiDataProviderChromeOs : public WifiDataProvider {
public:
WifiDataProviderChromeOs();
@@ -64,12 +59,9 @@ class DEVICE_GEOLOCATION_EXPORT WifiDataProviderChromeOs
// Whether we've successfully completed a scan for WiFi data. (client thread)
bool is_first_scan_complete_;
- // Used to PostTask()s from the geolocation thread to creation thread.
- const scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_;
-
DISALLOW_COPY_AND_ASSIGN(WifiDataProviderChromeOs);
};
-} // namespace device
+} // namespace content
-#endif // DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_CHROMEOS_H_
+#endif // CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_CHROMEOS_H_
« no previous file with comments | « content/browser/geolocation/wifi_data_provider.cc ('k') | content/browser/geolocation/wifi_data_provider_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698