Index: chrome/browser/chromeos/net/network_portal_detector_impl.h |
diff --git a/chrome/browser/chromeos/net/network_portal_detector_impl.h b/chrome/browser/chromeos/net/network_portal_detector_impl.h |
index 7dcf93d0520b08393d8244fce68eb9fa4a7e59aa..a0ea7f83989349ee97c33e0ea1f0dcc87d060d36 100644 |
--- a/chrome/browser/chromeos/net/network_portal_detector_impl.h |
+++ b/chrome/browser/chromeos/net/network_portal_detector_impl.h |
@@ -38,15 +38,16 @@ namespace chromeos { |
class NetworkPortalNotificationController; |
class NetworkState; |
+void InitializeNetworkPortalDetector(net::URLRequestContextGetter* url_context); |
+ |
// This class handles all notifications about network changes from |
// NetworkStateHandler and delegates portal detection for the default |
// network to CaptivePortalService. |
-class NetworkPortalDetectorImpl |
- : public NetworkPortalDetector, |
- public base::NonThreadSafe, |
- public chromeos::NetworkStateHandlerObserver, |
- public content::NotificationObserver, |
- public PortalDetectorStrategy::Delegate { |
+class NetworkPortalDetectorImpl : public NetworkPortalDetectorInterface, |
+ public base::NonThreadSafe, |
+ public chromeos::NetworkStateHandlerObserver, |
+ public content::NotificationObserver, |
+ public PortalDetectorStrategy::Delegate { |
public: |
static const char kOobeDetectionResultHistogram[]; |
static const char kOobeDetectionDurationHistogram[]; |
@@ -62,9 +63,6 @@ class NetworkPortalDetectorImpl |
static const char kSessionShillOfflineHistogram[]; |
static const char kSessionPortalToOnlineHistogram[]; |
- // Creates an instance of the implementation or a stub. |
- static void Initialize(net::URLRequestContextGetter* url_context); |
- |
NetworkPortalDetectorImpl( |
const scoped_refptr<net::URLRequestContextGetter>& request_context, |
bool create_notification_controller); |