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

Side by Side Diff: chrome/browser/chromeos/cros/network_library.h

Issue 1692005: 2nd attempt to land http://codereview.chromium.org/1676002 for njw... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 virtual const CellularNetworkVector& cellular_networks() const = 0; 183 virtual const CellularNetworkVector& cellular_networks() const = 0;
184 184
185 // Returns the list of remembered cellular networks. 185 // Returns the list of remembered cellular networks.
186 virtual const CellularNetworkVector& remembered_cellular_networks() const = 0; 186 virtual const CellularNetworkVector& remembered_cellular_networks() const = 0;
187 187
188 // Request a scan for new wifi networks. 188 // Request a scan for new wifi networks.
189 virtual void RequestWifiScan() = 0; 189 virtual void RequestWifiScan() = 0;
190 190
191 // Connect to the specified wireless network with password. 191 // Connect to the specified wireless network with password.
192 virtual void ConnectToWifiNetwork(WifiNetwork network, 192 virtual void ConnectToWifiNetwork(WifiNetwork network,
193 const string16& password) = 0; 193 const string16& password,
194 const string16& identity,
195 const string16& certpath) = 0;
194 196
195 // Connect to the specified wifi ssid with password. 197 // Connect to the specified wifi ssid with password.
196 virtual void ConnectToWifiNetwork(const string16& ssid, 198 virtual void ConnectToWifiNetwork(const string16& ssid,
197 const string16& password) = 0; 199 const string16& password,
200 const string16& identity,
201 const string16& certpath) = 0;
198 202
199 // Connect to the specified cellular network. 203 // Connect to the specified cellular network.
200 virtual void ConnectToCellularNetwork(CellularNetwork network) = 0; 204 virtual void ConnectToCellularNetwork(CellularNetwork network) = 0;
201 205
202 // Forget the passed in wifi network. 206 // Forget the passed in wifi network.
203 virtual void ForgetWifiNetwork(const WifiNetwork& network) = 0; 207 virtual void ForgetWifiNetwork(const WifiNetwork& network) = 0;
204 208
205 // Forget the passed in cellular network. 209 // Forget the passed in cellular network.
206 virtual void ForgetCellularNetwork(const CellularNetwork& network) = 0; 210 virtual void ForgetCellularNetwork(const CellularNetwork& network) = 0;
207 211
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 // Returns the list of remembered cellular networks. 298 // Returns the list of remembered cellular networks.
295 virtual const CellularNetworkVector& remembered_cellular_networks() const { 299 virtual const CellularNetworkVector& remembered_cellular_networks() const {
296 return remembered_cellular_networks_; 300 return remembered_cellular_networks_;
297 } 301 }
298 302
299 // Request a scan for new wifi networks. 303 // Request a scan for new wifi networks.
300 virtual void RequestWifiScan(); 304 virtual void RequestWifiScan();
301 305
302 // Connect to the specified wireless network with password. 306 // Connect to the specified wireless network with password.
303 virtual void ConnectToWifiNetwork(WifiNetwork network, 307 virtual void ConnectToWifiNetwork(WifiNetwork network,
304 const string16& password); 308 const string16& password,
309 const string16& identity,
310 const string16& certpath);
305 311
306 // Connect to the specified wifi ssid with password. 312 // Connect to the specified wifi ssid with password.
307 virtual void ConnectToWifiNetwork(const string16& ssid, 313 virtual void ConnectToWifiNetwork(const string16& ssid,
308 const string16& password); 314 const string16& password,
315 const string16& identity,
316 const string16& certpath);
309 317
310 // Forget the passed in wifi network. 318 // Forget the passed in wifi network.
311 virtual void ForgetWifiNetwork(const WifiNetwork& network); 319 virtual void ForgetWifiNetwork(const WifiNetwork& network);
312 320
313 // Forget the passed in cellular network. 321 // Forget the passed in cellular network.
314 virtual void ForgetCellularNetwork(const CellularNetwork& network); 322 virtual void ForgetCellularNetwork(const CellularNetwork& network);
315 323
316 // Connect to the specified cellular network. 324 // Connect to the specified cellular network.
317 virtual void ConnectToCellularNetwork(CellularNetwork network); 325 virtual void ConnectToCellularNetwork(CellularNetwork network);
318 326
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 int connected_devices_; 448 int connected_devices_;
441 449
442 bool offline_mode_; 450 bool offline_mode_;
443 451
444 DISALLOW_COPY_AND_ASSIGN(NetworkLibraryImpl); 452 DISALLOW_COPY_AND_ASSIGN(NetworkLibraryImpl);
445 }; 453 };
446 454
447 } // namespace chromeos 455 } // namespace chromeos
448 456
449 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_ 457 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/mock_network_library.h ('k') | chrome/browser/chromeos/cros/network_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698