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

Unified Diff: content/browser/blob_storage/chrome_blob_storage_context.h

Issue 2892953006: WIP POC blob transport over mojo
Patch Set: pass mojo blobs over ipc 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/blob_storage/chrome_blob_storage_context.h
diff --git a/content/browser/blob_storage/chrome_blob_storage_context.h b/content/browser/blob_storage/chrome_blob_storage_context.h
index ad4a2a2c58a51f33b5a4ad74b6ea3c482b588a60..e982ba7226d969c0a343d2eaf9f8ee19282e2e90 100644
--- a/content/browser/blob_storage/chrome_blob_storage_context.h
+++ b/content/browser/blob_storage/chrome_blob_storage_context.h
@@ -14,6 +14,8 @@
#include "base/memory/ref_counted.h"
#include "base/sequenced_task_runner_helpers.h"
#include "content/common/content_export.h"
+#include "services/service_manager/public/cpp/bind_source_info.h"
+#include "third_party/WebKit/public/platform/blobs.mojom.h"
namespace base {
class FilePath;
@@ -22,6 +24,7 @@ class Time;
}
namespace storage {
+class BlobRegistryImpl;
class BlobStorageContext;
}
@@ -64,6 +67,9 @@ class CONTENT_EXPORT ChromeBlobStorageContext
int64_t size,
const base::Time& expected_modification_time);
+ void BindBlobRegistry(const service_manager::BindSourceInfo& source_info,
+ storage::mojom::BlobRegistryRequest request);
+
protected:
virtual ~ChromeBlobStorageContext();
@@ -76,6 +82,7 @@ class CONTENT_EXPORT ChromeBlobStorageContext
void DeleteOnCorrectThread() const;
std::unique_ptr<storage::BlobStorageContext> context_;
+ std::unique_ptr<storage::BlobRegistryImpl> blob_registry_;
};
struct ChromeBlobStorageContextDeleter {
« no previous file with comments | « content/browser/blob_storage/blob_dispatcher_host.cc ('k') | content/browser/blob_storage/chrome_blob_storage_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698