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

Unified Diff: content/common/common_param_traits.cc

Issue 6731033: Remove the path from PlatformFileInfo; it's cleaner just to pass it along as a (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
Index: content/common/common_param_traits.cc
===================================================================
--- content/common/common_param_traits.cc (revision 79607)
+++ content/common/common_param_traits.cc (working copy)
@@ -510,7 +510,6 @@
WriteParam(m, p.last_modified.ToDoubleT());
WriteParam(m, p.last_accessed.ToDoubleT());
WriteParam(m, p.creation_time.ToDoubleT());
- WriteParam(m, p.path);
}
bool ParamTraits<base::PlatformFileInfo>::Read(
@@ -523,8 +522,7 @@
ReadParam(m, iter, &p->is_directory) &&
ReadParam(m, iter, &last_modified) &&
ReadParam(m, iter, &last_accessed) &&
- ReadParam(m, iter, &creation_time) &&
- ReadParam(m, iter, &p->path);
+ ReadParam(m, iter, &creation_time);
if (result) {
p->last_modified = base::Time::FromDoubleT(last_modified);
p->last_accessed = base::Time::FromDoubleT(last_accessed);
@@ -545,8 +543,6 @@
LogParam(p.last_accessed.ToDoubleT(), l);
l->append(",");
LogParam(p.creation_time.ToDoubleT(), l);
- l->append(",");
- LogParam(p.path, l);
l->append(")");
}
« no previous file with comments | « content/browser/file_system/file_system_dispatcher_host.cc ('k') | content/common/file_system/file_system_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698