| 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/system/chromeos/devicetype_utils.h" | 7 #include "ash/common/system/chromeos/devicetype_utils.h" |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/guid.h" | 9 #include "base/guid.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/metrics/histogram.h" | 11 #include "base/metrics/histogram.h" |
| 12 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
| 13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
| 14 #include "base/values.h" | 14 #include "base/values.h" |
| 15 #include "chrome/browser/browser_process.h" | 15 #include "chrome/browser/browser_process.h" |
| 16 #include "chrome/browser/browser_shutdown.h" | 16 #include "chrome/browser/browser_shutdown.h" |
| 17 #include "chrome/browser/chromeos/input_method/input_method_util.h" | 17 #include "chrome/browser/chromeos/input_method/input_method_util.h" |
| (...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 839 bool GaiaScreenHandler::IsRestrictiveProxy() const { | 839 bool GaiaScreenHandler::IsRestrictiveProxy() const { |
| 840 return !disable_restrictive_proxy_check_for_test_ && | 840 return !disable_restrictive_proxy_check_for_test_ && |
| 841 !IsOnline(captive_portal_status_); | 841 !IsOnline(captive_portal_status_); |
| 842 } | 842 } |
| 843 | 843 |
| 844 void GaiaScreenHandler::DisableRestrictiveProxyCheckForTest() { | 844 void GaiaScreenHandler::DisableRestrictiveProxyCheckForTest() { |
| 845 disable_restrictive_proxy_check_for_test_ = true; | 845 disable_restrictive_proxy_check_for_test_ = true; |
| 846 } | 846 } |
| 847 | 847 |
| 848 } // namespace chromeos | 848 } // namespace chromeos |
| OLD | NEW |