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

Unified Diff: net/android/network_change_notifier_factory.h

Issue 10693068: Refactor Android's NetworckChangeNotifier. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | « net/android/network_change_notifier_android.cc ('k') | net/android/network_change_notifier_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/android/network_change_notifier_factory.h
diff --git a/net/android/network_change_notifier_factory.h b/net/android/network_change_notifier_factory.h
index db51aa2c0b8bf292d16e227ed64bfbae8cc39bb5..e6826ecc250ad53ebb7eabb5529f5069fd23a178 100644
--- a/net/android/network_change_notifier_factory.h
+++ b/net/android/network_change_notifier_factory.h
@@ -15,11 +15,14 @@ class NetworkChangeNotifier;
namespace android {
-// NetworkChangeNotifierFactory creates Android-specific specialization of
-// NetworkChangeNotifier.
+class NetworkChangeNotifier;
+
+// NetworkChangeNotifierFactory creates a sinfleton Android-specific
Ryan Sleevi 2012/07/02 16:12:21 sinfleton -> singleton
+// specialization of NetworkChangeNotifier.
class NetworkChangeNotifierFactory : public net::NetworkChangeNotifierFactory {
public:
NetworkChangeNotifierFactory();
+ static NetworkChangeNotifier* GetInstance();
// Overrides of net::NetworkChangeNotifierFactory.
virtual net::NetworkChangeNotifier* CreateInstance() OVERRIDE;
« no previous file with comments | « net/android/network_change_notifier_android.cc ('k') | net/android/network_change_notifier_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698