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

Unified Diff: chrome/browser/chromeos/net/cros_network_change_notifier_factory.h

Issue 8423077: chromeos: Split NetworkChangeNotifierChromeos initialization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 9 years, 1 month 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/net/cros_network_change_notifier_factory.h
diff --git a/chrome/browser/chromeos/net/cros_network_change_notifier_factory.h b/chrome/browser/chromeos/net/cros_network_change_notifier_factory.h
index 73c76637bf2c42c13fca75db00139bfb9f2139a3..c0ff6184edbf8a697e7f87f7e8c8524d67e2c60a 100644
--- a/chrome/browser/chromeos/net/cros_network_change_notifier_factory.h
+++ b/chrome/browser/chromeos/net/cros_network_change_notifier_factory.h
@@ -11,7 +11,7 @@
namespace chromeos {
-class NetworkChangeNotifier;
+class NetworkChangeNotifierChromeos;
// CrosNetworkChangeNotifierFactory creates ChromeOS-specific specialization of
// NetworkChangeNotifier.
@@ -22,6 +22,10 @@ class CrosNetworkChangeNotifierFactory
// Overrides of net::NetworkChangeNotifierFactory.
virtual net::NetworkChangeNotifier* CreateInstance() OVERRIDE;
+
+ // Gets the instance of the NetworkChangeNotifier for Chrome OS.
+ // This is used for setting up the notifier at startup.
+ static NetworkChangeNotifierChromeos* GetInstance();
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698