Chromium Code Reviews| Index: net/disk_cache/cache_creator.cc |
| diff --git a/net/disk_cache/cache_creator.cc b/net/disk_cache/cache_creator.cc |
| index fb2bd34f4ece18a85e58d054e55a5e27cfcc0be7..acdf0551322fe22502b2af1dc5d697880eb71f05 100644 |
| --- a/net/disk_cache/cache_creator.cc |
| +++ b/net/disk_cache/cache_creator.cc |
| @@ -81,6 +81,16 @@ int CacheCreator::Run() { |
| // not belong to it. |
| const std::string experiment_name = |
| base::FieldTrialList::FindFullName("SimpleCacheTrial"); |
| + |
| + if (type_ == net::DISK_CACHE) { |
|
pasko-google - do not use
2013/05/02 15:29:35
I thought you would change this in a separate CL,
gavinp
2013/05/02 15:32:40
I recommended he do this; I thought it would be ni
pasko-google - do not use
2013/05/02 15:35:55
sry, I normally do not look at patch set names, pr
|
| + disk_cache::SimpleBackendImpl* simple_cache = |
| + new disk_cache::SimpleBackendImpl(path_, max_bytes_, type_, thread_, |
| + net_log_); |
| + created_cache_ = simple_cache; |
| + return simple_cache->Init( |
| + base::Bind(&CacheCreator::OnIOComplete, base::Unretained(this))); |
| + } |
| + |
| if (experiment_name == "ExplicitYes" || experiment_name == "ExperimentYes" || |
| experiment_name == "ExperimentYes2") { |
| // TODO(gavinp,pasko): While simple backend development proceeds, we're only |