Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: content/browser/loader/resource_request_info_impl.h

Issue 1957483003: Removal of SignedCertificateTimestampStore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated a comment Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ 5 #ifndef CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_
6 #define CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ 6 #define CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 bool allow_download, 57 bool allow_download,
58 bool has_user_gesture, 58 bool has_user_gesture,
59 bool enable_load_timing, 59 bool enable_load_timing,
60 bool enable_upload_progress, 60 bool enable_upload_progress,
61 bool do_not_prompt_for_login, 61 bool do_not_prompt_for_login,
62 blink::WebReferrerPolicy referrer_policy, 62 blink::WebReferrerPolicy referrer_policy,
63 blink::WebPageVisibilityState visibility_state, 63 blink::WebPageVisibilityState visibility_state,
64 ResourceContext* context, 64 ResourceContext* context,
65 base::WeakPtr<ResourceMessageFilter> filter, 65 base::WeakPtr<ResourceMessageFilter> filter,
66 bool report_raw_headers, 66 bool report_raw_headers,
67 bool send_extra_certificate_info,
67 bool is_async, 68 bool is_async,
68 bool is_using_lofi, 69 bool is_using_lofi,
69 const std::string& original_headers); 70 const std::string& original_headers);
70 ~ResourceRequestInfoImpl() override; 71 ~ResourceRequestInfoImpl() override;
71 72
72 // ResourceRequestInfo implementation: 73 // ResourceRequestInfo implementation:
73 WebContentsGetter GetWebContentsGetterForRequest() const override; 74 WebContentsGetter GetWebContentsGetterForRequest() const override;
74 ResourceContext* GetContext() const override; 75 ResourceContext* GetContext() const override;
75 int GetChildID() const override; 76 int GetChildID() const override;
76 int GetRouteID() const override; 77 int GetRouteID() const override;
77 int GetOriginPID() const override; 78 int GetOriginPID() const override;
78 int GetRenderFrameID() const override; 79 int GetRenderFrameID() const override;
79 bool IsMainFrame() const override; 80 bool IsMainFrame() const override;
80 bool ParentIsMainFrame() const override; 81 bool ParentIsMainFrame() const override;
81 ResourceType GetResourceType() const override; 82 ResourceType GetResourceType() const override;
82 int GetProcessType() const override; 83 int GetProcessType() const override;
83 blink::WebReferrerPolicy GetReferrerPolicy() const override; 84 blink::WebReferrerPolicy GetReferrerPolicy() const override;
84 blink::WebPageVisibilityState GetVisibilityState() const override; 85 blink::WebPageVisibilityState GetVisibilityState() const override;
85 ui::PageTransition GetPageTransition() const override; 86 ui::PageTransition GetPageTransition() const override;
86 bool HasUserGesture() const override; 87 bool HasUserGesture() const override;
87 bool WasIgnoredByHandler() const override; 88 bool WasIgnoredByHandler() const override;
88 bool GetAssociatedRenderFrame(int* render_process_id, 89 bool GetAssociatedRenderFrame(int* render_process_id,
89 int* render_frame_id) const override; 90 int* render_frame_id) const override;
90 bool IsAsync() const override; 91 bool IsAsync() const override;
91 bool IsDownload() const override; 92 bool IsDownload() const override;
92 bool IsUsingLoFi() const override; 93 bool IsUsingLoFi() const override;
93 bool ShouldReportRawHeaders() const; 94 bool ShouldReportRawHeaders() const;
95 bool ShouldSendExtraCertificateInfo() const;
Charlie Reis 2016/05/11 22:30:23 nit: This doesn't belong in this block if it's not
dwaxweiler 2016/05/12 07:28:16 Removed code again.
94 96
95 CONTENT_EXPORT void AssociateWithRequest(net::URLRequest* request); 97 CONTENT_EXPORT void AssociateWithRequest(net::URLRequest* request);
96 98
97 CONTENT_EXPORT int GetRequestID() const; 99 CONTENT_EXPORT int GetRequestID() const;
98 CONTENT_EXPORT GlobalRequestID GetGlobalRequestID() const; 100 CONTENT_EXPORT GlobalRequestID GetGlobalRequestID() const;
99 GlobalRoutingID GetGlobalRoutingID() const; 101 GlobalRoutingID GetGlobalRoutingID() const;
100 102
101 // PlzNavigate 103 // PlzNavigate
102 // The id of the FrameTreeNode that initiated this request (for a navigation 104 // The id of the FrameTreeNode that initiated this request (for a navigation
103 // request). 105 // request).
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 ResourceType resource_type_; 217 ResourceType resource_type_;
216 ui::PageTransition transition_type_; 218 ui::PageTransition transition_type_;
217 int memory_cost_; 219 int memory_cost_;
218 blink::WebReferrerPolicy referrer_policy_; 220 blink::WebReferrerPolicy referrer_policy_;
219 blink::WebPageVisibilityState visibility_state_; 221 blink::WebPageVisibilityState visibility_state_;
220 ResourceContext* context_; 222 ResourceContext* context_;
221 // The filter might be deleted without deleting this object if the process 223 // The filter might be deleted without deleting this object if the process
222 // exits during a transfer. 224 // exits during a transfer.
223 base::WeakPtr<ResourceMessageFilter> filter_; 225 base::WeakPtr<ResourceMessageFilter> filter_;
224 bool report_raw_headers_; 226 bool report_raw_headers_;
227 bool send_extra_certificate_info_;
225 bool is_async_; 228 bool is_async_;
226 bool is_using_lofi_; 229 bool is_using_lofi_;
227 const std::string original_headers_; 230 const std::string original_headers_;
228 231
229 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl); 232 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl);
230 }; 233 };
231 234
232 } // namespace content 235 } // namespace content
233 236
234 #endif // CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ 237 #endif // CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698