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

Side by Side Diff: content/common/resource_messages.h

Issue 451623002: Getting rid of net::LOAD_ENABLE_LOAD_TIMING (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed content/browser/loader/resource_scheduler_unittest.cc. Created 6 years, 4 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
« no previous file with comments | « content/common/frame_messages.h ('k') | content/test/test_render_frame_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // IPC messages for resource loading. 5 // IPC messages for resource loading.
6 // 6 //
7 // NOTE: All messages must send an |int request_id| as their first parameter. 7 // NOTE: All messages must send an |int request_id| as their first parameter.
8 8
9 // Multiply-included message file, hence no include guard. 9 // Multiply-included message file, hence no include guard.
10 #include "base/memory/shared_memory.h" 10 #include "base/memory/shared_memory.h"
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 178
179 // Optional resource request body (may be null). 179 // Optional resource request body (may be null).
180 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBody>, 180 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBody>,
181 request_body) 181 request_body)
182 182
183 IPC_STRUCT_MEMBER(bool, download_to_file) 183 IPC_STRUCT_MEMBER(bool, download_to_file)
184 184
185 // True if the request was user initiated. 185 // True if the request was user initiated.
186 IPC_STRUCT_MEMBER(bool, has_user_gesture) 186 IPC_STRUCT_MEMBER(bool, has_user_gesture)
187 187
188 // True if load timing data should be collected for request.
189 IPC_STRUCT_MEMBER(bool, enable_load_timing)
190
188 // The routing id of the RenderFrame. 191 // The routing id of the RenderFrame.
189 IPC_STRUCT_MEMBER(int, render_frame_id) 192 IPC_STRUCT_MEMBER(int, render_frame_id)
190 193
191 // True if |frame_id| is the main frame of a RenderView. 194 // True if |frame_id| is the main frame of a RenderView.
192 IPC_STRUCT_MEMBER(bool, is_main_frame) 195 IPC_STRUCT_MEMBER(bool, is_main_frame)
193 196
194 // True if |parent_render_frame_id| is the main frame of a RenderView. 197 // True if |parent_render_frame_id| is the main frame of a RenderView.
195 IPC_STRUCT_MEMBER(bool, parent_is_main_frame) 198 IPC_STRUCT_MEMBER(bool, parent_is_main_frame)
196 199
197 // Identifies the parent frame of the frame that sent the request. 200 // Identifies the parent frame of the frame that sent the request.
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 344
342 // Sent when the renderer process deletes a resource loader. 345 // Sent when the renderer process deletes a resource loader.
343 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 346 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
344 int /* request_id */) 347 int /* request_id */)
345 348
346 // Sent by the renderer when a resource request changes priority. 349 // Sent by the renderer when a resource request changes priority.
347 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 350 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
348 int /* request_id */, 351 int /* request_id */,
349 net::RequestPriority, 352 net::RequestPriority,
350 int /* intra_priority_value */) 353 int /* intra_priority_value */)
OLDNEW
« no previous file with comments | « content/common/frame_messages.h ('k') | content/test/test_render_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698