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: storage/browser/blob/shareable_blob_data_item.h

Issue 1234813004: [BlobAsync] Asynchronous Blob Construction Final Patch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blob-protocol-change
Patch Set: Comments Created 4 years, 9 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: storage/browser/blob/shareable_blob_data_item.h
diff --git a/storage/browser/blob/shareable_blob_data_item.h b/storage/browser/blob/shareable_blob_data_item.h
index 8df83895e40c1bc21def32c0d0dbd694682478d5..4c2f9c1833262d18dfa82b622abdfef8585b9541 100644
--- a/storage/browser/blob/shareable_blob_data_item.h
+++ b/storage/browser/blob/shareable_blob_data_item.h
@@ -5,6 +5,8 @@
#ifndef STORAGE_BROWSER_BLOB_SHAREABLE_BLOB_DATA_ITEM_H_
#define STORAGE_BROWSER_BLOB_SHAREABLE_BLOB_DATA_ITEM_H_
+#include <string>
+
#include "base/containers/hash_tables.h"
#include "base/hash.h"
#include "base/macros.h"
@@ -12,8 +14,8 @@
#include "storage/common/data_element.h"
namespace storage {
-
class BlobDataItem;
+class InternalBlobData;
// This class allows blob items to be shared between blobs, and is only used by
// BlobStorageContext. This class contains both the blob data item and the uuids
@@ -34,6 +36,7 @@ class ShareableBlobDataItem : public base::RefCounted<ShareableBlobDataItem> {
private:
friend class base::RefCounted<ShareableBlobDataItem>;
+ friend class InternalBlobData;
~ShareableBlobDataItem();
scoped_refptr<BlobDataItem> item_;

Powered by Google App Engine
This is Rietveld 408576698