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

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

Issue 1043343002: Use networkingPrivate.startConnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_430115_internet_options_cellular
Patch Set: Rebase 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
Index: ui/chromeos/network/network_state_notifier.h
diff --git a/ui/chromeos/network/network_state_notifier.h b/ui/chromeos/network/network_state_notifier.h
index 85741ea4a5fc30894f74ad6f7ea5dad658ad5029..3f5efd01b3a1ebc2c718aa96012242c2a5b13546 100644
--- a/ui/chromeos/network/network_state_notifier.h
+++ b/ui/chromeos/network/network_state_notifier.h
@@ -45,6 +45,8 @@ class UI_CHROMEOS_EXPORT NetworkStateNotifier
~NetworkStateNotifier() override;
// NetworkConnectionObserver
+ void ConnectToNetworkRequested(const std::string& service_path) override;
+ void ConnectSucceeded(const std::string& service_path) override;
void ConnectFailed(const std::string& service_path,
const std::string& error_name) override;
void DiconnectRequested(const std::string& service_path) override;
@@ -65,9 +67,6 @@ class UI_CHROMEOS_EXPORT NetworkStateNotifier
// Show a mobile activation error notification.
void ShowMobileActivationError(const std::string& service_path);
- // Removes any existing connect notifications.
- void RemoveConnectNotification();
-
static const char kNotifierNetwork[];
static const char kNotifierNetworkError[];
static const char kNetworkConnectNotificationId[];
@@ -90,6 +89,9 @@ class UI_CHROMEOS_EXPORT NetworkStateNotifier
const base::DictionaryValue& shill_properties);
void ShowVpnDisconnectedNotification(const chromeos::NetworkState* vpn);
+ // Removes any existing connect notifications.
+ void RemoveConnectNotification();
+
// Returns true if the default network changed.
bool UpdateDefaultNetwork(const chromeos::NetworkState* network);

Powered by Google App Engine
This is Rietveld 408576698