| Index: content/browser/fileapi/fileapi_message_filter.h
|
| diff --git a/content/browser/fileapi/fileapi_message_filter.h b/content/browser/fileapi/fileapi_message_filter.h
|
| index 6a3b2319871604828df9d4a027b7e1c6cd44a18d..46a87eb94e061a47beae238a63383d5ea2dc9e89 100644
|
| --- a/content/browser/fileapi/fileapi_message_filter.h
|
| +++ b/content/browser/fileapi/fileapi_message_filter.h
|
| @@ -137,6 +137,7 @@ class CONTENT_EXPORT FileAPIMessageFilter : public BrowserMessageFilter {
|
|
|
| // Handlers for BlobHostMsg_ family messages.
|
|
|
| + public: // TODO(ericu): put this back to private.
|
| void OnStartBuildingBlob(const std::string& uuid);
|
| void OnAppendBlobDataItemToBlob(const std::string& uuid,
|
| const webkit_blob::BlobData::Item& item);
|
| @@ -145,18 +146,21 @@ class CONTENT_EXPORT FileAPIMessageFilter : public BrowserMessageFilter {
|
| size_t buffer_size);
|
| void OnFinishBuildingBlob(const std::string& uuid,
|
| const std::string& content_type);
|
| + private: // TODO(ericu): End temporary public section.
|
| void OnCancelBuildingBlob(const std::string& uuid);
|
| void OnIncrementBlobRefCount(const std::string& uuid);
|
| void OnDecrementBlobRefCount(const std::string& uuid);
|
| void OnRegisterPublicBlobURL(const GURL& public_url, const std::string& uuid);
|
| void OnRevokePublicBlobURL(const GURL& public_url);
|
|
|
| + public: // TODO(ericu): put this back to private.
|
| // Extra methods to establish a mapping from old-style blobURLs to uuids,
|
| // and to clone them. These won't be here for long, just during a
|
| // transition period. See crbug/174200
|
| void OnDeprecatedRegisterBlobURL(const GURL& url, const std::string& uuid);
|
| void OnDeprecatedCloneBlobURL(const GURL& url, const GURL& existing_url);
|
| void OnDeprecatedRevokeBlobURL(const GURL& url);
|
| + private: // TODO(ericu): End temporary public section.
|
|
|
| // Handlers for StreamHostMsg_ family messages.
|
| //
|
| @@ -233,8 +237,8 @@ class CONTENT_EXPORT FileAPIMessageFilter : public BrowserMessageFilter {
|
| typedef std::map<int, OperationID> OperationsMap;
|
| OperationsMap operations_;
|
|
|
| - // The getter holds the context until Init() can be called from the
|
| - // IO thread, which will extract the net::URLRequestContext from it.
|
| + // The getter holds the context until OnChannelConnected() can be called from
|
| + // the IO thread, which will extract the net::URLRequestContext from it.
|
| scoped_refptr<net::URLRequestContextGetter> request_context_getter_;
|
| net::URLRequestContext* request_context_;
|
|
|
|
|