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

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

Issue 24041003: Geolocation: move polling policy to its own file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix whitespace. Created 7 years, 3 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 | « no previous file | content/browser/geolocation/wifi_data_provider_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/geolocation/wifi_data_provider_chromeos.h
diff --git a/content/browser/geolocation/wifi_data_provider_chromeos.h b/content/browser/geolocation/wifi_data_provider_chromeos.h
index 0118298a78d3795f2c0122bc6193018d6d03d264..546c8a79f8e058b73e45562931762b224e71e61c 100644
--- a/content/browser/geolocation/wifi_data_provider_chromeos.h
+++ b/content/browser/geolocation/wifi_data_provider_chromeos.h
@@ -6,7 +6,8 @@
#define CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_CHROMEOS_H_
#include "base/compiler_specific.h"
-#include "content/browser/geolocation/wifi_data_provider_common.h"
+#include "content/browser/geolocation/wifi_data_provider.h"
+#include "content/browser/geolocation/wifi_polling_policy.h"
namespace content {
@@ -45,11 +46,8 @@ class CONTENT_EXPORT WifiDataProviderChromeOs
// Get access point data from chromeos.
bool GetAccessPointData(WifiData::AccessPointDataSet* data);
- // Underlying OS wifi API. (UI thread)
- scoped_ptr<WifiDataProviderCommon::WlanApiInterface> wlan_api_;
-
// Controls the polling update interval. (client thread)
- scoped_ptr<PollingPolicyInterface> polling_policy_;
+ scoped_ptr<WifiPollingPolicy> polling_policy_;
// The latest wifi data. (client thread)
WifiData wifi_data_;
« no previous file with comments | « no previous file | content/browser/geolocation/wifi_data_provider_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698