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

Side by Side Diff: ios/chrome/browser/ssl/ios_ssl_blocking_page.h

Issue 2544293002: ios: Cleanup class/struct forward declarations (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « ios/chrome/browser/signin/signin_client_impl.h ('k') | ios/crnet/crnet_environment.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_SSL_IOS_SSL_BLOCKING_PAGE_H_ 5 #ifndef IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_
6 #define IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_ 6 #define IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "ios/chrome/browser/interstitials/ios_security_interstitial_page.h" 14 #include "ios/chrome/browser/interstitials/ios_security_interstitial_page.h"
15 #include "net/ssl/ssl_info.h" 15 #include "net/ssl/ssl_info.h"
16 16
17 class IOSChromeControllerClient; 17 class IOSChromeControllerClient;
18 class GURL; 18 class GURL;
19 19
20 namespace ios {
21 class ChromeBrowserState;
22 }
23
24 namespace security_interstitials { 20 namespace security_interstitials {
25 class SSLErrorUI; 21 class SSLErrorUI;
26 } 22 }
27 23
28 // This class is responsible for showing/hiding the interstitial page that is 24 // This class is responsible for showing/hiding the interstitial page that is
29 // shown when a certificate error happens. 25 // shown when a certificate error happens.
30 // It deletes itself when the interstitial page is closed. 26 // It deletes itself when the interstitial page is closed.
31 class IOSSSLBlockingPage : public IOSSecurityInterstitialPage { 27 class IOSSSLBlockingPage : public IOSSecurityInterstitialPage {
32 public: 28 public:
33 ~IOSSSLBlockingPage() override; 29 ~IOSSSLBlockingPage() override;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // expired. 67 // expired.
72 const bool expired_but_previously_allowed_; 68 const bool expired_but_previously_allowed_;
73 69
74 std::unique_ptr<IOSChromeControllerClient> controller_; 70 std::unique_ptr<IOSChromeControllerClient> controller_;
75 std::unique_ptr<security_interstitials::SSLErrorUI> ssl_error_ui_; 71 std::unique_ptr<security_interstitials::SSLErrorUI> ssl_error_ui_;
76 72
77 DISALLOW_COPY_AND_ASSIGN(IOSSSLBlockingPage); 73 DISALLOW_COPY_AND_ASSIGN(IOSSSLBlockingPage);
78 }; 74 };
79 75
80 #endif // IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_ 76 #endif // IOS_CHROME_BROWSER_SSL_IOS_SSL_BLOCKING_PAGE_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/signin/signin_client_impl.h ('k') | ios/crnet/crnet_environment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698