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

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 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
« no previous file with comments | « ash/ash_chromeos_strings.grdp ('k') | ash/system/chromeos/network/network_connect.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..3b40ec8ccfe8a73eb7ef868c4407be1f40f51b5b 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 notification or opens the mobile setup dialog.
+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
« no previous file with comments | « ash/ash_chromeos_strings.grdp ('k') | ash/system/chromeos/network/network_connect.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698