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

Side by Side Diff: content/browser/loader/resource_message_filter.cc

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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
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/loader/resource_message_filter.h" 5 #include "content/browser/loader/resource_message_filter.h"
6 6
7 #include "content/browser/appcache/chrome_appcache_service.h" 7 #include "content/browser/appcache/chrome_appcache_service.h"
8 #include "content/browser/fileapi/chrome_blob_storage_context.h" 8 #include "content/browser/fileapi/chrome_blob_storage_context.h"
9 #include "content/browser/loader/resource_dispatcher_host_impl.h" 9 #include "content/browser/loader/resource_dispatcher_host_impl.h"
10 #include "content/browser/service_worker/service_worker_context_wrapper.h" 10 #include "content/browser/service_worker/service_worker_context_wrapper.h"
11 #include "content/common/resource_messages.h" 11 #include "content/common/resource_messages.h"
12 #include "content/public/browser/resource_context.h" 12 #include "content/public/browser/resource_context.h"
13 #include "webkit/browser/fileapi/file_system_context.h" 13 #include "storage/browser/fileapi/file_system_context.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 ResourceMessageFilter::ResourceMessageFilter( 17 ResourceMessageFilter::ResourceMessageFilter(
18 int child_id, 18 int child_id,
19 int process_type, 19 int process_type,
20 ChromeAppCacheService* appcache_service, 20 ChromeAppCacheService* appcache_service,
21 ChromeBlobStorageContext* blob_storage_context, 21 ChromeBlobStorageContext* blob_storage_context,
22 fileapi::FileSystemContext* file_system_context, 22 storage::FileSystemContext* file_system_context,
23 ServiceWorkerContextWrapper* service_worker_context, 23 ServiceWorkerContextWrapper* service_worker_context,
24 const GetContextsCallback& get_contexts_callback) 24 const GetContextsCallback& get_contexts_callback)
25 : BrowserMessageFilter(ResourceMsgStart), 25 : BrowserMessageFilter(ResourceMsgStart),
26 child_id_(child_id), 26 child_id_(child_id),
27 process_type_(process_type), 27 process_type_(process_type),
28 appcache_service_(appcache_service), 28 appcache_service_(appcache_service),
29 blob_storage_context_(blob_storage_context), 29 blob_storage_context_(blob_storage_context),
30 file_system_context_(file_system_context), 30 file_system_context_(file_system_context),
31 service_worker_context_(service_worker_context), 31 service_worker_context_(service_worker_context),
32 get_contexts_callback_(get_contexts_callback), 32 get_contexts_callback_(get_contexts_callback),
(...skipping 18 matching lines...) Expand all
51 ResourceContext** resource_context, 51 ResourceContext** resource_context,
52 net::URLRequestContext** request_context) { 52 net::URLRequestContext** request_context) {
53 return get_contexts_callback_.Run(request, resource_context, request_context); 53 return get_contexts_callback_.Run(request, resource_context, request_context);
54 } 54 }
55 55
56 base::WeakPtr<ResourceMessageFilter> ResourceMessageFilter::GetWeakPtr() { 56 base::WeakPtr<ResourceMessageFilter> ResourceMessageFilter::GetWeakPtr() {
57 return weak_ptr_factory_.GetWeakPtr(); 57 return weak_ptr_factory_.GetWeakPtr();
58 } 58 }
59 59
60 } // namespace content 60 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/loader/resource_message_filter.h ('k') | content/browser/loader/temporary_file_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698