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

Side by Side Diff: webkit/fileapi/syncable/sync_file_metadata.cc

Issue 15806012: Move webkit/fileapi/syncable/* code to webkit/browser/fileapi (final!) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "webkit/fileapi/syncable/sync_file_metadata.h"
6
7 using sync_file_system::SyncFileType;
8
9 namespace sync_file_system {
10
11 SyncFileMetadata::SyncFileMetadata()
12 : file_type(sync_file_system::SYNC_FILE_TYPE_UNKNOWN),
13 size(-1) {
14 }
15
16 SyncFileMetadata::SyncFileMetadata(
17 SyncFileType file_type,
18 int64 size,
19 const base::Time& last_modified)
20 : file_type(file_type),
21 size(size),
22 last_modified(last_modified) {
23 }
24
25 SyncFileMetadata::~SyncFileMetadata() {}
26
27 bool SyncFileMetadata::operator==(const SyncFileMetadata& that) const {
28 return file_type == that.file_type &&
29 size == that.size &&
30 last_modified == that.last_modified;
31 }
32
33 LocalFileSyncInfo::LocalFileSyncInfo() {}
34 LocalFileSyncInfo::~LocalFileSyncInfo() {}
35
36 } // namespace sync_file_system
OLDNEW
« no previous file with comments | « webkit/fileapi/syncable/sync_file_metadata.h ('k') | webkit/fileapi/syncable/sync_file_status.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698