| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/chromeos/proxy_config_service_impl.h" | 5 #include "chrome/browser/chromeos/proxy_config_service_impl.h" |
| 6 | 6 |
| 7 #include <ostream> | 7 #include <ostream> |
| 8 | 8 |
| 9 #include "base/bind.h" | |
| 10 #include "base/json/json_value_serializer.h" | 9 #include "base/json/json_value_serializer.h" |
| 11 #include "base/logging.h" | 10 #include "base/logging.h" |
| 12 #include "base/string_util.h" | 11 #include "base/string_util.h" |
| 13 #include "chrome/browser/chromeos/cros/cros_library.h" | 12 #include "chrome/browser/chromeos/cros/cros_library.h" |
| 14 #include "chrome/browser/chromeos/cros_settings_names.h" | 13 #include "chrome/browser/chromeos/cros_settings_names.h" |
| 15 #include "chrome/browser/chromeos/login/user_manager.h" | 14 #include "chrome/browser/chromeos/login/user_manager.h" |
| 16 #include "chrome/browser/policy/proto/chrome_device_policy.pb.h" | 15 #include "chrome/browser/policy/proto/chrome_device_policy.pb.h" |
| 17 #include "chrome/browser/prefs/pref_service.h" | 16 #include "chrome/browser/prefs/pref_service.h" |
| 18 #include "chrome/browser/prefs/proxy_config_dictionary.h" | 17 #include "chrome/browser/prefs/proxy_config_dictionary.h" |
| 19 #include "chrome/browser/prefs/proxy_prefs.h" | 18 #include "chrome/browser/prefs/proxy_prefs.h" |
| (...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 764 << ", " << ConfigStateToString(current_ui_config_.state) | 763 << ", " << ConfigStateToString(current_ui_config_.state) |
| 765 << ", modifiable:" << current_ui_config_.user_modifiable; | 764 << ", modifiable:" << current_ui_config_.user_modifiable; |
| 766 } | 765 } |
| 767 | 766 |
| 768 void ProxyConfigServiceImpl::ResetUICache() { | 767 void ProxyConfigServiceImpl::ResetUICache() { |
| 769 current_ui_network_.clear(); | 768 current_ui_network_.clear(); |
| 770 current_ui_config_ = ProxyConfig(); | 769 current_ui_config_ = ProxyConfig(); |
| 771 } | 770 } |
| 772 | 771 |
| 773 } // namespace chromeos | 772 } // namespace chromeos |
| OLD | NEW |