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

Side by Side Diff: content/browser/geolocation/wifi_data_provider_chromeos.h

Issue 23889009: Initial Geolocation Wifi Scan Checking Fix for CrOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/geolocation/wifi_data_provider_chromeos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_CHROMEOS_H_ 5 #ifndef CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_CHROMEOS_H_
6 #define CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_CHROMEOS_H_ 6 #define CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_CHROMEOS_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "content/browser/geolocation/wifi_data_provider_common.h" 9 #include "content/browser/geolocation/wifi_data_provider_common.h"
10 10
(...skipping 13 matching lines...) Expand all
24 friend class GeolocationChromeOsWifiDataProviderTest; 24 friend class GeolocationChromeOsWifiDataProviderTest;
25 virtual ~WifiDataProviderChromeOs(); 25 virtual ~WifiDataProviderChromeOs();
26 26
27 // UI thread 27 // UI thread
28 void DoWifiScanTaskOnUIThread(); // The polling task 28 void DoWifiScanTaskOnUIThread(); // The polling task
29 void DoStartTaskOnUIThread(); 29 void DoStartTaskOnUIThread();
30 30
31 // Client thread 31 // Client thread
32 void DidWifiScanTaskNoResults(); 32 void DidWifiScanTaskNoResults();
33 void DidWifiScanTask(const WifiData& new_data); 33 void DidWifiScanTask(const WifiData& new_data);
34 void MaybeRunCallbacks(bool update_available);
35 34
36 // Will schedule a scan; i.e. enqueue DoWifiScanTask deferred task. 35 // Will schedule a scan; i.e. enqueue DoWifiScanTask deferred task.
37 void ScheduleNextScan(int interval); 36 void ScheduleNextScan(int interval);
38 37
39 // Will schedule starting of the scanning process. 38 // Will schedule starting of the scanning process.
40 void ScheduleStart(); 39 void ScheduleStart();
41 40
42 // Will schedule stopping of the scanning process. 41 // Will schedule stopping of the scanning process.
43 void ScheduleStop(); 42 void ScheduleStop();
44 43
(...skipping 14 matching lines...) Expand all
59 58
60 // Whether we've successfully completed a scan for WiFi data. (client thread) 59 // Whether we've successfully completed a scan for WiFi data. (client thread)
61 bool is_first_scan_complete_; 60 bool is_first_scan_complete_;
62 61
63 DISALLOW_COPY_AND_ASSIGN(WifiDataProviderChromeOs); 62 DISALLOW_COPY_AND_ASSIGN(WifiDataProviderChromeOs);
64 }; 63 };
65 64
66 } // namespace content 65 } // namespace content
67 66
68 #endif // CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_CHROMEOS_H_ 67 #endif // CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_CHROMEOS_H_
OLDNEW
« 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