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

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

Issue 332313003: Add Finch experiment for selectively bypassing proxies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make LOAD_NORMAL consistent Created 6 years, 5 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 // Indicates that the operation is somewhat likely to be due to an 118 // Indicates that the operation is somewhat likely to be due to an
119 // explicit user action. This can be used as a hint to treat the 119 // explicit user action. This can be used as a hint to treat the
120 // request with higher priority. 120 // request with higher priority.
121 LOAD_FLAG(MAYBE_USER_GESTURE, 1 << 27) 121 LOAD_FLAG(MAYBE_USER_GESTURE, 1 << 27)
122 122
123 // Indicates that the username:password portion of the URL should not 123 // Indicates that the username:password portion of the URL should not
124 // be honored, but that other forms of authority may be used. 124 // be honored, but that other forms of authority may be used.
125 LOAD_FLAG(DO_NOT_USE_EMBEDDED_IDENTITY, 1 << 28) 125 LOAD_FLAG(DO_NOT_USE_EMBEDDED_IDENTITY, 1 << 28)
126 126
127 // Send request directly to the origin if the effective proxy is the data
128 // reduction proxy.
129 // TODO(rcs): remove this flag as soon as
130 // https://code.google.com/p/chromium/issues/detail?id=339237
131 // is resolved.
132 LOAD_FLAG(BYPASS_DATA_REDUCTION_PROXY, 1 << 29)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698