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

Unified Diff: components/devtools_http_handler/devtools_http_handler.h

Issue 2287733002: Switch //components away from base::ListValue::Append(Value*) overload. (Closed)
Patch Set: rebase 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/devtools_http_handler/devtools_http_handler.h
diff --git a/components/devtools_http_handler/devtools_http_handler.h b/components/devtools_http_handler/devtools_http_handler.h
index 559fc442a232ecd89e0f75df6684b73e5f2abb04..0faa8580bd81c312fbf493bf4dde98ac8ee8a006 100644
--- a/components/devtools_http_handler/devtools_http_handler.h
+++ b/components/devtools_http_handler/devtools_http_handler.h
@@ -123,7 +123,7 @@ class DevToolsHttpHandler {
std::string GetFrontendURLInternal(const std::string& target_id,
const std::string& host);
- base::DictionaryValue* SerializeDescriptor(
+ std::unique_ptr<base::DictionaryValue> SerializeDescriptor(
scoped_refptr<content::DevToolsAgentHost> agent_host,
const std::string& host);

Powered by Google App Engine
This is Rietveld 408576698