Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: content/browser/storage_partition_impl_map.cc

Issue 12093012: Clean up of url data manager classes in content: move URLDataSourceImpl to its own file, move all t… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/resource_context_impl.cc ('k') | content/browser/webui/url_data_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/storage_partition_impl_map.h" 5 #include "content/browser/storage_partition_impl_map.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 chrome::kFileSystemScheme, 184 chrome::kFileSystemScheme,
185 CreateFileSystemProtocolHandler(file_system_context)); 185 CreateFileSystemProtocolHandler(file_system_context));
186 DCHECK(set_protocol); 186 DCHECK(set_protocol);
187 187
188 job_factory->AddInterceptor( 188 job_factory->AddInterceptor(
189 new DeveloperProtocolHandler(appcache_service, 189 new DeveloperProtocolHandler(appcache_service,
190 blob_storage_context->controller())); 190 blob_storage_context->controller()));
191 191
192 set_protocol = job_factory->SetProtocolHandler( 192 set_protocol = job_factory->SetProtocolHandler(
193 chrome::kChromeUIScheme, 193 chrome::kChromeUIScheme,
194 ChromeURLDataManagerBackend::CreateProtocolHandler( 194 URLDataManagerBackend::CreateProtocolHandler(
195 GetURLDataManagerForResourceContext(resource_context), 195 GetURLDataManagerForResourceContext(resource_context),
196 off_the_record)); 196 off_the_record));
197 DCHECK(set_protocol); 197 DCHECK(set_protocol);
198 198
199 set_protocol = job_factory->SetProtocolHandler( 199 set_protocol = job_factory->SetProtocolHandler(
200 chrome::kChromeDevToolsScheme, 200 chrome::kChromeDevToolsScheme,
201 CreateDevToolsProtocolHandler( 201 CreateDevToolsProtocolHandler(
202 GetURLDataManagerForResourceContext(resource_context), 202 GetURLDataManagerForResourceContext(resource_context),
203 off_the_record)); 203 off_the_record));
204 DCHECK(set_protocol); 204 DCHECK(set_protocol);
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 626
627 // We do not call InitializeURLRequestContext() for media contexts because, 627 // We do not call InitializeURLRequestContext() for media contexts because,
628 // other than the HTTP cache, the media contexts share the same backing 628 // other than the HTTP cache, the media contexts share the same backing
629 // objects as their associated "normal" request context. Thus, the previous 629 // objects as their associated "normal" request context. Thus, the previous
630 // call serves to initialize the media request context for this storage 630 // call serves to initialize the media request context for this storage
631 // partition as well. 631 // partition as well.
632 } 632 }
633 } 633 }
634 634
635 } // namespace content 635 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/resource_context_impl.cc ('k') | content/browser/webui/url_data_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698