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

Unified Diff: chrome/browser/supervised_user/supervised_user_site_list.cc

Issue 1211793002: Rename safe_json_parser component to safe_json. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 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
Index: chrome/browser/supervised_user/supervised_user_site_list.cc
diff --git a/chrome/browser/supervised_user/supervised_user_site_list.cc b/chrome/browser/supervised_user/supervised_user_site_list.cc
index 52fc3d8f99ed48a43fe6c6c4f786249f3025aeb2..9c4d547be7314209185967e01a50e91e2267758f 100644
--- a/chrome/browser/supervised_user/supervised_user_site_list.cc
+++ b/chrome/browser/supervised_user/supervised_user_site_list.cc
@@ -10,7 +10,7 @@
#include "base/metrics/histogram_macros.h"
#include "base/task_runner_util.h"
#include "base/values.h"
-#include "components/safe_json_parser/safe_json_parser.h"
+#include "components/safe_json/safe_json_parser.h"
#include "content/public/browser/browser_thread.h"
#include "url/gurl.h"
@@ -156,8 +156,8 @@ void SupervisedUserSiteList::ParseJson(
}
// TODO(bauerb): Use batch mode to load multiple whitelists?
- scoped_refptr<safe_json_parser::SafeJsonParser> parser(
- new safe_json_parser::SafeJsonParser(
+ scoped_refptr<safe_json::SafeJsonParser> parser(
+ new safe_json::SafeJsonParser(
json, base::Bind(&SupervisedUserSiteList::OnJsonParseSucceeded, path,
base::TimeTicks::Now(), callback),
base::Bind(&HandleError, path)));
« no previous file with comments | « chrome/browser/safe_json_parser_browsertest.cc ('k') | chrome/browser/ui/app_list/search/common/json_response_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698