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_LOADER_CERTIFICATE_RESOURCE_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_LOADER_CERTIFICATE_RESOURCE_HANDLER_H_ |
6 #define CONTENT_BROWSER_LOADER_CERTIFICATE_RESOURCE_HANDLER_H_ | 6 #define CONTENT_BROWSER_LOADER_CERTIFICATE_RESOURCE_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "content/browser/loader/resource_handler.h" | 15 #include "content/browser/loader/resource_handler.h" |
16 #include "googleurl/src/gurl.h" | |
17 #include "net/base/mime_util.h" | 16 #include "net/base/mime_util.h" |
| 17 #include "url/gurl.h" |
18 | 18 |
19 namespace net { | 19 namespace net { |
20 class IOBuffer; | 20 class IOBuffer; |
21 class URLRequest; | 21 class URLRequest; |
22 class URLRequestStatus; | 22 class URLRequestStatus; |
23 } // namespace net | 23 } // namespace net |
24 | 24 |
25 namespace content { | 25 namespace content { |
26 | 26 |
27 // This class handles certificate mime types such as: | 27 // This class handles certificate mime types such as: |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 int render_process_host_id_; | 91 int render_process_host_id_; |
92 // The id of the |RenderView| which started the download. | 92 // The id of the |RenderView| which started the download. |
93 int render_view_id_; | 93 int render_view_id_; |
94 net::CertificateMimeType cert_type_; | 94 net::CertificateMimeType cert_type_; |
95 DISALLOW_COPY_AND_ASSIGN(CertificateResourceHandler); | 95 DISALLOW_COPY_AND_ASSIGN(CertificateResourceHandler); |
96 }; | 96 }; |
97 | 97 |
98 } // namespace content | 98 } // namespace content |
99 | 99 |
100 #endif // CONTENT_BROWSER_LOADER_CERTIFICATE_RESOURCE_HANDLER_H_ | 100 #endif // CONTENT_BROWSER_LOADER_CERTIFICATE_RESOURCE_HANDLER_H_ |
OLD | NEW |