| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #include "chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h" | 5 #include "chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h" |
| 6 | 6 |
| 7 #include "ash/common/system/chromeos/devicetype_utils.h" | 7 #include "ash/system/devicetype_utils.h" |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/guid.h" | 10 #include "base/guid.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/metrics/histogram_macros.h" | 12 #include "base/metrics/histogram_macros.h" |
| 13 #include "base/stl_util.h" | 13 #include "base/stl_util.h" |
| 14 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
| 15 #include "base/task_scheduler/post_task.h" | 15 #include "base/task_scheduler/post_task.h" |
| 16 #include "base/values.h" | 16 #include "base/values.h" |
| 17 #include "chrome/browser/browser_process.h" | 17 #include "chrome/browser/browser_process.h" |
| (...skipping 953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 971 SigninScreenHandlerDelegate* GaiaScreenHandler::Delegate() { | 971 SigninScreenHandlerDelegate* GaiaScreenHandler::Delegate() { |
| 972 return signin_screen_handler_->delegate_; | 972 return signin_screen_handler_->delegate_; |
| 973 } | 973 } |
| 974 | 974 |
| 975 bool GaiaScreenHandler::IsRestrictiveProxy() const { | 975 bool GaiaScreenHandler::IsRestrictiveProxy() const { |
| 976 return !disable_restrictive_proxy_check_for_test_ && | 976 return !disable_restrictive_proxy_check_for_test_ && |
| 977 !IsOnline(captive_portal_status_); | 977 !IsOnline(captive_portal_status_); |
| 978 } | 978 } |
| 979 | 979 |
| 980 } // namespace chromeos | 980 } // namespace chromeos |
| OLD | NEW |