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

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

Issue 2820823005: Revert of Stop passing raw pointers to base::Value API in c/b/ui (Closed)
Patch Set: 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>
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
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_
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