| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ | 5 #ifndef CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ |
| 6 #define CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ | 6 #define CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 CMD_DONT_PROCEED = 0, | 43 CMD_DONT_PROCEED = 0, |
| 44 CMD_PROCEED = 1, | 44 CMD_PROCEED = 1, |
| 45 CMD_MORE = 2, | 45 CMD_MORE = 2, |
| 46 CMD_RELOAD = 3, | 46 CMD_RELOAD = 3, |
| 47 CMD_HELP = 4, | 47 CMD_HELP = 4, |
| 48 CMD_CLOCK = 5 | 48 CMD_CLOCK = 5 |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 SSLBlockingPage( | 51 SSLBlockingPage( |
| 52 content::WebContents* web_contents, | 52 content::WebContents* web_contents, |
| 53 bool create_interstitial, |
| 53 int cert_error, | 54 int cert_error, |
| 54 const net::SSLInfo& ssl_info, | 55 const net::SSLInfo& ssl_info, |
| 55 const GURL& request_url, | 56 const GURL& request_url, |
| 56 bool overridable, | 57 bool overridable, |
| 57 bool strict_enforcement, | 58 bool strict_enforcement, |
| 58 const base::Callback<void(bool)>& callback); | 59 const base::Callback<void(bool)>& callback); |
| 59 virtual ~SSLBlockingPage(); | 60 virtual ~SSLBlockingPage(); |
| 60 | 61 |
| 61 // A method that sets strings in the specified dictionary from the passed | 62 // A method that sets strings in the specified dictionary from the passed |
| 62 // vector so that they can be used to resource the ssl_roadblock.html/ | 63 // vector so that they can be used to resource the ssl_roadblock.html/ |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 122 |
| 122 // For the FieldTrial: this contains the name of the condition. | 123 // For the FieldTrial: this contains the name of the condition. |
| 123 std::string trial_condition_; | 124 std::string trial_condition_; |
| 124 | 125 |
| 125 content::NotificationRegistrar registrar_; | 126 content::NotificationRegistrar registrar_; |
| 126 | 127 |
| 127 DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage); | 128 DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage); |
| 128 }; | 129 }; |
| 129 | 130 |
| 130 #endif // CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ | 131 #endif // CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ |
| OLD | NEW |