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_COMMON_REQUEST_EXTRA_DATA_H_ | 5 #ifndef CONTENT_COMMON_REQUEST_EXTRA_DATA_H_ |
6 #define CONTENT_COMMON_REQUEST_EXTRA_DATA_H_ | 6 #define CONTENT_COMMON_REQUEST_EXTRA_DATA_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
11 #include "content/public/common/page_transition_types.h" | 10 #include "content/public/common/page_transition_types.h" |
12 #include "webkit/glue/weburlrequest_extradata_impl.h" | 11 #include "webkit/glue/weburlrequest_extradata_impl.h" |
13 | 12 |
14 // The RenderView stores an instance of this class in the "extra data" of each | 13 // The RenderView stores an instance of this class in the "extra data" of each |
15 // ResourceRequest (see RenderView::willSendRequest). | 14 // ResourceRequest (see RenderView::willSendRequest). |
16 class CONTENT_EXPORT RequestExtraData | 15 class CONTENT_EXPORT RequestExtraData |
17 : NON_EXPORTED_BASE(public webkit_glue::WebURLRequestExtraDataImpl) { | 16 : NON_EXPORTED_BASE(public webkit_glue::WebURLRequestExtraDataImpl) { |
(...skipping 29 matching lines...) Expand all Loading... |
47 int64 parent_frame_id_; | 46 int64 parent_frame_id_; |
48 bool allow_download_; | 47 bool allow_download_; |
49 content::PageTransition transition_type_; | 48 content::PageTransition transition_type_; |
50 int transferred_request_child_id_; | 49 int transferred_request_child_id_; |
51 int transferred_request_request_id_; | 50 int transferred_request_request_id_; |
52 | 51 |
53 DISALLOW_COPY_AND_ASSIGN(RequestExtraData); | 52 DISALLOW_COPY_AND_ASSIGN(RequestExtraData); |
54 }; | 53 }; |
55 | 54 |
56 #endif // CONTENT_COMMON_REQUEST_EXTRA_DATA_H_ | 55 #endif // CONTENT_COMMON_REQUEST_EXTRA_DATA_H_ |
OLD | NEW |