OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_RENDERER_HOST_X509_USER_CERT_RESOURCE_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_X509_USER_CERT_RESOURCE_HANDLER_H_ |
6 #define CHROME_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/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
12 #include "chrome/browser/renderer_host/resource_handler.h" | 12 #include "content/browser/renderer_host/resource_handler.h" |
13 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 class URLRequest; | 16 class URLRequest; |
17 class URLRequestStatus; | 17 class URLRequestStatus; |
18 } // namespace net | 18 } // namespace net |
19 | 19 |
20 class ResourceDispatcherHost; | 20 class ResourceDispatcherHost; |
21 struct DownloadBuffer; | 21 struct DownloadBuffer; |
22 | 22 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 scoped_refptr<net::IOBuffer> resource_buffer_; // Downloaded certificate. | 70 scoped_refptr<net::IOBuffer> resource_buffer_; // Downloaded certificate. |
71 static const int kReadBufSize = 32768; | 71 static const int kReadBufSize = 32768; |
72 // The id of the |RenderProcessHost| which started the download. | 72 // The id of the |RenderProcessHost| which started the download. |
73 int render_process_host_id_; | 73 int render_process_host_id_; |
74 // The id of the |RenderView| which started the download. | 74 // The id of the |RenderView| which started the download. |
75 int render_view_id_; | 75 int render_view_id_; |
76 | 76 |
77 DISALLOW_COPY_AND_ASSIGN(X509UserCertResourceHandler); | 77 DISALLOW_COPY_AND_ASSIGN(X509UserCertResourceHandler); |
78 }; | 78 }; |
79 | 79 |
80 #endif // CHROME_BROWSER_RENDERER_HOST_X509_USER_CERT_RESOURCE_HANDLER_H_ | 80 #endif // CONTENT_BROWSER_RENDERER_HOST_X509_USER_CERT_RESOURCE_HANDLER_H_ |
OLD | NEW |