Commit d001052c authored by Chris Mumford's avatar Chris Mumford Committed by Chromium LUCI CQ

indexeddb: Made two IndexedDBDispatcherHost methods private.

mojo_blob_storage_context() and native_file_system_context() are only
used by IndexedDBDispatcherHost. Making them private to simplify the
interface.

Bug: none
Change-Id: I7647d6c8301e7ccce9e60d0ea363202ed8e80d5e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2575897Reviewed-by: default avatarJoshua Bell <jsbell@chromium.org>
Commit-Queue: Chris Mumford <cmumford@google.com>
Cr-Commit-Position: refs/heads/master@{#834037}
parent 33a54867
...@@ -64,8 +64,6 @@ class CONTENT_EXPORT IndexedDBDispatcherHost : public blink::mojom::IDBFactory { ...@@ -64,8 +64,6 @@ class CONTENT_EXPORT IndexedDBDispatcherHost : public blink::mojom::IDBFactory {
// A shortcut for accessing our context. // A shortcut for accessing our context.
IndexedDBContextImpl* context() const { return indexed_db_context_; } IndexedDBContextImpl* context() const { return indexed_db_context_; }
storage::mojom::BlobStorageContext* mojo_blob_storage_context();
storage::mojom::NativeFileSystemContext* native_file_system_context();
// Must be called on the IDB sequence. // Must be called on the IDB sequence.
base::WeakPtr<IndexedDBDispatcherHost> AsWeakPtr() { base::WeakPtr<IndexedDBDispatcherHost> AsWeakPtr() {
...@@ -97,6 +95,9 @@ class CONTENT_EXPORT IndexedDBDispatcherHost : public blink::mojom::IDBFactory { ...@@ -97,6 +95,9 @@ class CONTENT_EXPORT IndexedDBDispatcherHost : public blink::mojom::IDBFactory {
private: private:
friend class IndexedDBDispatcherHostTest; friend class IndexedDBDispatcherHostTest;
storage::mojom::BlobStorageContext* mojo_blob_storage_context();
storage::mojom::NativeFileSystemContext* native_file_system_context();
// blink::mojom::IDBFactory implementation: // blink::mojom::IDBFactory implementation:
void GetDatabaseInfo(mojo::PendingAssociatedRemote<blink::mojom::IDBCallbacks> void GetDatabaseInfo(mojo::PendingAssociatedRemote<blink::mojom::IDBCallbacks>
pending_callbacks) override; pending_callbacks) override;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment