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

Side by Side Diff: chrome/browser/sync_file_system/sync_file_metadata.h

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_METADATA_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_METADATA_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_METADATA_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_METADATA_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "chrome/browser/sync_file_system/file_change.h" 10 #include "chrome/browser/sync_file_system/file_change.h"
11 #include "webkit/browser/fileapi/file_system_url.h" 11 #include "storage/browser/fileapi/file_system_url.h"
12 12
13 namespace sync_file_system { 13 namespace sync_file_system {
14 14
15 class SyncFileMetadata { 15 class SyncFileMetadata {
16 public: 16 public:
17 SyncFileMetadata(); 17 SyncFileMetadata();
18 SyncFileMetadata(SyncFileType file_type, 18 SyncFileMetadata(SyncFileType file_type,
19 int64 size, 19 int64 size,
20 const base::Time& last_modified); 20 const base::Time& last_modified);
21 ~SyncFileMetadata(); 21 ~SyncFileMetadata();
22 22
23 SyncFileType file_type; 23 SyncFileType file_type;
24 int64 size; 24 int64 size;
25 base::Time last_modified; 25 base::Time last_modified;
26 26
27 bool operator==(const SyncFileMetadata& that) const; 27 bool operator==(const SyncFileMetadata& that) const;
28 }; 28 };
29 29
30 struct LocalFileSyncInfo { 30 struct LocalFileSyncInfo {
31 LocalFileSyncInfo(); 31 LocalFileSyncInfo();
32 ~LocalFileSyncInfo(); 32 ~LocalFileSyncInfo();
33 33
34 fileapi::FileSystemURL url; 34 storage::FileSystemURL url;
35 base::FilePath local_file_path; 35 base::FilePath local_file_path;
36 SyncFileMetadata metadata; 36 SyncFileMetadata metadata;
37 FileChangeList changes; 37 FileChangeList changes;
38 }; 38 };
39 39
40 } // namespace sync_file_system 40 } // namespace sync_file_system
41 41
42 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_METADATA_H_ 42 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_METADATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync_file_system/sync_event_observer.h ('k') | chrome/browser/sync_file_system/sync_file_system_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698