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

Unified Diff: chrome/common/render_messages_params.h

Issue 3245010: Revert 57915 - Add final part of IPC plumbing for FileSystem API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | « chrome/common/render_messages_internal.h ('k') | chrome/common/render_messages_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages_params.h
===================================================================
--- chrome/common/render_messages_params.h (revision 57922)
+++ chrome/common/render_messages_params.h (working copy)
@@ -845,27 +845,6 @@
int64 requested_size;
};
-struct ViewMsg_FileSystem_DidReadDirectory_Params {
- // The response should have this id.
- int request_id;
-
- // TODO(kinuko): replace this with file_util_proxy's entry structure
- // once it's defined.
- struct Entry {
- // Name of the entry.
- FilePath name;
-
- // Indicates if the entry is directory or not.
- bool is_directory;
- };
-
- // A vector of directory entries.
- std::vector<Entry> entries;
-
- // Indicates if there will be more entries.
- bool has_more;
-};
-
namespace IPC {
class Message;
@@ -1119,22 +1098,6 @@
static void Log(const param_type& p, std::string* l);
};
-template <>
-struct ParamTraits<ViewMsg_FileSystem_DidReadDirectory_Params> {
- typedef ViewMsg_FileSystem_DidReadDirectory_Params 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);
-};
-
-template <>
-struct ParamTraits<ViewMsg_FileSystem_DidReadDirectory_Params::Entry> {
- typedef ViewMsg_FileSystem_DidReadDirectory_Params::Entry 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
#endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/common/render_messages_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698