HomeSort by relevance Sort by last modified time
    Searched refs:NetworkPortalDetector (Results 1 - 21 of 21) sorted by null

  /external/chromium_org/chrome/browser/chromeos/net/
network_portal_detector.h 18 class NetworkPortalDetector {
87 // If |start_detection| is true and NetworkPortalDetector was
108 NetworkPortalDetector* network_portal_detector);
110 // Creates an instance of the NetworkPortalDetector.
113 // Deletes the instance of the NetworkPortalDetector.
116 // Gets the instance of the NetworkPortalDetector.
117 static NetworkPortalDetector* Get();
120 NetworkPortalDetector() {}
121 virtual ~NetworkPortalDetector() {}
124 DISALLOW_COPY_AND_ASSIGN(NetworkPortalDetector);
    [all...]
network_portal_detector.cc 19 NetworkPortalDetector* g_network_portal_detector = NULL;
26 // Stub implementation of NetworkPortalDetector.
27 class NetworkPortalDetectorStubImpl : public NetworkPortalDetector {
29 // NetworkPortalDetector implementation:
49 void NetworkPortalDetector::InitializeForTesting(
50 NetworkPortalDetector* network_portal_detector) {
52 << "NetworkPortalDetector::InitializeForTesting() is called after "
60 void NetworkPortalDetector::Initialize() {
64 << "NetworkPortalDetector::Initialize() is called twice";
76 void NetworkPortalDetector::Shutdown()
    [all...]
network_portal_detector_impl_unittest.cc 38 class MockObserver : public NetworkPortalDetector::Observer {
44 const NetworkPortalDetector::CaptivePortalState& state));
81 void CheckPortalState(NetworkPortalDetector::CaptivePortalStatus status,
87 NetworkPortalDetector::CaptivePortalState state =
251 CheckPortalState(NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_UNKNOWN, -1,
257 CheckPortalState(NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_ONLINE, 204,
271 CheckPortalState(NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_PORTAL, 200,
281 CheckPortalState(NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_PORTAL, 301,
291 CheckPortalState(NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_PORTAL, 302,
303 NetworkPortalDetector::CaptivePortalState state
    [all...]
network_portal_detector_test_impl.h 19 class NetworkPortalDetectorTestImpl : public NetworkPortalDetector {
29 // NetworkPortalDetector implementation:
network_portal_detector_test_impl.cc 66 NetworkPortalDetector::CaptivePortalState
network_portal_detector_impl.h 40 : public NetworkPortalDetector,
49 // NetworkPortalDetector implementation:
215 // True if the NetworkPortalDetector is enabled.
  /external/chromium_org/chrome/browser/ui/webui/chromeos/login/
network_state_informer.cc 50 if (NetworkPortalDetector::Get()->IsEnabled()) {
51 NetworkPortalDetector::CaptivePortalState state =
52 NetworkPortalDetector::Get()->GetCaptivePortalState(network);
53 NetworkPortalDetector::CaptivePortalStatus status = state.status;
54 if (status == NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_UNKNOWN &&
59 // NetworkPortalDetector's state of current network is unknown.
60 if (status == NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_ONLINE ||
61 (status == NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_UNKNOWN &&
67 NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_PROXY_AUTH_REQUIRED &&
71 if (status == NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_PORTAL |
    [all...]
network_state_informer.h 31 public chromeos::NetworkPortalDetector::Observer,
67 // NetworkPortalDetector::Observer implementation:
70 const NetworkPortalDetector::CaptivePortalState& state) OVERRIDE;
signin_screen_handler.cc 166 NetworkPortalDetector::CaptivePortalState GetCaptivePortalState(
168 NetworkPortalDetector* detector = NetworkPortalDetector::Get();
172 return NetworkPortalDetector::CaptivePortalState();
178 const NetworkPortalDetector::CaptivePortalStatus status) {
183 NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_COUNT);
188 NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_COUNT);
193 NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_COUNT);
198 // network is online but NetworkPortalDetector claims that it's behind
205 NetworkPortalDetector::CaptivePortalState state
    [all...]
error_screen_handler.cc 51 NetworkPortalDetector::Get()->EnableLazyDetection();
61 NetworkPortalDetector::Get()->DisableLazyDetection();
  /external/chromium_org/chrome/browser/chromeos/login/screens/
update_screen_browsertest.cc 59 NetworkPortalDetector::InitializeForTesting(network_portal_detector_);
60 NetworkPortalDetector::CaptivePortalState online_state;
61 online_state.status = NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_ONLINE;
91 NetworkPortalDetector::Shutdown();
103 const NetworkPortalDetector::CaptivePortalState& state) {
232 NetworkPortalDetector::CaptivePortalState portal_state;
233 portal_state.status = NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_PORTAL;
252 NetworkPortalDetector::CaptivePortalState online_state;
253 online_state.status = NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_ONLINE;
278 NetworkPortalDetector::CaptivePortalState portal_state
    [all...]
update_screen.cc 118 NetworkPortalDetector::Get()->RemoveObserver(this);
238 const NetworkPortalDetector::CaptivePortalState& state) {
246 state.status == NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_UNKNOWN) {
252 state.status == NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_OFFLINE) &&
258 base::IgnoreResult(&NetworkPortalDetector::StartDetectionIfIdle),
259 base::Unretained(NetworkPortalDetector::Get())));
264 NetworkPortalDetector::CaptivePortalStatus status = state.status;
268 if (status == NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_ONLINE)
275 if (status == NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_ONLINE) {
288 if (!NetworkPortalDetector::Get()->IsEnabled() |
    [all...]
update_screen.h 33 public NetworkPortalDetector::Observer {
75 // NetworkPortalDetector::Observer implementation:
78 const NetworkPortalDetector::CaptivePortalState& state) OVERRIDE;
114 const NetworkPortalDetector::CaptivePortalStatus status);
157 // True if there was no notification from NetworkPortalDetector
  /external/chromium_org/chrome/browser/chromeos/login/
captive_portal_window_browsertest.cc 187 NetworkPortalDetector::InitializeForTesting(network_portal_detector_);
188 NetworkPortalDetector::CaptivePortalState portal_state;
189 portal_state.status = NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_PORTAL;
oauth2_login_verifier.cc 73 NetworkPortalDetector* detector = NetworkPortalDetector::Get();
77 NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_ONLINE)) {
kiosk_browsertest.cc 265 NetworkPortalDetector::InitializeForTesting(network_portal_detector_);
412 NetworkPortalDetector::CaptivePortalState offline_state;
413 offline_state.status = NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_OFFLINE;
425 NetworkPortalDetector::CaptivePortalState online_state;
426 online_state.status = NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_ONLINE;
439 NetworkPortalDetector::CaptivePortalState portal_state;
440 portal_state.status = NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_PORTAL;
    [all...]
wizard_controller.cc 621 NetworkPortalDetector::Get()->Enable(true);
  /external/chromium_org/chrome/browser/chromeos/login/managed/
locally_managed_user_creation_screen.cc 53 const NetworkPortalDetector::CaptivePortalStatus status) {
55 case NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_UNKNOWN:
56 case NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_ONLINE:
59 case NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_OFFLINE:
63 case NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_PORTAL:
68 case NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_PROXY_AUTH_REQUIRED:
102 NetworkPortalDetector::Get()->RemoveObserver(this);
122 NetworkPortalDetector::Get()->AddAndFireObserver(this);
132 const NetworkPortalDetector::CaptivePortalState& state) {
133 if (state.status == NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_ONLINE)
    [all...]
locally_managed_user_creation_screen.h 31 public NetworkPortalDetector::Observer {
93 // NetworkPortalDetector::Observer implementation:
96 const NetworkPortalDetector::CaptivePortalState& state) OVERRIDE;
supervised_user_creation_browsertest.cc 67 NetworkPortalDetector::InitializeForTesting(network_portal_detector_);
68 NetworkPortalDetector::CaptivePortalState online_state;
69 online_state.status = NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_ONLINE;
89 NetworkPortalDetector::Shutdown();
  /external/chromium_org/chrome/browser/chromeos/
chrome_browser_main_chromeos.cc 578 // NetworkPortalDetector.
579 NetworkPortalDetector::Initialize();
581 NetworkPortalDetector* detector = NetworkPortalDetector::Get();
757 // parts of WebUI depends on NetworkPortalDetector.
758 NetworkPortalDetector::Shutdown();

Completed in 273 milliseconds