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


CrOS-Libchrome-Original-Commit: 7aef595332fb0070e8bbcd99ea5539ece1e20fc0
1 file changed
tree: 1af64923061360b3b1d5bd1389b67c0500884d44
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/