| Index: net/http/http_cache.cc | 
| =================================================================== | 
| --- net/http/http_cache.cc	(revision 156633) | 
| +++ net/http/http_cache.cc	(working copy) | 
| @@ -352,7 +352,7 @@ | 
| CreateBackend(NULL, net::CompletionCallback()); | 
| } | 
|  | 
| -  HttpCache::Transaction* trans = new HttpCache::Transaction(this, NULL); | 
| +  HttpCache::Transaction* trans = new HttpCache::Transaction(this, NULL, NULL); | 
| MetadataWriter* writer = new MetadataWriter(trans); | 
|  | 
| // The writer will self destruct when done. | 
| @@ -390,7 +390,8 @@ | 
| void HttpCache::InitializeInfiniteCache(const FilePath& path) { | 
| if (base::FieldTrialList::FindFullName("InfiniteCache") != "Yes") | 
| return; | 
| -  // TODO(rvargas): initialize the infinite cache | 
| +  // To be enabled after everything is fully wired. | 
| +  // infinite_cache_.Init(path); | 
| } | 
|  | 
| int HttpCache::CreateTransaction(scoped_ptr<HttpTransaction>* trans, | 
| @@ -401,7 +402,10 @@ | 
| CreateBackend(NULL, net::CompletionCallback()); | 
| } | 
|  | 
| -  trans->reset(new HttpCache::Transaction(this, delegate)); | 
| +  InfiniteCacheTransaction* infinite_cache_transaction = | 
| +      infinite_cache_.CreateInfiniteCacheTransaction(); | 
| +  trans->reset(new HttpCache::Transaction(this, delegate, | 
| +                                          infinite_cache_transaction)); | 
| return OK; | 
| } | 
|  | 
|  |