| Index: chrome/browser/net/chrome_url_request_context.cc
|
| ===================================================================
|
| --- chrome/browser/net/chrome_url_request_context.cc (revision 29212)
|
| +++ chrome/browser/net/chrome_url_request_context.cc (working copy)
|
| @@ -133,8 +133,8 @@
|
| context->ssl_config_service_,
|
| disk_cache_path.ToWStringHack(), cache_size);
|
|
|
| - if (command_line.HasSwitch(switches::kEnableByteRangeSupport))
|
| - cache->set_enable_range_support(true);
|
| + if (command_line.HasSwitch(switches::kDisableByteRangeSupport))
|
| + cache->set_enable_range_support(false);
|
|
|
| bool record_mode = chrome::kRecordModeEnabled &&
|
| command_line.HasSwitch(switches::kRecordMode);
|
| @@ -235,8 +235,8 @@
|
| context->http_transaction_factory_ = cache;
|
|
|
| if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableByteRangeSupport))
|
| - cache->set_enable_range_support(true);
|
| + switches::kDisableByteRangeSupport))
|
| + cache->set_enable_range_support(false);
|
|
|
| // The kWininetFtp switch is Windows specific because we have two FTP
|
| // implementations on Windows.
|
| @@ -308,8 +308,8 @@
|
| }
|
|
|
| if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableByteRangeSupport))
|
| - cache->set_enable_range_support(true);
|
| + switches::kDisableByteRangeSupport))
|
| + cache->set_enable_range_support(false);
|
|
|
| cache->set_type(net::MEDIA_CACHE);
|
| context->http_transaction_factory_ = cache;
|
|
|