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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/proxy_cros_settings_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/proxy_cros_settings_parser.h
diff --git a/chrome/browser/chromeos/proxy_cros_settings_parser.h b/chrome/browser/chromeos/proxy_cros_settings_parser.h
index 7d79156f82e75e8b6838e034b688cf8d11686748..7d427fb4554b8828131df279fb94fb8b3ab1af96 100644
--- a/chrome/browser/chromeos/proxy_cros_settings_parser.h
+++ b/chrome/browser/chromeos/proxy_cros_settings_parser.h
@@ -7,6 +7,7 @@
#include <stddef.h>
+#include <memory>
#include <string>
namespace base {
@@ -55,7 +56,7 @@ void SetProxyPrefValue(const std::string& network_guid,
bool GetProxyPrefValue(const std::string& network_guid,
const std::string& path,
UIProxyConfigService* config_service,
- base::Value** out_value);
+ std::unique_ptr<base::Value>* out_value);
} // namespace proxy_cros_settings_parser
« 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