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 #ifndef CHROME_BROWSER_CHROMEOS_PROXY_CROS_SETTINGS_PARSER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_PROXY_CROS_SETTINGS_PARSER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_PROXY_CROS_SETTINGS_PARSER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_PROXY_CROS_SETTINGS_PARSER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | |
11 #include <string> | 10 #include <string> |
12 | 11 |
13 namespace base { | 12 namespace base { |
14 class Value; | 13 class Value; |
15 } | 14 } |
16 | 15 |
17 namespace chromeos { | 16 namespace chromeos { |
18 | 17 |
19 class UIProxyConfigService; | 18 class UIProxyConfigService; |
20 | 19 |
(...skipping 28 matching lines...) Expand all Loading... |
49 // Sets a value in the current proxy configuration on the specified profile. | 48 // Sets a value in the current proxy configuration on the specified profile. |
50 void SetProxyPrefValue(const std::string& network_guid, | 49 void SetProxyPrefValue(const std::string& network_guid, |
51 const std::string& path, | 50 const std::string& path, |
52 const base::Value* in_value, | 51 const base::Value* in_value, |
53 UIProxyConfigService* config_service); | 52 UIProxyConfigService* config_service); |
54 | 53 |
55 // Gets a value from the current proxy configuration on the specified profile. | 54 // Gets a value from the current proxy configuration on the specified profile. |
56 bool GetProxyPrefValue(const std::string& network_guid, | 55 bool GetProxyPrefValue(const std::string& network_guid, |
57 const std::string& path, | 56 const std::string& path, |
58 UIProxyConfigService* config_service, | 57 UIProxyConfigService* config_service, |
59 std::unique_ptr<base::Value>* out_value); | 58 base::Value** out_value); |
60 | 59 |
61 } // namespace proxy_cros_settings_parser | 60 } // namespace proxy_cros_settings_parser |
62 | 61 |
63 } // namespace chromeos | 62 } // namespace chromeos |
64 | 63 |
65 #endif // CHROME_BROWSER_CHROMEOS_PROXY_CROS_SETTINGS_PARSER_H_ | 64 #endif // CHROME_BROWSER_CHROMEOS_PROXY_CROS_SETTINGS_PARSER_H_ |
OLD | NEW |