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

Side by Side Diff: webkit/browser/fileapi/syncable/sync_file_metadata.h

Issue 16701004: Fix webkit_storage exports definitions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
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 WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNC_FILE_METADATA_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNC_FILE_METADATA_H_
6 #define WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNC_FILE_METADATA_H_ 6 #define WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNC_FILE_METADATA_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "webkit/browser/fileapi/file_system_url.h" 10 #include "webkit/browser/fileapi/file_system_url.h"
11 #include "webkit/browser/fileapi/syncable/file_change.h" 11 #include "webkit/browser/fileapi/syncable/file_change.h"
12 #include "webkit/storage/webkit_storage_export.h" 12 #include "webkit/browser/webkit_storage_browser_export.h"
13 13
14 namespace sync_file_system { 14 namespace sync_file_system {
15 15
16 class WEBKIT_STORAGE_EXPORT SyncFileMetadata { 16 class WEBKIT_STORAGE_BROWSER_EXPORT SyncFileMetadata {
17 public: 17 public:
18 SyncFileMetadata(); 18 SyncFileMetadata();
19 SyncFileMetadata(SyncFileType file_type, 19 SyncFileMetadata(SyncFileType file_type,
20 int64 size, 20 int64 size,
21 const base::Time& last_modified); 21 const base::Time& last_modified);
22 ~SyncFileMetadata(); 22 ~SyncFileMetadata();
23 23
24 SyncFileType file_type; 24 SyncFileType file_type;
25 int64 size; 25 int64 size;
26 base::Time last_modified; 26 base::Time last_modified;
27 27
28 bool operator==(const SyncFileMetadata& that) const; 28 bool operator==(const SyncFileMetadata& that) const;
29 }; 29 };
30 30
31 struct WEBKIT_STORAGE_EXPORT LocalFileSyncInfo { 31 struct WEBKIT_STORAGE_BROWSER_EXPORT LocalFileSyncInfo {
32 LocalFileSyncInfo(); 32 LocalFileSyncInfo();
33 ~LocalFileSyncInfo(); 33 ~LocalFileSyncInfo();
34 34
35 fileapi::FileSystemURL url; 35 fileapi::FileSystemURL url;
36 base::FilePath local_file_path; 36 base::FilePath local_file_path;
37 SyncFileMetadata metadata; 37 SyncFileMetadata metadata;
38 FileChangeList changes; 38 FileChangeList changes;
39 }; 39 };
40 40
41 } // namespace sync_file_system 41 } // namespace sync_file_system
42 42
43 #endif // WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNC_FILE_METADATA_H_ 43 #endif // WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNC_FILE_METADATA_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/syncable/local_file_sync_status.h ('k') | webkit/browser/fileapi/syncable/sync_status_code.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698