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

Unified Diff: components/wifi/wifi_service.h

Issue 68503019: Windows-specific implementation of Networking Private API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed Win64 compilation error. Created 7 years, 1 month 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 | « components/wifi/fake_wifi_service.cc ('k') | components/wifi/wifi_service_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/wifi/wifi_service.h
diff --git a/components/wifi/wifi_service.h b/components/wifi/wifi_service.h
index e29d936c35f118b385c5d61e9f04d1b6957b790f..a81d1e3a22883ffe4001c0341d2d8752ebb68072 100644
--- a/components/wifi/wifi_service.h
+++ b/components/wifi/wifi_service.h
@@ -12,6 +12,7 @@
#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "base/message_loop/message_loop_proxy.h"
+#include "base/threading/sequenced_worker_pool.h"
#include "base/values.h"
#include "components/wifi/wifi_export.h"
@@ -29,6 +30,13 @@ class WIFI_EXPORT WiFiService {
virtual ~WiFiService() {}
+ // Initialize WiFiService, store |task_runner| for posting worker tasks.
+ virtual void Initialize(
+ scoped_refptr<base::SequencedTaskRunner> task_runner) = 0;
+
+ // UnInitialize WiFiService.
+ virtual void UnInitialize() = 0;
+
// Create instance of |WiFiService| for normal use.
static WiFiService* Create();
// Create instance of |WiFiService| for unit test use.
@@ -74,6 +82,7 @@ class WIFI_EXPORT WiFiService {
typedef int32 Frequency;
enum FrequencyEnum {
+ kFrequencyAny = 0,
kFrequencyUnknown = 0,
kFrequency2400 = 2400,
kFrequency5000 = 5000
« no previous file with comments | « components/wifi/fake_wifi_service.cc ('k') | components/wifi/wifi_service_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698