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

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

Issue 266373006: Blobs: Mechanism for creating Blobs in browser process, then transferring to renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move typedef Created 6 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
« no previous file with comments | « content/browser/browser_context.cc ('k') | content/browser/fileapi/chrome_blob_storage_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/fileapi/chrome_blob_storage_context.h
diff --git a/content/browser/fileapi/chrome_blob_storage_context.h b/content/browser/fileapi/chrome_blob_storage_context.h
index 641e235300629c6c214693f77c25801a75035b57..1dccd99faf0a94ca48e72d52433736fa96e62301 100644
--- a/content/browser/fileapi/chrome_blob_storage_context.h
+++ b/content/browser/fileapi/chrome_blob_storage_context.h
@@ -15,6 +15,7 @@ class BlobStorageContext;
}
namespace content {
+class BlobHandle;
class BrowserContext;
struct ChromeBlobStorageContextDeleter;
@@ -40,6 +41,10 @@ class CONTENT_EXPORT ChromeBlobStorageContext
return context_.get();
}
+ // Returns a NULL scoped_ptr on failure.
+ scoped_ptr<BlobHandle> CreateMemoryBackedBlob(const char* data,
+ size_t length);
+
protected:
virtual ~ChromeBlobStorageContext();
« no previous file with comments | « content/browser/browser_context.cc ('k') | content/browser/fileapi/chrome_blob_storage_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698