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

Unified Diff: ios/chrome/browser/interstitials/ios_chrome_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: ios/chrome/browser/interstitials/ios_chrome_controller_client.h
diff --git a/ios/chrome/browser/interstitials/ios_chrome_controller_client.h b/ios/chrome/browser/interstitials/ios_chrome_controller_client.h
index f92aa7f8ca332c8237dd2f026beec75fe150b4ef..53f0eba8cc08961288d6ce5b7dac3299042478dc 100644
--- a/ios/chrome/browser/interstitials/ios_chrome_controller_client.h
+++ b/ios/chrome/browser/interstitials/ios_chrome_controller_client.h
@@ -41,9 +41,9 @@ class IOSChromeControllerClient
void Proceed() override;
void Reload() override;
void OpenUrlInCurrentTab(const GURL& url) override;
- const std::string& GetApplicationLocale() override;
- PrefService* GetPrefService() override;
- const std::string GetExtendedReportingPrefName() override;
+ const std::string& GetApplicationLocale() const override;
+ PrefService* GetPrefService() const override;
Eugene But (OOO till 7-30) 2016/12/28 19:02:52 Should |PrefService*| be also const? What if Contr
Jialiu Lin 2016/12/28 19:40:32 We cannot do "const PrefService* GetPrefService()
Eugene But (OOO till 7-30) 2016/12/28 20:01:34 nit: If that's the case then is it fair to make |G
Jialiu Lin 2016/12/28 20:13:40 You're right. Changed GetPrefService() back to non
+ const std::string GetExtendedReportingPrefName() const override;
web::WebState* web_state_;
web::WebInterstitial* web_interstitial_;

Powered by Google App Engine
This is Rietveld 408576698