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_CROSS_SITE_RESOURCE_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_LOADER_CROSS_SITE_RESOURCE_HANDLER_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_CROSS_SITE_RESOURCE_HANDLER_H_ | 6 #define CONTENT_BROWSER_LOADER_CROSS_SITE_RESOURCE_HANDLER_H_ |
7 | 7 |
8 #include "content/browser/renderer_host/layered_resource_handler.h" | 8 #include "content/browser/loader/layered_resource_handler.h" |
9 #include "net/url_request/url_request_status.h" | 9 #include "net/url_request/url_request_status.h" |
10 | 10 |
11 namespace net { | 11 namespace net { |
12 class URLRequest; | 12 class URLRequest; |
13 } | 13 } |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 | 16 |
17 // Ensures that cross-site responses are delayed until the onunload handler of | 17 // Ensures that cross-site responses are delayed until the onunload handler of |
18 // the previous page is allowed to run. This handler wraps an | 18 // the previous page is allowed to run. This handler wraps an |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 bool did_defer_; | 65 bool did_defer_; |
66 net::URLRequestStatus completed_status_; | 66 net::URLRequestStatus completed_status_; |
67 std::string completed_security_info_; | 67 std::string completed_security_info_; |
68 ResourceResponse* response_; | 68 ResourceResponse* response_; |
69 | 69 |
70 DISALLOW_COPY_AND_ASSIGN(CrossSiteResourceHandler); | 70 DISALLOW_COPY_AND_ASSIGN(CrossSiteResourceHandler); |
71 }; | 71 }; |
72 | 72 |
73 } // namespace content | 73 } // namespace content |
74 | 74 |
75 #endif // CONTENT_BROWSER_RENDERER_HOST_CROSS_SITE_RESOURCE_HANDLER_H_ | 75 #endif // CONTENT_BROWSER_LOADER_CROSS_SITE_RESOURCE_HANDLER_H_ |
OLD | NEW |