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

Side by Side Diff: ios/chrome/browser/interstitials/ios_security_interstitial_page.h

Issue 2303413002: Simplify security_interstitials::ControllerClient and other related classes (Closed)
Patch Set: namespaces 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_BROWSER_INTERSTITIALS_IOS_SECURITY_INTERSTITIAL_PAGE_H_ 5 #ifndef IOS_CHROME_BROWSER_INTERSTITIALS_IOS_SECURITY_INTERSTITIAL_PAGE_H_
6 #define IOS_CHROME_BROWSER_INTERSTITIALS_IOS_SECURITY_INTERSTITIAL_PAGE_H_ 6 #define IOS_CHROME_BROWSER_INTERSTITIALS_IOS_SECURITY_INTERSTITIAL_PAGE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "ios/web/public/interstitials/web_interstitial_delegate.h" 12 #include "ios/web/public/interstitials/web_interstitial_delegate.h"
13 #include "url/gurl.h" 13 #include "url/gurl.h"
14 14
15 class IOSChromeControllerClient;
16
17 namespace base { 15 namespace base {
18 class DictionaryValue; 16 class DictionaryValue;
19 } 17 }
20 18
21 namespace security_interstitials {
22 class MetricsHelper;
23 }
24
25 namespace web { 19 namespace web {
26 class WebInterstitial; 20 class WebInterstitial;
27 class WebState; 21 class WebState;
28 } 22 }
29 23
30 class IOSSecurityInterstitialPage : public web::HtmlWebInterstitialDelegate { 24 class IOSSecurityInterstitialPage : public web::HtmlWebInterstitialDelegate {
31 public: 25 public:
32 IOSSecurityInterstitialPage(web::WebState* web_state, 26 IOSSecurityInterstitialPage(web::WebState* web_state,
33 const GURL& request_url); 27 const GURL& request_url);
34 ~IOSSecurityInterstitialPage() override; 28 ~IOSSecurityInterstitialPage() override;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 const GURL request_url_; 64 const GURL request_url_;
71 65
72 // Once non-null, the |web_interstitial_| takes ownership of this 66 // Once non-null, the |web_interstitial_| takes ownership of this
73 // IOSSecurityInterstitialPage instance. 67 // IOSSecurityInterstitialPage instance.
74 web::WebInterstitial* web_interstitial_; 68 web::WebInterstitial* web_interstitial_;
75 69
76 DISALLOW_COPY_AND_ASSIGN(IOSSecurityInterstitialPage); 70 DISALLOW_COPY_AND_ASSIGN(IOSSecurityInterstitialPage);
77 }; 71 };
78 72
79 #endif // IOS_CHROME_BROWSER_INTERSTITIALS_IOS_SECURITY_INTERSTITIAL_PAGE_H_ 73 #endif // IOS_CHROME_BROWSER_INTERSTITIALS_IOS_SECURITY_INTERSTITIAL_PAGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698