Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Unified Diff: ui/chromeos/network/network_state_notifier.cc

Issue 1091043002: Use networkingPrivate.startConnect (Take 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/chromeos/network/network_state_notifier.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/chromeos/network/network_state_notifier.cc
diff --git a/ui/chromeos/network/network_state_notifier.cc b/ui/chromeos/network/network_state_notifier.cc
index fbb02d1484577f0f434e3d477903ccd8a96a9fff..3bcbb6707d13f0262997eac5523a9ed0172dfa3f 100644
--- a/ui/chromeos/network/network_state_notifier.cc
+++ b/ui/chromeos/network/network_state_notifier.cc
@@ -118,6 +118,15 @@ NetworkStateNotifier::~NetworkStateNotifier() {
NetworkHandler::Get()->network_connection_handler()->RemoveObserver(this);
}
+void NetworkStateNotifier::ConnectToNetworkRequested(
+ const std::string& service_path) {
+ RemoveConnectNotification();
+}
+
+void NetworkStateNotifier::ConnectSucceeded(const std::string& service_path) {
+ RemoveConnectNotification();
+}
+
void NetworkStateNotifier::ConnectFailed(const std::string& service_path,
const std::string& error_name) {
// Only show a notification for certain errors. Other failures are expected
« no previous file with comments | « ui/chromeos/network/network_state_notifier.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698