diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-16 22:07:38 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-16 22:07:38 +0000 |
commit | a6decd19be6da302b1ed193a73183dc866b6d180 (patch) | |
tree | b9768a40354eefdae2684a183206aa9cf330ffcb /net/http | |
parent | bf1cc89221371027ea0662c1db671097048b2490 (diff) | |
download | chromium_src-a6decd19be6da302b1ed193a73183dc866b6d180.zip chromium_src-a6decd19be6da302b1ed193a73183dc866b6d180.tar.gz chromium_src-a6decd19be6da302b1ed193a73183dc866b6d180.tar.bz2 |
Http Cache: Enable byte-range support by default.
The command line parameter to modify the behavior changes from
--enable-byte-range-support
to
--disable-byte-range-support
BUG=24989
TEST= current tests
Review URL: http://codereview.chromium.org/267132
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29337 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http')
-rw-r--r-- | net/http/http_cache.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/http/http_cache.cc b/net/http/http_cache.cc index 856c41a..a2b131f 100644 --- a/net/http/http_cache.cc +++ b/net/http/http_cache.cc @@ -1601,7 +1601,7 @@ HttpCache::HttpCache(HostResolver* host_resolver, host_resolver, proxy_service, ssl_config_service)), ALLOW_THIS_IN_INITIALIZER_LIST(task_factory_(this)), in_memory_cache_(false), - enable_range_support_(false), + enable_range_support_(true), cache_size_(cache_size) { } @@ -1614,7 +1614,7 @@ HttpCache::HttpCache(HttpNetworkSession* session, network_layer_(HttpNetworkLayer::CreateFactory(session)), ALLOW_THIS_IN_INITIALIZER_LIST(task_factory_(this)), in_memory_cache_(false), - enable_range_support_(false), + enable_range_support_(true), cache_size_(cache_size) { } @@ -1628,7 +1628,7 @@ HttpCache::HttpCache(HostResolver* host_resolver, host_resolver, proxy_service, ssl_config_service)), ALLOW_THIS_IN_INITIALIZER_LIST(task_factory_(this)), in_memory_cache_(true), - enable_range_support_(false), + enable_range_support_(true), cache_size_(cache_size) { } @@ -1640,7 +1640,7 @@ HttpCache::HttpCache(HttpTransactionFactory* network_layer, disk_cache_(disk_cache), ALLOW_THIS_IN_INITIALIZER_LIST(task_factory_(this)), in_memory_cache_(false), - enable_range_support_(false), + enable_range_support_(true), cache_size_(0) { } |