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

Side by Side Diff: net/base/load_flags_list.h

Issue 6542016: Add LOAD_PRERENDER to prerender motivated load requests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix lint Created 9 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/glue/weburlloader_impl.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This is the list of load flags and their values. For the enum values, 5 // This is the list of load flags and their values. For the enum values,
6 // include the file "net/base/load_flags.h". 6 // include the file "net/base/load_flags.h".
7 // 7 //
8 // Here we define the values using a macro LOAD_FLAG, so it can be 8 // Here we define the values using a macro LOAD_FLAG, so it can be
9 // expanded differently in some places (for example, to automatically 9 // expanded differently in some places (for example, to automatically
10 // map a load flag value to its symbolic name). 10 // map a load flag value to its symbolic name).
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // If present, intercept actual request/response headers from network stack 95 // If present, intercept actual request/response headers from network stack
96 // and report them to renderer. This includes cookies, so the flag is only 96 // and report them to renderer. This includes cookies, so the flag is only
97 // respected if renderer has CanReadRawCookies capability in the security 97 // respected if renderer has CanReadRawCookies capability in the security
98 // policy. 98 // policy.
99 LOAD_FLAG(REPORT_RAW_HEADERS, 1 << 22) 99 LOAD_FLAG(REPORT_RAW_HEADERS, 1 << 22)
100 100
101 // Indicates that this load was motivated by the rel=prefetch feature, 101 // Indicates that this load was motivated by the rel=prefetch feature,
102 // and is (in theory) not intended for the current frame. 102 // and is (in theory) not intended for the current frame.
103 LOAD_FLAG(PREFETCH, 1 << 23) 103 LOAD_FLAG(PREFETCH, 1 << 23)
104 104
105 // Indicates that this load was motivated by the prerendering feature,
106 // and is not intended for display.
mmenke 2011/02/18 15:12:07 nit: Might want to change that to "immediate disp
107 LOAD_FLAG(PRERENDER, 1 << 24)
108
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/glue/weburlloader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698