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

Side by Side Diff: chrome/browser/chromeos/net/network_portal_detector_impl.h

Issue 23618026: NOT FOR SUBMIT: Remove NetworkLibrary (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_NET_NETWORK_PORTAL_DETECTOR_IMPL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_NET_NETWORK_PORTAL_DETECTOR_IMPL_H_
6 #define CHROME_BROWSER_CHROMEOS_NET_NETWORK_PORTAL_DETECTOR_IMPL_H_ 6 #define CHROME_BROWSER_CHROMEOS_NET_NETWORK_PORTAL_DETECTOR_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 16 matching lines...) Expand all
27 27
28 namespace net { 28 namespace net {
29 class URLRequestContextGetter; 29 class URLRequestContextGetter;
30 } 30 }
31 31
32 namespace chromeos { 32 namespace chromeos {
33 33
34 class NetworkState; 34 class NetworkState;
35 35
36 // This class handles all notifications about network changes from 36 // This class handles all notifications about network changes from
37 // NetworkLibrary and delegates portal detection for the default 37 // NetworkStateHandler and delegates portal detection for the default
38 // network to CaptivePortalService. 38 // network to CaptivePortalService.
39 class NetworkPortalDetectorImpl 39 class NetworkPortalDetectorImpl
40 : public NetworkPortalDetector, 40 : public NetworkPortalDetector,
41 public base::NonThreadSafe, 41 public base::NonThreadSafe,
42 public chromeos::NetworkStateHandlerObserver, 42 public chromeos::NetworkStateHandlerObserver,
43 public content::NotificationObserver { 43 public content::NotificationObserver {
44 public: 44 public:
45 explicit NetworkPortalDetectorImpl( 45 explicit NetworkPortalDetectorImpl(
46 const scoped_refptr<net::URLRequestContextGetter>& request_context); 46 const scoped_refptr<net::URLRequestContextGetter>& request_context);
47 virtual ~NetworkPortalDetectorImpl(); 47 virtual ~NetworkPortalDetectorImpl();
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 bool request_timeout_for_testing_initialized_; 249 bool request_timeout_for_testing_initialized_;
250 250
251 content::NotificationRegistrar registrar_; 251 content::NotificationRegistrar registrar_;
252 252
253 DISALLOW_COPY_AND_ASSIGN(NetworkPortalDetectorImpl); 253 DISALLOW_COPY_AND_ASSIGN(NetworkPortalDetectorImpl);
254 }; 254 };
255 255
256 } // namespace chromeos 256 } // namespace chromeos
257 257
258 #endif // CHROME_BROWSER_CHROMEOS_NET_NETWORK_PORTAL_DETECTOR_IMPL_H_ 258 #endif // CHROME_BROWSER_CHROMEOS_NET_NETWORK_PORTAL_DETECTOR_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/net/network_portal_detector.h ('k') | chrome/browser/chromeos/options/wimax_config_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698