fix line is > 80 characters long

This commit is contained in:
Dun Liang 2017-05-08 15:21:39 +08:00 committed by Kevin Sawicki
parent 9ce08d08de
commit 5b02974aa8

View file

@ -96,8 +96,9 @@ URLRequestContextGetter::Delegate::CreateHttpCacheBackendFactory(
auto& command_line = *base::CommandLine::ForCurrentProcess(); auto& command_line = *base::CommandLine::ForCurrentProcess();
int max_size = 0; int max_size = 0;
if (command_line.HasSwitch(switches::kDiskCacheSize)) { if (command_line.HasSwitch(switches::kDiskCacheSize)) {
base::StringToInt(command_line.GetSwitchValueASCII(switches::kDiskCacheSize), base::StringToInt(
&max_size); command_line.GetSwitchValueASCII(switches::kDiskCacheSize),
&max_size);
} }
base::FilePath cache_path = base_path.Append(FILE_PATH_LITERAL("Cache")); base::FilePath cache_path = base_path.Append(FILE_PATH_LITERAL("Cache"));
return new net::HttpCache::DefaultBackend( return new net::HttpCache::DefaultBackend(