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

Unified Diff: content/public/browser/browser_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: 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
Index: content/public/browser/browser_context.h
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index d4e80b218a3e79e4fdc658a959467f3568591d79..bd6e1549c281c2597d409f5397ac48294fac6ec3 100644
--- a/content/public/browser/browser_context.h
+++ b/content/public/browser/browser_context.h
@@ -31,6 +31,7 @@ class SpecialStoragePolicy;
namespace content {
+class BlobContext;
class BrowserPluginGuestManagerDelegate;
class DownloadManager;
class DownloadManagerDelegate;
@@ -77,6 +78,9 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
static content::StoragePartition* GetDefaultStoragePartition(
BrowserContext* browser_context);
+ // Returns the BlobContext for this context.
+ static content::BlobContext* GetBlobContext(BrowserContext* browser_context);
jam 2014/05/12 22:35:03 why expose this "blob context" concept to embedder
tommycli 2014/05/12 23:35:05 BlobHandle's content-private implementing class (S
jam 2014/05/13 02:44:23 ah, I missed that sorry. ok please put this in a s
tommycli 2014/05/13 18:27:42 Done.
+
// Ensures that the corresponding ResourceContext is initialized. Normally the
// BrowserContext initializs the corresponding getters when its objects are
// created, but if the embedder wants to pass the ResourceContext to another

Powered by Google App Engine
This is Rietveld 408576698