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

Unified Diff: chrome/browser/supervised_user/experimental/supervised_user_async_url_checker.h

Issue 690423003: Supervised user SafeSites: Expose & use API key from src-internal (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 | « no previous file | chrome/browser/supervised_user/experimental/supervised_user_async_url_checker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/supervised_user/experimental/supervised_user_async_url_checker.h
diff --git a/chrome/browser/supervised_user/experimental/supervised_user_async_url_checker.h b/chrome/browser/supervised_user/experimental/supervised_user_async_url_checker.h
index ee8132fa544179a7adc848f4333a2063bd53716b..f38b3c9160538eb89e8c480122cd817debf8fa40 100644
--- a/chrome/browser/supervised_user/experimental/supervised_user_async_url_checker.h
+++ b/chrome/browser/supervised_user/experimental/supervised_user_async_url_checker.h
@@ -32,11 +32,9 @@ class SupervisedUserAsyncURLChecker : net::URLFetcherDelegate {
CheckCallback;
SupervisedUserAsyncURLChecker(net::URLRequestContextGetter* context,
- const std::string& cx,
- const std::string& api_key);
+ const std::string& cx);
SupervisedUserAsyncURLChecker(net::URLRequestContextGetter* context,
const std::string& cx,
- const std::string& api_key,
size_t cache_size);
virtual ~SupervisedUserAsyncURLChecker();
@@ -52,14 +50,11 @@ class SupervisedUserAsyncURLChecker : net::URLFetcherDelegate {
bool uncertain;
};
- void SetApiKey(const std::string& api_key);
-
// net::URLFetcherDelegate implementation.
virtual void OnURLFetchComplete(const net::URLFetcher* source) override;
net::URLRequestContextGetter* context_;
std::string cx_;
- std::string api_key_;
ScopedVector<Check> checks_in_progress_;
« no previous file with comments | « no previous file | chrome/browser/supervised_user/experimental/supervised_user_async_url_checker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698