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

Unified Diff: components/security_interstitials/core/controller_client.h

Issue 2603433002: Move SecurityInterstitialPage into component (Closed)
Patch Set: fix ios compilation problem Created 4 years 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: components/security_interstitials/core/controller_client.h
diff --git a/components/security_interstitials/core/controller_client.h b/components/security_interstitials/core/controller_client.h
index 8acbf35458d2165ac36d1044e76b0cb1bc7dd179..cd580ce26297535e30f33d7270dc1717cb0dcbe3 100644
--- a/components/security_interstitials/core/controller_client.h
+++ b/components/security_interstitials/core/controller_client.h
@@ -87,11 +87,12 @@ class ControllerClient {
virtual void OpenUrlInCurrentTab(const GURL& url) = 0;
- virtual PrefService* GetPrefService() = 0;
+ virtual PrefService* GetPrefService() const = 0;
+
+ virtual const std::string& GetApplicationLocale() const = 0;
protected:
- virtual const std::string& GetApplicationLocale() = 0;
- virtual const std::string GetExtendedReportingPrefName() = 0;
+ virtual const std::string GetExtendedReportingPrefName() const = 0;
private:
std::unique_ptr<MetricsHelper> metrics_helper_;

Powered by Google App Engine
This is Rietveld 408576698