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

Unified Diff: chrome/browser/supervised_user/supervised_user_service.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
Index: chrome/browser/supervised_user/supervised_user_service.h
diff --git a/chrome/browser/supervised_user/supervised_user_service.h b/chrome/browser/supervised_user/supervised_user_service.h
index 0a8571c7b5be145826802e8cf3ee1cb9cda86361..e7ef2abbebddcbbc7028bb734cd5f681cd84e95e 100644
--- a/chrome/browser/supervised_user/supervised_user_service.h
+++ b/chrome/browser/supervised_user/supervised_user_service.h
@@ -91,8 +91,7 @@ class SupervisedUserService : public KeyedService,
// experimental "SafeSites" feature, or the empty string to disable the
// feature.
virtual std::string GetSafeSitesCx() const;
- // Returns a custom Google API key to use for SafeSites, or the empty string
- // to use the default one.
+ // TODO(treib): Unused, remove this!
virtual std::string GetSafeSitesApiKey() const;
Marc Treib 2014/11/13 17:45:40 I'll remove this after removing the downstream imp
};
@@ -230,8 +229,7 @@ class SupervisedUserService : public KeyedService,
void SetManualURLs(scoped_ptr<std::map<GURL, bool> > url_map);
void InitAsyncURLChecker(net::URLRequestContextGetter* context,
- const std::string& cx,
- const std::string& api_key);
+ const std::string& cx);
private:
void OnBlacklistLoaded();

Powered by Google App Engine
This is Rietveld 408576698