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

Unified Diff: chrome/common/pepper_file_messages.h

Issue 5828003: Move the Pepper implementation from webkit/glue/plugins/pepper_* to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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 | « chrome/browser/renderer_host/pepper_file_message_filter.cc ('k') | chrome/common/pepper_file_messages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/pepper_file_messages.h
===================================================================
--- chrome/common/pepper_file_messages.h (revision 69381)
+++ chrome/common/pepper_file_messages.h (working copy)
@@ -10,15 +10,16 @@
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_param_traits.h"
#include "ipc/ipc_platform_file.h"
-#include "webkit/glue/plugins/pepper_dir_contents.h"
+#include "webkit/plugins/ppapi/dir_contents.h"
#define IPC_MESSAGE_START PepperFileMsgStart
namespace IPC {
+// Also needed for Serializing DirContents, which is just a vector of DirEntry.
template <>
-struct ParamTraits<PepperDirEntry> {
- typedef PepperDirEntry param_type;
+struct ParamTraits<webkit::ppapi::DirEntry> {
+ typedef webkit::ppapi::DirEntry 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);
@@ -61,7 +62,7 @@
// Get the directory's contents.
IPC_SYNC_MESSAGE_CONTROL1_2(PepperFileMsg_GetDirContents,
FilePath /* path */,
- PepperDirContents, /* contents */
+ webkit::ppapi::DirContents, /* contents */
base::PlatformFileError /* error_code */)
#endif // CHROME_COMMON_PEPPER_FILE_MESSAGES_H_
« no previous file with comments | « chrome/browser/renderer_host/pepper_file_message_filter.cc ('k') | chrome/common/pepper_file_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698