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

Unified Diff: components/safe_json/safe_json_parser_impl.cc

Issue 2558613002: Changed the SafeJsonParser connection error message. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_json/safe_json_parser_impl.cc
diff --git a/components/safe_json/safe_json_parser_impl.cc b/components/safe_json/safe_json_parser_impl.cc
index 52bd0a3d4c2b944194bb30b71cf6d7672e9eec04..eadb80c8365ef15b43215e174e18b3ae8e978530 100644
--- a/components/safe_json/safe_json_parser_impl.cc
+++ b/components/safe_json/safe_json_parser_impl.cc
@@ -56,8 +56,9 @@ void SafeJsonParserImpl::OnConnectionError() {
mojo_json_parser_.reset();
caller_task_runner_->PostTask(
- FROM_HERE, base::Bind(&SafeJsonParserImpl::ReportResults,
- base::Unretained(this), nullptr, "Json error"));
+ FROM_HERE,
+ base::Bind(&SafeJsonParserImpl::ReportResults, base::Unretained(this),
+ nullptr, "Connection error with the json parser process."));
}
void SafeJsonParserImpl::OnParseDone(const base::ListValue& wrapper,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698