Index: chrome/browser/chromeos/cros/network_library.h |
=================================================================== |
--- chrome/browser/chromeos/cros/network_library.h (revision 113491) |
+++ chrome/browser/chromeos/cros/network_library.h (working copy) |
@@ -1789,8 +1789,11 @@ |
virtual void SwitchToPreferredNetwork() = 0; |
// Load networks from an Open Network Configuration blob. |
+ // If there was an error, this will return false and |error| will be set to |
+ // the error message. |
virtual bool LoadOncNetworks(const std::string& onc_blob, |
achuithb
2011/12/10 01:18:11
I don't think anybody cares about the return value
kmixter1
2011/12/10 15:13:09
True, though it's inflexible to have errors return
Charlie Lee
2011/12/14 17:02:20
We still use the return value in some cases.
Charlie Lee
2011/12/14 17:02:20
I'd like to keep this for now and fix this for R18
kmixter1
2011/12/14 19:46:38
Fair enough. I think the grd constant makes sense
achuithb
2011/12/14 20:08:03
+1. Before you return true, perhaps set *error. If
|
- const std::string& passcode) = 0; |
+ const std::string& passcode, |
+ std::string* error) = 0; |
// This sets the active network for the network type. Note: priority order |
// is unchanged (i.e. if a wifi network is set to active, but an ethernet |