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

Unified Diff: content/common/webblob_messages.h

Issue 6681028: Move the blob related code to content, and also move the blob messages to the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/common/webblobregistry_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/webblob_messages.h
===================================================================
--- content/common/webblob_messages.h (revision 0)
+++ content/common/webblob_messages.h (revision 0)
@@ -0,0 +1,28 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// IPC messages for HTML5 Blob.
+// Multiply-included message file, hence no include guard.
+
+#include "content/common/common_param_traits.h"
+#include "ipc/ipc_message_macros.h"
+
+#define IPC_MESSAGE_START BlobMsgStart
+
+// Blob messages sent from the renderer to the browser.
+
+// Registers a blob URL referring to the specified blob data.
+IPC_MESSAGE_CONTROL2(BlobHostMsg_RegisterBlobUrl,
+ GURL /* url */,
+ scoped_refptr<webkit_blob::BlobData> /* blob_data */)
+
+// Registers a blob URL referring to the blob data identified by the specified
+// source URL.
+IPC_MESSAGE_CONTROL2(BlobHostMsg_RegisterBlobUrlFrom,
+ GURL /* url */,
+ GURL /* src_url */)
+
+// Unregister a blob URL.
+IPC_MESSAGE_CONTROL1(BlobHostMsg_UnregisterBlobUrl,
+ GURL /* url */)
Property changes on: content\common\webblob_messages.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/common/webblobregistry_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698