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

Unified Diff: content/browser/storage_partition_impl.h

Issue 2906543002: Add support for reading blobs when using the network service. (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/storage_partition_impl.h
diff --git a/content/browser/storage_partition_impl.h b/content/browser/storage_partition_impl.h
index 0e70993d3805f3f4a68612d2f8abe4d8bd600e5b..be3db26665888f06496b17fc5fd915cd1daeb3f4 100644
--- a/content/browser/storage_partition_impl.h
+++ b/content/browser/storage_partition_impl.h
@@ -18,6 +18,7 @@
#include "content/browser/appcache/chrome_appcache_service.h"
#include "content/browser/background_fetch/background_fetch_context.h"
#include "content/browser/background_sync/background_sync_context.h"
+#include "content/browser/blob_storage/blob_url_loader_factory.h"
#include "content/browser/bluetooth/bluetooth_allowed_devices_map.h"
#include "content/browser/broadcast_channel/broadcast_channel_provider.h"
#include "content/browser/cache_storage/cache_storage_context_impl.h"
@@ -38,6 +39,7 @@
#include "storage/browser/quota/special_storage_policy.h"
namespace content {
+class BlobURLLoaderFactory;
class CONTENT_EXPORT StoragePartitionImpl
: public StoragePartition,
@@ -111,6 +113,7 @@ class CONTENT_EXPORT StoragePartitionImpl
PaymentAppContextImpl* GetPaymentAppContext();
BroadcastChannelProvider* GetBroadcastChannelProvider();
BluetoothAllowedDevicesMap* GetBluetoothAllowedDevicesMap();
+ BlobURLLoaderFactory* GetBlobURLLoaderFactory();
// mojom::StoragePartitionService interface.
void OpenLocalStorage(
@@ -240,6 +243,7 @@ class CONTENT_EXPORT StoragePartitionImpl
scoped_refptr<PaymentAppContextImpl> payment_app_context_;
scoped_refptr<BroadcastChannelProvider> broadcast_channel_provider_;
scoped_refptr<BluetoothAllowedDevicesMap> bluetooth_allowed_devices_map_;
+ scoped_refptr<BlobURLLoaderFactory> blob_url_loader_factory_;
mojo::BindingSet<mojom::StoragePartitionService> bindings_;
mojom::NetworkContextPtr network_context_;

Powered by Google App Engine
This is Rietveld 408576698