diff options
author | stevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-10 08:19:26 +0000 |
---|---|---|
committer | stevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-10 08:19:26 +0000 |
commit | 5aa4053655c285db3eb0e9951812e59bf6545a46 (patch) | |
tree | 3ab3bc42ae065c0393a06f646378aebbbbd0b91e /chrome/browser/chromeos/cros/network_library.cc | |
parent | f6d7f8b89f745b24de46dacf5c7cbced535ac179 (diff) | |
download | chromium_src-5aa4053655c285db3eb0e9951812e59bf6545a46.zip chromium_src-5aa4053655c285db3eb0e9951812e59bf6545a46.tar.gz chromium_src-5aa4053655c285db3eb0e9951812e59bf6545a46.tar.bz2 |
Show notifications for Network Config errors
Follow up to https://codereview.chromium.org/21046008/ to:
* Treat invalid 'share' parameter as a configuration failure
* Show error notifications for configuration failures
* Eliminate NetworkStateNotifier::NetworkConnectionStateChanged which watched for connect failures triggered by NetworkLibrary connection attempts. This is now redundant and could result in duplicate notifications (one would replace the other).
BUG=270936
Review URL: https://chromiumcodereview.appspot.com/22340006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216824 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/cros/network_library.cc')
-rw-r--r-- | chrome/browser/chromeos/cros/network_library.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/browser/chromeos/cros/network_library.cc b/chrome/browser/chromeos/cros/network_library.cc index 8c6f558..9943d9e 100644 --- a/chrome/browser/chromeos/cros/network_library.cc +++ b/chrome/browser/chromeos/cros/network_library.cc @@ -424,11 +424,6 @@ void Network::AttemptConnection(const base::Closure& closure) { void Network::set_connecting() { state_ = STATE_CONNECT_REQUESTED; - // Set the connecting network in NetworkStateHandler for the status area UI. - if (NetworkHandler::IsInitialized()) { - NetworkHandler::Get()->network_state_handler()-> - SetConnectingNetwork(service_path()); - } } void Network::SetProfilePath(const std::string& profile_path) { |