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

Unified Diff: components/safe_json/safe_json_parser_impl.h

Issue 2577563002: Add struct traits for base::Value. (Closed)
Patch Set: rebase Created 4 years 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/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 9fa583c953a1bb1f5958ca11ac9129bd9327737d..03ac99563f52e61816884f16a87dbafbdacbf77c 100644
--- a/components/safe_json/safe_json_parser_impl.h
+++ b/components/safe_json/safe_json_parser_impl.h
@@ -17,7 +17,6 @@
#include "content/public/browser/utility_process_mojo_client.h"
namespace base {
-class ListValue;
class SequencedTaskRunner;
class Value;
}
@@ -40,7 +39,7 @@ class SafeJsonParserImpl : public SafeJsonParser {
void OnConnectionError();
// mojom::SafeJsonParser::Parse callback.
- void OnParseDone(const base::ListValue& wrapper,
+ void OnParseDone(std::unique_ptr<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 | « components/safe_json/public/interfaces/safe_json.typemap ('k') | components/safe_json/safe_json_parser_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698