| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FRAME_HOST_CROSS_SITE_TRANSFERRING_REQUEST_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_CROSS_SITE_TRANSFERRING_REQUEST_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_CROSS_SITE_TRANSFERRING_REQUEST_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_CROSS_SITE_TRANSFERRING_REQUEST_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
| 9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
| 10 #include "content/public/browser/global_request_id.h" | 10 #include "content/public/browser/global_request_id.h" |
| 11 | 11 |
| 12 namespace content { | 12 namespace content { |
| 13 | 13 |
| 14 class CrossSiteResourceHandler; | 14 class CrossSiteResourceHandler; |
| 15 | 15 |
| 16 // A UI thread object that owns a request being transferred. Deleting the | 16 // A UI thread object that owns a request being transferred. Deleting the |
| 17 // object without releasing the request will delete the underlying URLRequest. | 17 // object without releasing the request will delete the underlying URLRequest. |
| 18 // This is needed to clean up the URLRequest when a cross site navigation is | 18 // This is needed to clean up the URLRequest when a cross site navigation is |
| (...skipping 14 matching lines...) Expand all Loading... |
| 33 // cross site request until after |this| is deleted, or ReleaseRequest is | 33 // cross site request until after |this| is deleted, or ReleaseRequest is |
| 34 // called. | 34 // called. |
| 35 GlobalRequestID global_request_id_; | 35 GlobalRequestID global_request_id_; |
| 36 | 36 |
| 37 DISALLOW_COPY_AND_ASSIGN(CrossSiteTransferringRequest); | 37 DISALLOW_COPY_AND_ASSIGN(CrossSiteTransferringRequest); |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 } // namespace content | 40 } // namespace content |
| 41 | 41 |
| 42 #endif // CONTENT_BROWSER_FRAME_HOST_CROSS_SITE_TRANSFERRING_REQUEST_H_ | 42 #endif // CONTENT_BROWSER_FRAME_HOST_CROSS_SITE_TRANSFERRING_REQUEST_H_ |
| OLD | NEW |