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_NAVIGATION_REQUEST_INFO_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_INFO_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_INFO_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_INFO_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 14 matching lines...) Expand all Loading... | |
25 NavigationRequestInfo(const CommonNavigationParams& common_params, | 25 NavigationRequestInfo(const CommonNavigationParams& common_params, |
26 const BeginNavigationParams& begin_params, | 26 const BeginNavigationParams& begin_params, |
27 const GURL& first_party_for_cookies, | 27 const GURL& first_party_for_cookies, |
28 bool is_main_frame, | 28 bool is_main_frame, |
29 bool parent_is_main_frame, | 29 bool parent_is_main_frame, |
30 int frame_tree_node_id, | 30 int frame_tree_node_id, |
31 scoped_refptr<ResourceRequestBody> request_body); | 31 scoped_refptr<ResourceRequestBody> request_body); |
32 ~NavigationRequestInfo(); | 32 ~NavigationRequestInfo(); |
33 | 33 |
34 const CommonNavigationParams common_params; | 34 const CommonNavigationParams common_params; |
35 const BeginNavigationParams begin_params; | 35 |
36 // The headers may be changed during calls to | |
nasko
2015/11/06 23:51:51
nit: Add "by throttles" so it is clear who may cha
clamy
2015/11/09 15:47:09
Done.
| |
37 // NavigationThrottle::WillStartRequest. | |
38 BeginNavigationParams begin_params; | |
36 | 39 |
37 // Usually the URL of the document in the top-level window, which may be | 40 // Usually the URL of the document in the top-level window, which may be |
38 // checked by the third-party cookie blocking policy. | 41 // checked by the third-party cookie blocking policy. |
39 const GURL first_party_for_cookies; | 42 const GURL first_party_for_cookies; |
40 | 43 |
41 const bool is_main_frame; | 44 const bool is_main_frame; |
42 const bool parent_is_main_frame; | 45 const bool parent_is_main_frame; |
43 | 46 |
44 const int frame_tree_node_id; | 47 const int frame_tree_node_id; |
45 | 48 |
46 scoped_refptr<ResourceRequestBody> request_body; | 49 scoped_refptr<ResourceRequestBody> request_body; |
47 }; | 50 }; |
48 | 51 |
49 } // namespace content | 52 } // namespace content |
50 | 53 |
51 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_INFO_H_ | 54 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_INFO_H_ |
OLD | NEW |