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

Unified Diff: chrome/common/common_param_traits.cc

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/common_param_traits.h ('k') | chrome/common/file_system/file_system_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/common_param_traits.cc
===================================================================
--- chrome/common/common_param_traits.cc (revision 57922)
+++ chrome/common/common_param_traits.cc (working copy)
@@ -4,7 +4,6 @@
#include "chrome/common/common_param_traits.h"
-#include "base/time.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/common/content_settings.h"
#include "chrome/common/geoposition.h"
@@ -688,34 +687,4 @@
l->append("<printing::NativeMetafile>");
}
-void ParamTraits<file_util::FileInfo>::Write(
- Message* m, const param_type& p) {
- WriteParam(m, p.size);
- WriteParam(m, p.is_directory);
- WriteParam(m, p.last_modified.ToDoubleT());
-}
-
-bool ParamTraits<file_util::FileInfo>::Read(
- const Message* m, void** iter, param_type* p) {
- double last_modified;
- bool result =
- ReadParam(m, iter, &p->size) &&
- ReadParam(m, iter, &p->is_directory) &&
- ReadParam(m, iter, &last_modified);
- if (result)
- p->last_modified = base::Time::FromDoubleT(last_modified);
- return result;
-}
-
-void ParamTraits<file_util::FileInfo>::Log(
- const param_type& p, std::string* l) {
- l->append("(");
- LogParam(p.size, l);
- l->append(",");
- LogParam(p.is_directory, l);
- l->append(",");
- LogParam(p.last_modified.ToDoubleT(), l);
- l->append(")");
-}
-
} // namespace IPC
« no previous file with comments | « chrome/common/common_param_traits.h ('k') | chrome/common/file_system/file_system_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698