Index: content/browser/renderer_host/blob_message_filter.h |
=================================================================== |
--- content/browser/renderer_host/blob_message_filter.h (revision 102629) |
+++ content/browser/renderer_host/blob_message_filter.h (working copy) |
@@ -7,6 +7,7 @@ |
#include "base/hash_tables.h" |
#include "content/browser/browser_message_filter.h" |
+#include "webkit/blob/blob_data.h" |
class ChromeBlobStorageContext; |
class GURL; |
@@ -15,10 +16,6 @@ |
class Message; |
} |
-namespace webkit_blob { |
-class BlobData; |
-} |
- |
class BlobMessageFilter : public BrowserMessageFilter { |
public: |
BlobMessageFilter(int process_id, |
@@ -31,13 +28,13 @@ |
bool* message_was_ok); |
private: |
- void OnRegisterBlobUrl(const GURL& url, |
- const scoped_refptr<webkit_blob::BlobData>& blob_data); |
+ void OnRegisterUnfinalizedBlobUrl(const GURL& url); |
+ void OnAppendBlobDataItem(const GURL& url, |
+ const webkit_blob::BlobData::Item& item); |
+ void OnFinalizeBlob(const GURL& url, const std::string& content_type); |
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_; |