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/ui/app_list/search/common/webservice_cache.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
Index: chrome/browser/ui/app_list/search/common/webservice_cache.h
diff --git a/chrome/browser/ui/app_list/search/common/webservice_cache.h b/chrome/browser/ui/app_list/search/common/webservice_cache.h
index d9f67ca541016b4497682e7f917977ae421904ca..425c38a4da73c23c7c1d4ede7fa0db9f3b3608f1 100644
--- a/chrome/browser/ui/app_list/search/common/webservice_cache.h
+++ b/chrome/browser/ui/app_list/search/common/webservice_cache.h
@@ -88,7 +88,8 @@ class WebserviceCache : public KeyedService,
// Returns a dictionary value for a given payload. The returned dictionary
// will be owned by the data_store_ cached_dict, and freed on the destruction
// of our dictionary datastore.
- base::DictionaryValue* DictFromPayload(const Payload& payload);
+ std::unique_ptr<base::DictionaryValue> DictFromPayload(
+ const Payload& payload);
// Trims our MRU cache, making sure that any element that is removed is also
// removed from the dictionary data store.
« no previous file with comments | « chrome/browser/chromeos/proxy_cros_settings_parser.cc ('k') | chrome/browser/ui/app_list/search/common/webservice_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698