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

Unified Diff: ash/system/chromeos/network/network_connect.h

Issue 22796014: Eliminate c/b/chromeos/options/network_connect.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + fix clang Created 7 years, 4 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: ash/system/chromeos/network/network_connect.h
diff --git a/ash/system/chromeos/network/network_connect.h b/ash/system/chromeos/network/network_connect.h
index 65c430d073e4225b6a8e46e63c9baf9b810aa9e9..1475b249517a9ab746643de4f2af1067f43bbfd5 100644
--- a/ash/system/chromeos/network/network_connect.h
+++ b/ash/system/chromeos/network/network_connect.h
@@ -27,6 +27,10 @@ ASH_EXPORT void ConnectToNetwork(const std::string& service_path,
// Requests network activation and handles any errors and notifications.
ASH_EXPORT void ActivateCellular(const std::string& service_path);
+// Determines whether or not a network requires a connection to activate or
+// setup and either shows a notifications or opens the mobile setup dialog.
pneubeck (no reviews) 2013/08/20 08:32:26 nit: notifications -> notification
stevenjb 2013/08/20 20:47:43 Done.
+ASH_EXPORT void ShowMobileSetup(const std::string& service_path);
+
// Configures a network with a dictionary of Shill properties, then sends a
// connect request. The profile is set according to 'shared' if allowed.
ASH_EXPORT void ConfigureNetworkAndConnect(
@@ -42,6 +46,10 @@ ASH_EXPORT void CreateConfigurationAndConnect(base::DictionaryValue* properties,
// Returns the localized string for shill error string |error|.
ASH_EXPORT base::string16 ErrorString(const std::string& error);
+// Shows the settings for the network specified by |service_path|. If empty,
+// or no matching network exists, shows the general internet settings page.
+ASH_EXPORT void ShowNetworkSettings(const std::string& service_path);
+
} // network_connect
} // ash

Powered by Google App Engine
This is Rietveld 408576698