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

Unified Diff: storage/browser/blob/blob_storage_context.h

Issue 1098853003: [BlobAsync] Patch 4: Browser Classes & Logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 5 years, 1 month 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/blob_storage_context.h
diff --git a/storage/browser/blob/blob_storage_context.h b/storage/browser/blob/blob_storage_context.h
index cf73c8a28f881e0bc0c7d13c5720d1550a27e4ad..eba8abea16e9efa6852b78f3646335120360def4 100644
--- a/storage/browser/blob/blob_storage_context.h
+++ b/storage/browser/blob/blob_storage_context.h
@@ -55,7 +55,10 @@ class STORAGE_EXPORT BlobStorageContext
// To cleanly use a builder multiple times, please call Clone() on the
// builder, or even better for memory savings, clear the builder and append
// the previously constructed blob.
- scoped_ptr<BlobDataHandle> AddFinishedBlob(BlobDataBuilder* builder);
+ scoped_ptr<BlobDataHandle> AddFinishedBlob(const BlobDataBuilder& builder);
+
+ // Deprecated, use const ref version above.
+ scoped_ptr<BlobDataHandle> AddFinishedBlob(const BlobDataBuilder* builder);
// Useful for coining blob urls from within the browser process.
bool RegisterPublicBlobURL(const GURL& url, const std::string& uuid);

Powered by Google App Engine
This is Rietveld 408576698