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 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "base/task/cancelable_task_tracker.h" | 13 #include "base/task/cancelable_task_tracker.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "chrome/browser/history/history_service.h" | 15 #include "chrome/browser/history/history_service.h" |
16 #include "chrome/browser/interstitials/security_interstitial_page.h" | 16 #include "chrome/browser/interstitials/security_interstitial_page.h" |
| 17 #include "content/public/browser/notification_registrar.h" |
17 #include "net/ssl/ssl_info.h" | 18 #include "net/ssl/ssl_info.h" |
18 #include "url/gurl.h" | 19 #include "url/gurl.h" |
19 | 20 |
20 #if defined(ENABLE_EXTENSIONS) | 21 #if defined(ENABLE_EXTENSIONS) |
21 namespace extensions { | 22 namespace extensions { |
22 class ExperienceSamplingEvent; | 23 class ExperienceSamplingEvent; |
23 } | 24 } |
24 #endif | 25 #endif |
25 | 26 |
26 class SSLErrorClassification; | 27 class SSLErrorClassification; |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 // For Chrome Experience Sampling Platform: this maintains event state. | 126 // For Chrome Experience Sampling Platform: this maintains event state. |
126 scoped_ptr<extensions::ExperienceSamplingEvent> sampling_event_; | 127 scoped_ptr<extensions::ExperienceSamplingEvent> sampling_event_; |
127 #endif | 128 #endif |
128 | 129 |
129 content::NotificationRegistrar registrar_; | 130 content::NotificationRegistrar registrar_; |
130 | 131 |
131 DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage); | 132 DISALLOW_COPY_AND_ASSIGN(SSLBlockingPage); |
132 }; | 133 }; |
133 | 134 |
134 #endif // CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ | 135 #endif // CHROME_BROWSER_SSL_SSL_BLOCKING_PAGE_H_ |
OLD | NEW |