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 // 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 CONTENT_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_DETAILS_H_ |
10 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_DETAILS_H_ | 10 #define CONTENT_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 "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
16 #include "net/url_request/url_request_status.h" | 16 #include "net/url_request/url_request_status.h" |
17 #include "webkit/glue/resource_type.h" | 17 #include "webkit/glue/resource_type.h" |
18 | 18 |
19 namespace net { | 19 namespace net { |
20 class URLRequest; | 20 class URLRequest; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 const GURL& new_url); | 61 const GURL& new_url); |
62 virtual ~ResourceRedirectDetails(); | 62 virtual ~ResourceRedirectDetails(); |
63 | 63 |
64 // The URL to which we are being redirected. | 64 // The URL to which we are being redirected. |
65 const GURL& new_url() const { return new_url_; } | 65 const GURL& new_url() const { return new_url_; } |
66 | 66 |
67 private: | 67 private: |
68 GURL new_url_; | 68 GURL new_url_; |
69 }; | 69 }; |
70 | 70 |
71 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_DETAILS_H_ | 71 #endif // CONTENT_BROWSER_RENDERER_HOST_RESOURCE_REQUEST_DETAILS_H_ |
OLD | NEW |