summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages.h
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-19 00:54:12 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-19 00:54:12 +0000
commit45afd9a78d3316144d6702ff3cc230b4b76d76c7 (patch)
tree1218e4defacc49ab0347605e1150f3baf9b46abb /chrome/common/render_messages.h
parent0e33985b3bf62dab5266b1fcbfbdf11991b0822e (diff)
downloadchromium_src-45afd9a78d3316144d6702ff3cc230b4b76d76c7.zip
chromium_src-45afd9a78d3316144d6702ff3cc230b4b76d76c7.tar.gz
chromium_src-45afd9a78d3316144d6702ff3cc230b4b76d76c7.tar.bz2
Support sync file io for pepper, to support LSOs
BUG=chromium-os:7492 TEST=run pepper flash (with LSO support) on http://www.bestflashanimationsite.com/tutorials/4/ , check that it properly stores the objects. Review URL: http://codereview.chromium.org/3800010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63003 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages.h')
-rw-r--r--chrome/common/render_messages.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 29d50e0..ce893d2 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -29,6 +29,7 @@
#include "third_party/WebKit/WebKit/chromium/public/WebStorageArea.h"
#include "webkit/appcache/appcache_interfaces.h" // enum appcache::Status
#include "webkit/fileapi/file_system_types.h" // enum fileapi::FileSystemType
+#include "webkit/glue/plugins/pepper_dir_contents.h"
#if defined(OS_MACOSX)
struct FontDescriptor;
@@ -606,6 +607,14 @@ struct ParamTraits<AudioBuffersState> {
static void Log(const param_type& p, std::string* l);
};
+template <>
+struct ParamTraits<PepperDirEntry> {
+ typedef PepperDirEntry param_type;
+ static void Write(Message* m, const param_type& p);
+ static bool Read(const Message* m, void** iter, param_type* p);
+ static void Log(const param_type& p, std::string* l);
+};
+
} // namespace IPC
#define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h"