Chromium Code Reviews| Index: chrome/browser/chromeos/cros/network_library.h |
| =================================================================== |
| --- chrome/browser/chromeos/cros/network_library.h (revision 94953) |
| +++ chrome/browser/chromeos/cros/network_library.h (working copy) |
| @@ -1294,6 +1294,11 @@ |
| // If nothing is changed, this method does nothing. |
| virtual void SetIPConfig(const NetworkIPConfig& ipconfig) = 0; |
| + // This will connect to an preferred network if the currently connected |
|
stevenjb
2011/08/03 21:37:52
nit: a preferred
Charlie Lee
2011/08/03 22:22:59
Done.
|
| + // network is not preferred. This should be called when the active profile |
| + // changes. |
| + virtual void SwitchToPreferredNetworkIfAppropriate() = 0; |
|
stevenjb
2011/08/03 21:37:52
personal nit: It seems to me that "IfAppropriate"
Charlie Lee
2011/08/03 22:22:59
Done.
|
| + |
| // Factory function, creates a new instance and returns ownership. |
| // For normal usage, access the singleton via CrosLibrary::Get(). |
| static NetworkLibrary* GetImpl(bool stub); |