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

Unified Diff: ios/chrome/browser/interstitials/ios_chrome_controller_client.h

Issue 2303413002: Simplify security_interstitials::ControllerClient and other related classes (Closed)
Patch Set: Jialiu comments Created 4 years, 3 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
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 ad38b8c037dee85da9d176874ed2d9c87c43adab..fb4f83e975b7e182cf1a5b11a82f3f3c1407c907 100644
--- a/ios/chrome/browser/interstitials/ios_chrome_controller_client.h
+++ b/ios/chrome/browser/interstitials/ios_chrome_controller_client.h
@@ -12,6 +12,10 @@
class GURL;
+namespace security_interstitials {
+class MetricsHelper;
+}
+
namespace web {
class WebInterstitial;
class WebState;
@@ -21,7 +25,9 @@ class WebState;
class IOSChromeControllerClient
: public security_interstitials::ControllerClient {
public:
- explicit IOSChromeControllerClient(web::WebState* web_state);
+ IOSChromeControllerClient(
+ web::WebState* web_state,
+ std::unique_ptr<security_interstitials::MetricsHelper> metrics_helper);
~IOSChromeControllerClient() override;
void SetWebInterstitial(web::WebInterstitial* web_interstitial);

Powered by Google App Engine
This is Rietveld 408576698