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

Unified Diff: chromeos/network/network_activation_handler.h

Issue 23532065: Add NetworkState::RequiresActivation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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: chromeos/network/network_activation_handler.h
diff --git a/chromeos/network/network_activation_handler.h b/chromeos/network/network_activation_handler.h
index f15c73d1f23dec1dac7a70fce3c2783219ef0518..80f59cfd8a233c1e61941035361d319fdb0926d8 100644
--- a/chromeos/network/network_activation_handler.h
+++ b/chromeos/network/network_activation_handler.h
@@ -14,6 +14,8 @@
namespace chromeos {
+class NetworkState;
+
// The NetworkActivationHandler class allows making service specific
// calls required for activation on mobile networks.
class CHROMEOS_EXPORT NetworkActivationHandler
@@ -48,6 +50,9 @@ class CHROMEOS_EXPORT NetworkActivationHandler
const base::Closure& success_callback,
const network_handler::ErrorCallback& error_callback);
+ // Returns true, if the network requires a service activation.
+ static bool NetworkRequiresActivation(const NetworkState* network);
+
private:
friend class NetworkHandler;

Powered by Google App Engine
This is Rietveld 408576698