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/macros.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 "content/public/common/resource_type.h" | 15 #include "content/public/common/resource_type.h" |
16 #include "url/gurl.h" | 16 #include "url/gurl.h" |
17 | 17 |
18 namespace net { | 18 namespace net { |
19 class SSLInfo; | 19 class SSLInfo; |
20 class URLRequest; | 20 class URLRequest; |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 // A flag to make sure we notify the net::URLRequest exactly once. | 149 // A flag to make sure we notify the net::URLRequest exactly once. |
150 // Should only be accessed on the IO thread | 150 // Should only be accessed on the IO thread |
151 bool request_has_been_notified_; | 151 bool request_has_been_notified_; |
152 | 152 |
153 DISALLOW_COPY_AND_ASSIGN(SSLErrorHandler); | 153 DISALLOW_COPY_AND_ASSIGN(SSLErrorHandler); |
154 }; | 154 }; |
155 | 155 |
156 } // namespace content | 156 } // namespace content |
157 | 157 |
158 #endif // CONTENT_BROWSER_SSL_SSL_ERROR_HANDLER_H_ | 158 #endif // CONTENT_BROWSER_SSL_SSL_ERROR_HANDLER_H_ |
OLD | NEW |