| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/string16.h" | 12 #include "base/string16.h" |
| 13 #include "chrome/browser/ssl/ssl_error_info.h" | 13 #include "chrome/browser/ssl/ssl_error_info.h" |
| 14 #include "chrome/browser/tab_contents/interstitial_page.h" | 14 #include "content/browser/tab_contents/interstitial_page.h" |
| 15 | 15 |
| 16 class DictionaryValue; | 16 class DictionaryValue; |
| 17 class SSLCertErrorHandler; | 17 class SSLCertErrorHandler; |
| 18 | 18 |
| 19 // This class is responsible for showing/hiding the interstitial page that is | 19 // This class is responsible for showing/hiding the interstitial page that is |
| 20 // shown when a certificate error happens. | 20 // shown when a certificate error happens. |
| 21 // It deletes itself when the interstitial page is closed. | 21 // It deletes itself when the interstitial page is closed. |
| 22 class SSLBlockingPage : public InterstitialPage { | 22 class SSLBlockingPage : public InterstitialPage { |
| 23 public: | 23 public: |
| 24 // An interface that classes that want to interact with the SSLBlockingPage | 24 // An interface that classes that want to interact with the SSLBlockingPage |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 // A flag to indicate if we've notified |delegate_| of the user's decision. | 80 // A flag to indicate if we've notified |delegate_| of the user's decision. |
| 81 bool delegate_has_been_notified_; | 81 bool delegate_has_been_notified_; |
| 82 | 82 |
| 83 // Is the certificate error overridable or fatal? | 83 // Is the certificate error overridable or fatal? |
| 84 ErrorLevel error_level_; | 84 ErrorLevel error_level_; |
| 85 | 85 |
| 86 DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage); | 86 DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage); |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 #endif // CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ | 89 #endif // CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ |
| OLD | NEW |