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

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

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 LOAD_FLAG(REPORT_RAW_HEADERS, 1 << 20) 94 LOAD_FLAG(REPORT_RAW_HEADERS, 1 << 20)
95 95
96 // Indicates that this load was motivated by the rel=prefetch feature, 96 // Indicates that this load was motivated by the rel=prefetch feature,
97 // and is (in theory) not intended for the current frame. 97 // and is (in theory) not intended for the current frame.
98 LOAD_FLAG(PREFETCH, 1 << 21) 98 LOAD_FLAG(PREFETCH, 1 << 21)
99 99
100 // Indicates that this is a load that ignores limits and should complete 100 // Indicates that this is a load that ignores limits and should complete
101 // immediately. 101 // immediately.
102 LOAD_FLAG(IGNORE_LIMITS, 1 << 22) 102 LOAD_FLAG(IGNORE_LIMITS, 1 << 22)
103 103
104 // Suppress login prompts for this request. Cached credentials or
105 // default credentials may still be used for authentication.
106 LOAD_FLAG(DO_NOT_PROMPT_FOR_LOGIN, 1 << 23)
107
108 // Indicates that the operation is somewhat likely to be due to an 104 // Indicates that the operation is somewhat likely to be due to an
109 // explicit user action. This can be used as a hint to treat the 105 // explicit user action. This can be used as a hint to treat the
110 // request with higher priority. 106 // request with higher priority.
111 LOAD_FLAG(MAYBE_USER_GESTURE, 1 << 24) 107 LOAD_FLAG(MAYBE_USER_GESTURE, 1 << 23)
112 108
113 // Indicates that the username:password portion of the URL should not 109 // Indicates that the username:password portion of the URL should not
114 // be honored, but that other forms of authority may be used. 110 // be honored, but that other forms of authority may be used.
115 LOAD_FLAG(DO_NOT_USE_EMBEDDED_IDENTITY, 1 << 25) 111 LOAD_FLAG(DO_NOT_USE_EMBEDDED_IDENTITY, 1 << 24)
116 112
117 // Send request directly to the origin if the effective proxy is the data 113 // Send request directly to the origin if the effective proxy is the data
118 // reduction proxy. 114 // reduction proxy.
119 // TODO(rcs): Remove this flag as soon as http://crbug.com/339237 is resolved. 115 // TODO(rcs): Remove this flag as soon as http://crbug.com/339237 is resolved.
120 LOAD_FLAG(BYPASS_DATA_REDUCTION_PROXY, 1 << 26) 116 LOAD_FLAG(BYPASS_DATA_REDUCTION_PROXY, 1 << 25)
121 117
122 // Indicates the the request is an asynchronous revalidation. 118 // Indicates the the request is an asynchronous revalidation.
123 LOAD_FLAG(ASYNC_REVALIDATION, 1 << 27) 119 LOAD_FLAG(ASYNC_REVALIDATION, 1 << 26)
OLDNEW
« no previous file with comments | « net/BUILD.gn ('k') | net/base/mime_sniffer.cc » ('j') | shell/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698