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

Unified Diff: components/safe_json/safe_json_parser_impl.h

Issue 2803023005: Switch base::Value typemapping to be by value instead of by unique_ptr.
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/utility/profile_import_handler.cc ('k') | components/safe_json/safe_json_parser_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_json/safe_json_parser_impl.h
diff --git a/components/safe_json/safe_json_parser_impl.h b/components/safe_json/safe_json_parser_impl.h
index 03ac99563f52e61816884f16a87dbafbdacbf77c..61edfe6999a37d9c1e87111fed6e661af6100eb0 100644
--- a/components/safe_json/safe_json_parser_impl.h
+++ b/components/safe_json/safe_json_parser_impl.h
@@ -39,7 +39,7 @@ class SafeJsonParserImpl : public SafeJsonParser {
void OnConnectionError();
// mojom::SafeJsonParser::Parse callback.
- void OnParseDone(std::unique_ptr<base::Value> result,
+ void OnParseDone(const base::Optional<base::Value>& result,
const base::Optional<std::string>& error);
// Reports the result on the calling task runner via the |success_callback_|
« no previous file with comments | « chrome/utility/profile_import_handler.cc ('k') | components/safe_json/safe_json_parser_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698