summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-24 17:59:31 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-24 17:59:31 +0000
commit21f659de19e3ea874a0958372a311746a0e764c2 (patch)
treeed614625bb19dc6d981682b4af0e1462ccfb05e5 /chrome/common
parentee2eb89954c440c9249a3bf34e6960526e2f490b (diff)
downloadchromium_src-21f659de19e3ea874a0958372a311746a0e764c2.zip
chromium_src-21f659de19e3ea874a0958372a311746a0e764c2.tar.gz
chromium_src-21f659de19e3ea874a0958372a311746a0e764c2.tar.bz2
Http cache: Enable experimental support for byte range requests.
Requires --enable-byte-range-support BUG=12258 TEST=covered by unit tests. Review URL: http://codereview.chromium.org/173231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24113 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/chrome_switches.cc3
-rw-r--r--chrome/common/chrome_switches.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index c62c4db..a232be0 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -591,4 +591,7 @@ const wchar_t kSyncServiceURL[] = L"sync-url";
const wchar_t kCookiePipe[] = L"cookie-pipe";
#endif
+// Enable experimental support for cached byte-ranges.
+const wchar_t kEnableByteRangeSupport[] = L"enable-byte-range-support";
+
} // namespace switches
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h
index e4dc936..fce1b69 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -239,6 +239,8 @@ extern const wchar_t kSyncServiceURL[];
extern const wchar_t kCookiePipe[];
#endif
+extern const wchar_t kEnableByteRangeSupport[];
+
} // namespace switches
#endif // CHROME_COMMON_CHROME_SWITCHES_H_