summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages_params.h
diff options
context:
space:
mode:
authorkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-08 21:00:56 +0000
committerkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-08 21:00:56 +0000
commitf0cd4461c006a2f6c10291b72368d1c8ac560dd7 (patch)
treec54d5034d1e9ee5c38a37c10fb105b18abc83f91 /chrome/common/render_messages_params.h
parentb2bb85f8583c490a6da94a7e6d93dcdff367e4ce (diff)
downloadchromium_src-f0cd4461c006a2f6c10291b72368d1c8ac560dd7.zip
chromium_src-f0cd4461c006a2f6c10291b72368d1c8ac560dd7.tar.gz
chromium_src-f0cd4461c006a2f6c10291b72368d1c8ac560dd7.tar.bz2
Integrate FileSystemOperation with FileSystemDispatcherHost.
(This patch depends on unsubmitted change in file_util_proxy: http://codereview.chromium.org/3293009/show) BUG=32277 TEST=none; layout tests will be added later. Review URL: http://codereview.chromium.org/3328011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58870 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages_params.h')
-rw-r--r--chrome/common/render_messages_params.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/chrome/common/render_messages_params.h b/chrome/common/render_messages_params.h
index 904e094..c5a38b6 100644
--- a/chrome/common/render_messages_params.h
+++ b/chrome/common/render_messages_params.h
@@ -11,6 +11,7 @@
#include "app/surface/transport_dib.h"
#include "base/file_path.h"
+#include "base/file_util_proxy.h"
#include "base/ref_counted.h"
#include "base/shared_memory.h"
#include "base/time.h"
@@ -846,18 +847,8 @@ 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;
+ std::vector<base::file_util_proxy::Entry> entries;
// Indicates if there will be more entries.
bool has_more;
@@ -1125,8 +1116,8 @@ struct ParamTraits<ViewMsg_FileSystem_DidReadDirectory_Params> {
};
template <>
-struct ParamTraits<ViewMsg_FileSystem_DidReadDirectory_Params::Entry> {
- typedef ViewMsg_FileSystem_DidReadDirectory_Params::Entry param_type;
+struct ParamTraits<base::file_util_proxy::Entry> {
+ typedef base::file_util_proxy::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);