OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_ERROR_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_SSL_SSL_ERROR_HANDLER_H_ |
6 #define CHROME_BROWSER_SSL_SSL_ERROR_HANDLER_H_ | 6 #define CONTENT_BROWSER_SSL_SSL_ERROR_HANDLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "chrome/browser/ssl/ssl_manager.h" | |
14 #include "content/browser/renderer_host/global_request_id.h" | 13 #include "content/browser/renderer_host/global_request_id.h" |
| 14 #include "content/browser/ssl/ssl_manager.h" |
15 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
16 #include "webkit/glue/resource_type.h" | 16 #include "webkit/glue/resource_type.h" |
17 | 17 |
18 class ResourceDispatcherHost; | 18 class ResourceDispatcherHost; |
19 class SSLCertErrorHandler; | 19 class SSLCertErrorHandler; |
20 class TabContents; | 20 class TabContents; |
21 | 21 |
22 namespace net { | 22 namespace net { |
23 class URLRequest; | 23 class URLRequest; |
24 } // namespace net | 24 } // namespace net |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 // This read-only member can be accessed on any thread. | 134 // This read-only member can be accessed on any thread. |
135 const ResourceType::Type resource_type_; | 135 const ResourceType::Type resource_type_; |
136 | 136 |
137 // A flag to make sure we notify the net::URLRequest exactly once. | 137 // A flag to make sure we notify the net::URLRequest exactly once. |
138 // Should only be accessed on the IO thread | 138 // Should only be accessed on the IO thread |
139 bool request_has_been_notified_; | 139 bool request_has_been_notified_; |
140 | 140 |
141 DISALLOW_COPY_AND_ASSIGN(SSLErrorHandler); | 141 DISALLOW_COPY_AND_ASSIGN(SSLErrorHandler); |
142 }; | 142 }; |
143 | 143 |
144 #endif // CHROME_BROWSER_SSL_SSL_ERROR_HANDLER_H_ | 144 #endif // CONTENT_BROWSER_SSL_SSL_ERROR_HANDLER_H_ |
OLD | NEW |