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

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: 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
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..7a18bf5268d80312e02a6612dd060a76ed5ab9bb 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 dircect-activation networks
tbarzic 2013/05/24 21:24:34 nit: dot at the sentence end. s/dircect/direct
stevenjb 2013/05/24 22:17:45 Not sentences (phrases). Fixed typo.
tbarzic 2013/05/24 22:40:03 oh, yeah.. sorry :)
+// * 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.

Powered by Google App Engine
This is Rietveld 408576698