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

Unified Diff: components/safe_json/safe_json_parser_impl.h

Issue 2483013002: Mojo C++ bindings: Remove more use_new_wrapper_types=false. (Closed)
Patch Set: . Created 4 years, 1 month 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 | « components/safe_json/public/interfaces/BUILD.gn ('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 625e52f96b8b2418c76aa5d2558d0a322050a21c..9fa583c953a1bb1f5958ca11ac9129bd9327737d 100644
--- a/components/safe_json/safe_json_parser_impl.h
+++ b/components/safe_json/safe_json_parser_impl.h
@@ -40,7 +40,8 @@ class SafeJsonParserImpl : public SafeJsonParser {
void OnConnectionError();
// mojom::SafeJsonParser::Parse callback.
- void OnParseDone(const base::ListValue& wrapper, mojo::String error);
+ void OnParseDone(const base::ListValue& wrapper,
+ const base::Optional<std::string>& error);
// Reports the result on the calling task runner via the |success_callback_|
// or the |error_callback_|.
« no previous file with comments | « components/safe_json/public/interfaces/BUILD.gn ('k') | components/safe_json/safe_json_parser_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698