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 CONTENT_BROWSER_SSL_SSL_ERROR_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_SSL_SSL_ERROR_HANDLER_H_ |
6 #define CONTENT_BROWSER_SSL_SSL_ERROR_HANDLER_H_ | 6 #define CONTENT_BROWSER_SSL_SSL_ERROR_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
14 #include "content/public/browser/global_request_id.h" | 14 #include "content/public/browser/global_request_id.h" |
15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
16 #include "webkit/glue/resource_type.h" | 16 #include "webkit/common/resource_type.h" |
17 | 17 |
18 namespace net { | 18 namespace net { |
19 class SSLInfo; | 19 class SSLInfo; |
20 class URLRequest; | 20 class URLRequest; |
21 } // namespace net | 21 } // namespace net |
22 | 22 |
23 namespace content { | 23 namespace content { |
24 | 24 |
25 class ResourceDispatcherHostImpl; | 25 class ResourceDispatcherHostImpl; |
26 class SSLCertErrorHandler; | 26 class SSLCertErrorHandler; |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 // A flag to make sure we notify the net::URLRequest exactly once. | 163 // A flag to make sure we notify the net::URLRequest exactly once. |
164 // Should only be accessed on the IO thread | 164 // Should only be accessed on the IO thread |
165 bool request_has_been_notified_; | 165 bool request_has_been_notified_; |
166 | 166 |
167 DISALLOW_COPY_AND_ASSIGN(SSLErrorHandler); | 167 DISALLOW_COPY_AND_ASSIGN(SSLErrorHandler); |
168 }; | 168 }; |
169 | 169 |
170 } // namespace content | 170 } // namespace content |
171 | 171 |
172 #endif // CONTENT_BROWSER_SSL_SSL_ERROR_HANDLER_H_ | 172 #endif // CONTENT_BROWSER_SSL_SSL_ERROR_HANDLER_H_ |
OLD | NEW |