diff options
author | stevenjb@google.com <stevenjb@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-19 22:46:20 +0000 |
---|---|---|
committer | stevenjb@google.com <stevenjb@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-19 22:46:20 +0000 |
commit | 7aef595332fb0070e8bbcd99ea5539ece1e20fc0 (patch) | |
tree | 2c13bc407f29da9907a0fdb724ff01cb94dc24c6 /chrome/browser/chromeos/cros/cros_network_functions.cc | |
parent | d44c8884770a03e81726ab774ecd4a501c2c2a69 (diff) | |
download | chromium_src-7aef595332fb0070e8bbcd99ea5539ece1e20fc0.zip chromium_src-7aef595332fb0070e8bbcd99ea5539ece1e20fc0.tar.gz chromium_src-7aef595332fb0070e8bbcd99ea5539ece1e20fc0.tar.bz2 |
Add a CONNECT_REQUESTED state to Network ConnectionState.
When a connection request is made, Chrome now sets the state to CONNECT_REQUESTED and ignores "Idle" state updates while in that state.
This informs the UI to show "connecting" icons / text until the connection attempt succeeds or fails.
Also: Don't update the network icon while scanning.
Also: includes a bunch of logging changes for improved debugging.
This alos fixes the mock expectations so that browser_tests should pass.
Original CL: https://chromiumcodereview.appspot.com/10554013
BUG=125121
TEST=See issue, test connecting between networks, UI should behave correctly.
For chrome/browser/chromeos/gdata:
TBR=gspencer@chromium.org, tbarzic@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10579022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143072 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/cros/cros_network_functions.cc')
-rw-r--r-- | chrome/browser/chromeos/cros/cros_network_functions.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/cros/cros_network_functions.cc b/chrome/browser/chromeos/cros/cros_network_functions.cc index 3bd0ca0..bbcb00e 100644 --- a/chrome/browser/chromeos/cros/cros_network_functions.cc +++ b/chrome/browser/chromeos/cros/cros_network_functions.cc @@ -344,6 +344,7 @@ void OnGetService(const NetworkPropertiesCallback& callback, DBusMethodCallStatus call_status, const dbus::ObjectPath& service_path) { if (call_status == DBUS_METHOD_CALL_SUCCESS) { + VLOG(1) << "OnGetServiceService: " << service_path.value(); DBusThreadManager::Get()->GetFlimflamServiceClient()->GetProperties( service_path, base::Bind(&RunCallbackWithDictionaryValue, callback, |