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

Unified Diff: chrome/browser/chromeos/options/network_connect.h

Issue 15937008: Unify ActivateCellular into network_connect.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 7 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/test/test_shell_delegate.cc ('k') | chrome/browser/chromeos/options/network_connect.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/options/network_connect.h
diff --git a/chrome/browser/chromeos/options/network_connect.h b/chrome/browser/chromeos/options/network_connect.h
index a95fa14c7beab7b3da9b95d7a7f13bf1009cf86c..6e5792a66fed26ef41f2023c61983b171f1fad5d 100644
--- a/chrome/browser/chromeos/options/network_connect.h
+++ b/chrome/browser/chromeos/options/network_connect.h
@@ -18,6 +18,15 @@ enum ConnectResult {
CONNECT_STARTED
};
+// Activate the cellular network associated with |service_path| if direct
+// activation is supported, otherwise call ShowMobileSetup.
+void ActivateCellular(const std::string& service_path);
+
+// Shows the mobile setup dialog which handles:
+// * Activation for non direct-activation networks
+// * Showing network plan info
+void ShowMobileSetup(const std::string& service_path);
+
// Attempts to connect to the network specified by |service_path|.
// Returns one of the following results:
// NETWORK_NOT_FOUND if the network does not exist.
« no previous file with comments | « ash/test/test_shell_delegate.cc ('k') | chrome/browser/chromeos/options/network_connect.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698