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

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

Issue 2398783002: Rename a bunch of Mojo Application stuff to reference Services. (Closed)
Patch Set: . Created 4 years, 2 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
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.h" 5 #include "content/browser/storage_partition_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 context, partition_path, in_memory, quota_manager->proxy()); 452 context, partition_path, in_memory, quota_manager->proxy());
453 453
454 scoped_refptr<storage::DatabaseTracker> database_tracker = 454 scoped_refptr<storage::DatabaseTracker> database_tracker =
455 new storage::DatabaseTracker( 455 new storage::DatabaseTracker(
456 partition_path, in_memory, context->GetSpecialStoragePolicy(), 456 partition_path, in_memory, context->GetSpecialStoragePolicy(),
457 quota_manager->proxy(), 457 quota_manager->proxy(),
458 BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE).get()); 458 BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE).get());
459 459
460 scoped_refptr<DOMStorageContextWrapper> dom_storage_context = 460 scoped_refptr<DOMStorageContextWrapper> dom_storage_context =
461 new DOMStorageContextWrapper( 461 new DOMStorageContextWrapper(
462 BrowserContext::GetShellConnectorFor(context), 462 BrowserContext::GetConnectorFor(context),
463 in_memory ? base::FilePath() : context->GetPath(), 463 in_memory ? base::FilePath() : context->GetPath(),
464 relative_partition_path, context->GetSpecialStoragePolicy()); 464 relative_partition_path, context->GetSpecialStoragePolicy());
465 465
466 // BrowserMainLoop may not be initialized in unit tests. Tests will 466 // BrowserMainLoop may not be initialized in unit tests. Tests will
467 // need to inject their own task runner into the IndexedDBContext. 467 // need to inject their own task runner into the IndexedDBContext.
468 base::SequencedTaskRunner* idb_task_runner = 468 base::SequencedTaskRunner* idb_task_runner =
469 BrowserThread::CurrentlyOn(BrowserThread::UI) && 469 BrowserThread::CurrentlyOn(BrowserThread::UI) &&
470 BrowserMainLoop::GetInstance() 470 BrowserMainLoop::GetInstance()
471 ? BrowserMainLoop::GetInstance() 471 ? BrowserMainLoop::GetInstance()
472 ->indexed_db_thread() 472 ->indexed_db_thread()
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
914 net::URLRequestContextGetter* url_request_context) { 914 net::URLRequestContextGetter* url_request_context) {
915 url_request_context_ = url_request_context; 915 url_request_context_ = url_request_context;
916 } 916 }
917 917
918 void StoragePartitionImpl::SetMediaURLRequestContext( 918 void StoragePartitionImpl::SetMediaURLRequestContext(
919 net::URLRequestContextGetter* media_url_request_context) { 919 net::URLRequestContextGetter* media_url_request_context) {
920 media_url_request_context_ = media_url_request_context; 920 media_url_request_context_ = media_url_request_context;
921 } 921 }
922 922
923 } // namespace content 923 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/service_manager/service_manager_context.cc ('k') | content/browser/utility_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698