OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 net::URLRequest, but exists on the UI thread. | 7 // of net::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 #pragma once | 11 #pragma once |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "chrome/browser/cert_store.h" | |
16 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" | 15 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" |
17 #include "chrome/browser/renderer_host/resource_dispatcher_host_request_info.h" | 16 #include "chrome/browser/renderer_host/resource_dispatcher_host_request_info.h" |
18 #include "chrome/browser/worker_host/worker_service.h" | 17 #include "chrome/browser/worker_host/worker_service.h" |
19 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
20 #include "net/url_request/url_request_status.h" | 19 #include "net/url_request/url_request_status.h" |
21 | 20 |
22 namespace net { | 21 namespace net { |
23 class URLRequest; | 22 class URLRequest; |
24 } // namespace net | 23 } // namespace net |
25 | 24 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 virtual ~ResourceRedirectDetails(); | 68 virtual ~ResourceRedirectDetails(); |
70 | 69 |
71 // The URL to which we are being redirected. | 70 // The URL to which we are being redirected. |
72 const GURL& new_url() const { return new_url_; } | 71 const GURL& new_url() const { return new_url_; } |
73 | 72 |
74 private: | 73 private: |
75 GURL new_url_; | 74 GURL new_url_; |
76 }; | 75 }; |
77 | 76 |
78 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_DETAILS_H_ | 77 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_DETAILS_H_ |
OLD | NEW |