| 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 691734017dc9beaf1b3c48410fbff0024886b8cb..4f737ae8d806e286765ddbf4454df62c6c232cb3 100644
|
| --- a/content/browser/fileapi/chrome_blob_storage_context.h
|
| +++ b/content/browser/fileapi/chrome_blob_storage_context.h
|
| @@ -30,22 +30,27 @@ struct ChromeBlobStorageContextDeleter;
|
| // All methods, except the ctor, are expected to be called on
|
| // the IO thread (unless specifically called out in doc comments).
|
| class CONTENT_EXPORT ChromeBlobStorageContext
|
| - : public base::RefCountedThreadSafe<
|
| - ChromeBlobStorageContext, ChromeBlobStorageContextDeleter> {
|
| + : public base::RefCountedThreadSafe<ChromeBlobStorageContext,
|
| + ChromeBlobStorageContextDeleter> {
|
| public:
|
| + ChromeBlobStorageContext();
|
| +
|
| static ChromeBlobStorageContext* GetFor(
|
| content::BrowserContext* browser_context);
|
|
|
| - ChromeBlobStorageContext();
|
| - virtual ~ChromeBlobStorageContext();
|
| -
|
| void InitializeOnIOThread();
|
|
|
| webkit_blob::BlobStorageController* controller() const {
|
| return controller_.get();
|
| }
|
|
|
| + protected:
|
| + virtual ~ChromeBlobStorageContext();
|
| +
|
| private:
|
| + friend class base::DeleteHelper<ChromeBlobStorageContext>;
|
| + friend class base::RefCountedThreadSafe<ChromeBlobStorageContext,
|
| + ChromeBlobStorageContextDeleter>;
|
| friend struct ChromeBlobStorageContextDeleter;
|
|
|
| void DeleteOnCorrectThread() const;
|
|
|