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) { |
gavinp
2013/05/03 11:19:27
This will need to be removed before landing.
|
+ 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 |