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

Unified Diff: ipc/ipc_message_utils.cc

Issue 145303002: Convert Media Galleries to use base::File (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 11 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 | « ipc/ipc_message_utils.h ('k') | ipc/ipc_platform_file.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_message_utils.cc
diff --git a/ipc/ipc_message_utils.cc b/ipc/ipc_message_utils.cc
index b6524437684768c3b8c8876c8e976bbd17104480..a67c5f5cf9eae33b92bf64e67cab2a348348bf44 100644
--- a/ipc/ipc_message_utils.cc
+++ b/ipc/ipc_message_utils.cc
@@ -555,8 +555,8 @@ void ParamTraits<base::NullableString16>::Log(const param_type& p,
l->append(")");
}
-void ParamTraits<base::PlatformFileInfo>::Write(Message* m,
- const param_type& p) {
+void ParamTraits<base::File::Info>::Write(Message* m,
+ const param_type& p) {
WriteParam(m, p.size);
WriteParam(m, p.is_directory);
WriteParam(m, p.last_modified.ToDoubleT());
@@ -564,9 +564,9 @@ void ParamTraits<base::PlatformFileInfo>::Write(Message* m,
WriteParam(m, p.creation_time.ToDoubleT());
}
-bool ParamTraits<base::PlatformFileInfo>::Read(const Message* m,
- PickleIterator* iter,
- param_type* p) {
+bool ParamTraits<base::File::Info>::Read(const Message* m,
+ PickleIterator* iter,
+ param_type* p) {
double last_modified;
double last_accessed;
double creation_time;
@@ -584,8 +584,8 @@ bool ParamTraits<base::PlatformFileInfo>::Read(const Message* m,
return result;
}
-void ParamTraits<base::PlatformFileInfo>::Log(const param_type& p,
- std::string* l) {
+void ParamTraits<base::File::Info>::Log(const param_type& p,
+ std::string* l) {
l->append("(");
LogParam(p.size, l);
l->append(",");
« no previous file with comments | « ipc/ipc_message_utils.h ('k') | ipc/ipc_platform_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698