| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROMEOS_NETWORK_ONC_ONC_UTILS_H_ | 5 #ifndef CHROMEOS_NETWORK_ONC_ONC_UTILS_H_ |
| 6 #define CHROMEOS_NETWORK_ONC_ONC_UTILS_H_ | 6 #define CHROMEOS_NETWORK_ONC_ONC_UTILS_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "chromeos/chromeos_export.h" | 15 #include "chromeos/chromeos_export.h" |
| 16 #include "chromeos/network/network_type_pattern.h" | 16 #include "chromeos/network/network_type_pattern.h" |
| 17 #include "components/onc/onc_constants.h" | 17 #include "components/onc/onc_constants.h" |
| 18 | 18 |
| 19 namespace base { | 19 namespace base { |
| 20 class DictionaryValue; | 20 class DictionaryValue; |
| 21 class ListValue; | 21 class ListValue; |
| 22 } | 22 } |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 // Translates |proxy_config_value|, which must be a valid ProxyConfig dictionary | 154 // Translates |proxy_config_value|, which must be a valid ProxyConfig dictionary |
| 155 // (see proxy_config_dictionary.h) to an ONC ProxySettings dictionary. | 155 // (see proxy_config_dictionary.h) to an ONC ProxySettings dictionary. |
| 156 CHROMEOS_EXPORT scoped_ptr<base::DictionaryValue> | 156 CHROMEOS_EXPORT scoped_ptr<base::DictionaryValue> |
| 157 ConvertProxyConfigToOncProxySettings( | 157 ConvertProxyConfigToOncProxySettings( |
| 158 const base::DictionaryValue& proxy_config_value); | 158 const base::DictionaryValue& proxy_config_value); |
| 159 | 159 |
| 160 } // namespace onc | 160 } // namespace onc |
| 161 } // namespace chromeos | 161 } // namespace chromeos |
| 162 | 162 |
| 163 #endif // CHROMEOS_NETWORK_ONC_ONC_UTILS_H_ | 163 #endif // CHROMEOS_NETWORK_ONC_ONC_UTILS_H_ |
| OLD | NEW |