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

Unified Diff: components/safe_json/safe_json_parser.h

Issue 2076163002: Migrate SequencedTaskRunnerHandle calls to TaskRunnerHandle calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mix_c_Ab_1_scheduler_support_parallelTRH
Patch Set: Created 4 years, 6 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 | « components/safe_json/json_sanitizer_android.cc ('k') | components/safe_json/safe_json_parser_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_json/safe_json_parser.h
diff --git a/components/safe_json/safe_json_parser.h b/components/safe_json/safe_json_parser.h
index 6b66ba431b6a7a9f283e21534152cdef43439e9c..0958f1b7f96fdee395b149be99e46bb8d524b347 100644
--- a/components/safe_json/safe_json_parser.h
+++ b/components/safe_json/safe_json_parser.h
@@ -19,8 +19,8 @@ namespace safe_json {
// SafeJsonParser parses a given JSON safely via a platform-dependent mechanism
// (like parsing it in a utility process or in a memory-safe environment).
// Internally, an instance of this class is created when Parse() is called and
-// is kept alive until one of the two callbacks is called, after which it
-// deletes itself.
+// is kept alive until one of the two callbacks is executed on the original
+// caller's TaskRunner, after which it deletes itself.
class SafeJsonParser {
public:
using SuccessCallback = base::Callback<void(std::unique_ptr<base::Value>)>;
« no previous file with comments | « components/safe_json/json_sanitizer_android.cc ('k') | components/safe_json/safe_json_parser_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698