OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // The ResourceRequestDetails object contains additional details about a | 5 // The ResourceRequestDetails object contains additional details about a |
6 // resource request. It copies many of the publicly accessible member variables | 6 // resource request. It copies many of the publicly accessible member variables |
7 // of URLRequest, but exists on the UI thread. | 7 // of URLRequest, but exists on the UI thread. |
8 | 8 |
9 #ifndef CHROME_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_DETAILS_H_ | 9 #ifndef CHROME_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_DETAILS_H_ |
10 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_DETAILS_H_ | 10 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_DETAILS_H_ |
11 | 11 |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/basictypes.h" | |
15 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" | 14 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" |
16 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
17 #include "net/url_request/url_request.h" | |
18 #include "net/url_request/url_request_status.h" | 16 #include "net/url_request/url_request_status.h" |
19 | 17 |
| 18 class URLRequest; |
| 19 |
20 #if defined(OS_WIN) | 20 #if defined(OS_WIN) |
21 // TODO(port): Move header to the above section when CertStore has been ported. | 21 // TODO(port): Move header to the above section when CertStore has been ported. |
22 #include "chrome/browser/cert_store.h" | 22 #include "chrome/browser/cert_store.h" |
23 #elif defined(OS_POSIX) | 23 #elif defined(OS_POSIX) |
24 #include "chrome/common/temp_scaffolding_stubs.h" | 24 #include "chrome/common/temp_scaffolding_stubs.h" |
25 #endif | 25 #endif |
26 | 26 |
27 // Details about a resource request notification. | 27 // Details about a resource request notification. |
28 class ResourceRequestDetails { | 28 class ResourceRequestDetails { |
29 public: | 29 public: |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 new_url_(new_url) { } | 83 new_url_(new_url) { } |
84 | 84 |
85 // The URL to which we are being redirected. | 85 // The URL to which we are being redirected. |
86 const GURL& new_url() const { return new_url_; } | 86 const GURL& new_url() const { return new_url_; } |
87 | 87 |
88 private: | 88 private: |
89 GURL new_url_; | 89 GURL new_url_; |
90 }; | 90 }; |
91 | 91 |
92 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_DETAILS_H_ | 92 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_DETAILS_H_ |
OLD | NEW |