Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1033)

Side by Side Diff: chrome/browser/chromeos/proxy_cros_settings_parser.h

Issue 2812953002: Stop passing raw pointers to base::Value API in c/b/ui (Closed)
Patch Set: No ListValue::SetDouble Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/proxy_cros_settings_parser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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>
10 #include <string> 11 #include <string>
11 12
12 namespace base { 13 namespace base {
13 class Value; 14 class Value;
14 } 15 }
15 16
16 namespace chromeos { 17 namespace chromeos {
17 18
18 class UIProxyConfigService; 19 class UIProxyConfigService;
19 20
(...skipping 28 matching lines...) Expand all
48 // Sets a value in the current proxy configuration on the specified profile. 49 // Sets a value in the current proxy configuration on the specified profile.
49 void SetProxyPrefValue(const std::string& network_guid, 50 void SetProxyPrefValue(const std::string& network_guid,
50 const std::string& path, 51 const std::string& path,
51 const base::Value* in_value, 52 const base::Value* in_value,
52 UIProxyConfigService* config_service); 53 UIProxyConfigService* config_service);
53 54
54 // Gets a value from the current proxy configuration on the specified profile. 55 // Gets a value from the current proxy configuration on the specified profile.
55 bool GetProxyPrefValue(const std::string& network_guid, 56 bool GetProxyPrefValue(const std::string& network_guid,
56 const std::string& path, 57 const std::string& path,
57 UIProxyConfigService* config_service, 58 UIProxyConfigService* config_service,
58 base::Value** out_value); 59 std::unique_ptr<base::Value>* out_value);
59 60
60 } // namespace proxy_cros_settings_parser 61 } // namespace proxy_cros_settings_parser
61 62
62 } // namespace chromeos 63 } // namespace chromeos
63 64
64 #endif // CHROME_BROWSER_CHROMEOS_PROXY_CROS_SETTINGS_PARSER_H_ 65 #endif // CHROME_BROWSER_CHROMEOS_PROXY_CROS_SETTINGS_PARSER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/proxy_cros_settings_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698