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

Unified Diff: chrome/utility/wifi/wifi_service.h

Issue 32193015: WlanConnect to BSS with given frequency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync up to r231308 Created 7 years, 2 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 | « chrome/utility/networking_private_handler.cc ('k') | chrome/utility/wifi/wifi_service_mock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/wifi/wifi_service.h
diff --git a/chrome/utility/wifi/wifi_service.h b/chrome/utility/wifi/wifi_service.h
index f22a21ea239ef0fb79d78d847838894c35952b38..b81c6aa8ea0128d7ddddf7355c20e88bcf88dc7b 100644
--- a/chrome/utility/wifi/wifi_service.h
+++ b/chrome/utility/wifi/wifi_service.h
@@ -20,6 +20,7 @@ class WiFiService {
public:
typedef int32 Frequency;
enum FrequencyEnum {
+ kFrequencyAny = 0,
kFrequencyUnknown = 0,
kFrequency2400 = 2400,
kFrequency5000 = 5000
@@ -127,8 +128,10 @@ class WiFiService {
// Start connect to network identified by |network_guid|. Run |callback| on
// success, |error_callback| on failure. Send |NetworksChanged| event
- // on completion.
+ // on completion. If |frequency| is not 0 (kFrequencyUnknown), then only
+ // connect to BSS running on that frequency (2400 or 5000).
virtual void StartConnect(const std::string& network_guid,
+ Frequency frequency,
const StringResultCallback& callback,
const ErrorCallback& error_callback) = 0;
« no previous file with comments | « chrome/utility/networking_private_handler.cc ('k') | chrome/utility/wifi/wifi_service_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698