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_RENDERER_HOST_X509_USER_CERT_RESOURCE_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_X509_USER_CERT_RESOURCE_HANDLER_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_X509_USER_CERT_RESOURCE_HANDLER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_X509_USER_CERT_RESOURCE_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 GURL url_; | 79 GURL url_; |
80 net::URLRequest* request_; | 80 net::URLRequest* request_; |
81 size_t content_length_; | 81 size_t content_length_; |
82 ContentVector buffer_; | 82 ContentVector buffer_; |
83 scoped_refptr<net::IOBuffer> read_buffer_; | 83 scoped_refptr<net::IOBuffer> read_buffer_; |
84 scoped_refptr<net::IOBuffer> resource_buffer_; // Downloaded certificate. | 84 scoped_refptr<net::IOBuffer> resource_buffer_; // Downloaded certificate. |
85 // The id of the |RenderProcessHost| which started the download. | 85 // The id of the |RenderProcessHost| which started the download. |
86 int render_process_host_id_; | 86 int render_process_host_id_; |
87 // The id of the |RenderView| which started the download. | 87 // The id of the |RenderView| which started the download. |
88 int render_view_id_; | 88 int render_view_id_; |
89 | 89 // 'true' is the resource is a PKCS#12 keychain, instead of a certificate. |
| 90 bool is_pkcs12_; |
90 DISALLOW_COPY_AND_ASSIGN(X509UserCertResourceHandler); | 91 DISALLOW_COPY_AND_ASSIGN(X509UserCertResourceHandler); |
91 }; | 92 }; |
92 | 93 |
93 } // namespace content | 94 } // namespace content |
94 | 95 |
95 #endif // CONTENT_BROWSER_RENDERER_HOST_X509_USER_CERT_RESOURCE_HANDLER_H_ | 96 #endif // CONTENT_BROWSER_RENDERER_HOST_X509_USER_CERT_RESOURCE_HANDLER_H_ |
OLD | NEW |