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

Unified Diff: components/sync/device_info/device_info.h

Issue 2287733002: Switch //components away from base::ListValue::Append(Value*) overload. (Closed)
Patch Set: Test fix Created 4 years, 4 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
Index: components/sync/device_info/device_info.h
diff --git a/components/sync/device_info/device_info.h b/components/sync/device_info/device_info.h
index 638020771e350558fdfe770de650d7c50f5deacd..664741e3ee1941c0cd66b90db95417d6ce135333 100644
--- a/components/sync/device_info/device_info.h
+++ b/components/sync/device_info/device_info.h
@@ -72,7 +72,7 @@ class DeviceInfo {
// Converts the |DeviceInfo| values to a JS friendly DictionaryValue,
// which extension APIs can expose to third party apps.
- base::DictionaryValue* ToValue();
+ std::unique_ptr<base::DictionaryValue> ToValue();
private:
const std::string guid_;

Powered by Google App Engine
This is Rietveld 408576698