| Index: chrome/browser/renderer_host/blob_message_filter.h
|
| ===================================================================
|
| --- chrome/browser/renderer_host/blob_message_filter.h (revision 75488)
|
| +++ chrome/browser/renderer_host/blob_message_filter.h (working copy)
|
| @@ -5,47 +5,7 @@
|
| #ifndef CHROME_BROWSER_RENDERER_HOST_BLOB_MESSAGE_FILTER_H_
|
| #define CHROME_BROWSER_RENDERER_HOST_BLOB_MESSAGE_FILTER_H_
|
|
|
| -#include "base/hash_tables.h"
|
| -#include "chrome/browser/browser_message_filter.h"
|
| +// TODO(jam): remove this file when all files have been converted.
|
| +#include "content/browser/renderer_host/blob_message_filter.h"
|
|
|
| -class ChromeBlobStorageContext;
|
| -class GURL;
|
| -
|
| -namespace IPC {
|
| -class Message;
|
| -}
|
| -
|
| -namespace webkit_blob {
|
| -class BlobData;
|
| -}
|
| -
|
| -class BlobMessageFilter : public BrowserMessageFilter {
|
| - public:
|
| - BlobMessageFilter(int process_id,
|
| - ChromeBlobStorageContext* blob_storage_context);
|
| - ~BlobMessageFilter();
|
| -
|
| - // BrowserMessageFilter implementation.
|
| - virtual void OnChannelClosing();
|
| - virtual bool OnMessageReceived(const IPC::Message& message,
|
| - bool* message_was_ok);
|
| -
|
| - private:
|
| - void OnRegisterBlobUrl(const GURL& url,
|
| - const scoped_refptr<webkit_blob::BlobData>& blob_data);
|
| - void OnRegisterBlobUrlFrom(const GURL& url, const GURL& src_url);
|
| - void OnUnregisterBlobUrl(const GURL& url);
|
| -
|
| - bool CheckPermission(webkit_blob::BlobData* blob_data) const;
|
| -
|
| - int process_id_;
|
| - scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
|
| -
|
| - // Keep track of blob URLs registered in this process. Need to unregister
|
| - // all of them when the renderer process dies.
|
| - base::hash_set<std::string> blob_urls_;
|
| -
|
| - DISALLOW_IMPLICIT_CONSTRUCTORS(BlobMessageFilter);
|
| -};
|
| -
|
| #endif // CHROME_BROWSER_RENDERER_HOST_BLOB_MESSAGE_FILTER_H_
|
|
|