indexeddb: rename indexed_db_factory_ => dispatcher_host_.
IndexedDBContextImpl had the following two member variables: IndexedDBDispatcherHost indexed_db_factory_; std::unique_ptr<IndexedDBFactoryImpl> indexeddb_factory_; The first name was confusing. Renamed to: IndexedDBDispatcherHost dispatcher_host_; to avoid confusion. Bug: none Change-Id: Iaefb0e077f94ea2e1639a4c7aeb28a29f9a3ffab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2575037 Reviewed-by: Joshua Bell <jsbell@chromium.org> Commit-Queue: Chris Mumford <cmumford@google.com> Cr-Commit-Position: refs/heads/master@{#833830}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
0120a77b30
commit
8d17a1281c
content/browser/indexed_db
@ -125,7 +125,7 @@ IndexedDBContextImpl::IndexedDBContextImpl(
|
||||
base::TaskPriority::USER_VISIBLE,
|
||||
// BLOCK_SHUTDOWN to support clearing session-only storage.
|
||||
base::TaskShutdownBehavior::BLOCK_SHUTDOWN}))),
|
||||
indexed_db_factory_(this),
|
||||
dispatcher_host_(this),
|
||||
force_keep_session_state_(false),
|
||||
quota_manager_proxy_(quota_manager_proxy),
|
||||
io_task_runner_(io_task_runner),
|
||||
@ -177,7 +177,7 @@ void IndexedDBContextImpl::Bind(
|
||||
void IndexedDBContextImpl::BindIndexedDB(
|
||||
const url::Origin& origin,
|
||||
mojo::PendingReceiver<blink::mojom::IDBFactory> receiver) {
|
||||
indexed_db_factory_.AddReceiver(origin, std::move(receiver));
|
||||
dispatcher_host_.AddReceiver(origin, std::move(receiver));
|
||||
}
|
||||
|
||||
void IndexedDBContextImpl::GetUsage(GetUsageCallback usage_callback) {
|
||||
|
@ -234,7 +234,7 @@ class CONTENT_EXPORT IndexedDBContextImpl
|
||||
// backing stores); the cache will be primed as needed by checking disk.
|
||||
std::set<url::Origin>* GetOriginSet();
|
||||
|
||||
IndexedDBDispatcherHost indexed_db_factory_;
|
||||
IndexedDBDispatcherHost dispatcher_host_;
|
||||
|
||||
// Bound and accessed on the |idb_task_runner_|.
|
||||
mojo::Remote<storage::mojom::BlobStorageContext> blob_storage_context_;
|
||||
|
Reference in New Issue
Block a user