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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/memory/ref_counted.h" |
12 #include "content/browser/download/download_buffer.h" | 13 #include "content/browser/download/download_buffer.h" |
13 #include "content/browser/renderer_host/resource_handler.h" | 14 #include "content/browser/renderer_host/resource_handler.h" |
14 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
15 | 16 |
16 namespace net { | 17 namespace net { |
17 class IOBuffer; | 18 class IOBuffer; |
18 class URLRequest; | 19 class URLRequest; |
19 class URLRequestStatus; | 20 class URLRequestStatus; |
20 } // namespace net | 21 } // namespace net |
21 | 22 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 scoped_refptr<net::IOBuffer> resource_buffer_; // Downloaded certificate. | 79 scoped_refptr<net::IOBuffer> resource_buffer_; // Downloaded certificate. |
79 // The id of the |RenderProcessHost| which started the download. | 80 // The id of the |RenderProcessHost| which started the download. |
80 int render_process_host_id_; | 81 int render_process_host_id_; |
81 // The id of the |RenderView| which started the download. | 82 // The id of the |RenderView| which started the download. |
82 int render_view_id_; | 83 int render_view_id_; |
83 | 84 |
84 DISALLOW_COPY_AND_ASSIGN(X509UserCertResourceHandler); | 85 DISALLOW_COPY_AND_ASSIGN(X509UserCertResourceHandler); |
85 }; | 86 }; |
86 | 87 |
87 #endif // CONTENT_BROWSER_RENDERER_HOST_X509_USER_CERT_RESOURCE_HANDLER_H_ | 88 #endif // CONTENT_BROWSER_RENDERER_HOST_X509_USER_CERT_RESOURCE_HANDLER_H_ |
OLD | NEW |