summaryrefslogtreecommitdiffstats
path: root/net/base/load_flags_list.h
diff options
context:
space:
mode:
authorcaseq@google.com <caseq@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-06 16:16:05 +0000
committercaseq@google.com <caseq@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-06 16:16:05 +0000
commitb707912881d14be9da53f20e35937f7e4f458550 (patch)
treeaeb92912f2c2550778cfcb5a37d2d91a226da99a /net/base/load_flags_list.h
parentabc7e06dd115173991e19456940f3af933287b10 (diff)
downloadchromium_src-b707912881d14be9da53f20e35937f7e4f458550.zip
chromium_src-b707912881d14be9da53f20e35937f7e4f458550.tar.gz
chromium_src-b707912881d14be9da53f20e35937f7e4f458550.tar.bz2
Added support for raw headers.
Added DevToolsNetLogObserver (used by the above) BUG=http://crbug.com/41916 TEST=none Review URL: http://codereview.chromium.org/3133016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61648 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/load_flags_list.h')
-rw-r--r--net/base/load_flags_list.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/base/load_flags_list.h b/net/base/load_flags_list.h
index 1125a3e..a7181f2 100644
--- a/net/base/load_flags_list.h
+++ b/net/base/load_flags_list.h
@@ -91,3 +91,9 @@ LOAD_FLAG(MAIN_FRAME, 1 << 20)
// Indicate that this is a sub frame, and hence it might have subresources that
// should be speculatively resolved, or even speculatively preconnected.
LOAD_FLAG(SUB_FRAME, 1 << 21)
+
+// If present, intercept actual request/response headers from network stack
+// and report them to renderer. This includes cookies, so the flag is only
+// respected if renderer has CanReadRawCookies capability in the security
+// policy.
+LOAD_FLAG(REPORT_RAW_HEADERS, 1 << 22)