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

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

Issue 753683004: Revert of Supervised user SafeSites: Expose & use API key from src-internal (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « chrome/browser/supervised_user/supervised_user_url_filter.h ('k') | google_apis/google_api_keys.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/supervised_user/supervised_user_url_filter.cc
diff --git a/chrome/browser/supervised_user/supervised_user_url_filter.cc b/chrome/browser/supervised_user/supervised_user_url_filter.cc
index 4602dc1c521e2a3cda9274676b0676f75aee60ff..d82bd9bed5b1ef9bb295d55577ed054c4ec01e84 100644
--- a/chrome/browser/supervised_user/supervised_user_url_filter.cc
+++ b/chrome/browser/supervised_user/supervised_user_url_filter.cc
@@ -419,8 +419,10 @@
void SupervisedUserURLFilter::InitAsyncURLChecker(
net::URLRequestContextGetter* context,
- const std::string& cx) {
- async_url_checker_.reset(new SupervisedUserAsyncURLChecker(context, cx));
+ const std::string& cx,
+ const std::string& api_key) {
+ async_url_checker_.reset(new SupervisedUserAsyncURLChecker(
+ context, cx, api_key));
}
bool SupervisedUserURLFilter::HasAsyncURLChecker() const {
« no previous file with comments | « chrome/browser/supervised_user/supervised_user_url_filter.h ('k') | google_apis/google_api_keys.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698