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

Unified Diff: ios/public/provider/chrome/browser/chrome_browser_provider.h

Issue 1421733002: Introduce IOSChromeMetricsServicesManagerClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git add client Created 5 years, 2 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
« no previous file with comments | « ios/chrome/ios_chrome.gyp ('k') | ios/public/provider/chrome/browser/chrome_browser_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/public/provider/chrome/browser/chrome_browser_provider.h
diff --git a/ios/public/provider/chrome/browser/chrome_browser_provider.h b/ios/public/provider/chrome/browser/chrome_browser_provider.h
index 83f31fcd5451360ef0a385e3f32430e877d8c480..e17193999b3894eb8f984734370920fb094c4c78 100644
--- a/ios/public/provider/chrome/browser/chrome_browser_provider.h
+++ b/ios/public/provider/chrome/browser/chrome_browser_provider.h
@@ -10,6 +10,7 @@
#include <string>
#include <vector>
+#include "base/callback_forward.h"
#include "components/favicon_base/favicon_callback.h"
class GURL;
@@ -138,6 +139,14 @@ class ChromeBrowserProvider {
const GURL& page_url,
const std::vector<int>& desired_sizes_in_pixel,
const favicon_base::FaviconResultsCallback& callback) const;
+
+ // Returns whether safe browsing is enabled. See the comment on
+ // metrics_services_manager_client.h for details on |on_update_callback|.
+ virtual bool IsSafeBrowsingEnabled(const base::Closure& on_update_callback);
+
+ // Called when the IOSChromeMetricsServiceClientManager instance is
+ // destroyed.
+ virtual void OnMetricsServicesManagerClientDestroyed();
};
} // namespace ios
« no previous file with comments | « ios/chrome/ios_chrome.gyp ('k') | ios/public/provider/chrome/browser/chrome_browser_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698