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

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

Issue 1043343002: Use networkingPrivate.startConnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_430115_internet_options_cellular
Patch Set: . Created 5 years, 9 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
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

Powered by Google App Engine
This is Rietveld 408576698