fix line is > 80 characters long
This commit is contained in:
parent
9ce08d08de
commit
5b02974aa8
1 changed files with 3 additions and 2 deletions
|
@ -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(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue