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

Side by Side Diff: webkit/fileapi/syncable/file_change.h

Issue 12315004: Migrated sync_file_type and file_change from namespace fileapi to sync_file_system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 10 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 (c) 2012 The Chromium Authors. All rights reserved. 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 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_FILEAPI_SYNCABLE_FILE_CHANGE_H_ 5 #ifndef WEBKIT_FILEAPI_SYNCABLE_FILE_CHANGE_H_
6 #define WEBKIT_FILEAPI_SYNCABLE_FILE_CHANGE_H_ 6 #define WEBKIT_FILEAPI_SYNCABLE_FILE_CHANGE_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/file_path.h" 12 #include "base/file_path.h"
13 #include "webkit/fileapi/file_system_url.h" 13 #include "webkit/fileapi/file_system_url.h"
14 #include "webkit/fileapi/syncable/sync_file_type.h" 14 #include "webkit/fileapi/syncable/sync_file_type.h"
15 #include "webkit/storage/webkit_storage_export.h" 15 #include "webkit/storage/webkit_storage_export.h"
16 16
17 namespace fileapi { 17 namespace sync_file_system {
18 18
19 class WEBKIT_STORAGE_EXPORT FileChange { 19 class WEBKIT_STORAGE_EXPORT FileChange {
20 public: 20 public:
21 enum ChangeType { 21 enum ChangeType {
22 FILE_CHANGE_ADD_OR_UPDATE, 22 FILE_CHANGE_ADD_OR_UPDATE,
23 FILE_CHANGE_DELETE, 23 FILE_CHANGE_DELETE,
24 }; 24 };
25 25
26 FileChange(ChangeType change, SyncFileType file_type); 26 FileChange(ChangeType change, SyncFileType file_type);
27 27
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 const FileChange& front() const { return list_.front(); } 64 const FileChange& front() const { return list_.front(); }
65 65
66 FileChangeList PopAndGetNewList() const; 66 FileChangeList PopAndGetNewList() const;
67 67
68 std::string DebugString() const; 68 std::string DebugString() const;
69 69
70 private: 70 private:
71 List list_; 71 List list_;
72 }; 72 };
73 73
74 } // namespace fileapi 74 } // namespace sync_file_system
75 75
76 #endif // WEBKIT_FILEAPI_SYNCABLE_FILE_CHANGE_H_ 76 #endif // WEBKIT_FILEAPI_SYNCABLE_FILE_CHANGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync_file_system/sync_file_system_service_unittest.cc ('k') | webkit/fileapi/syncable/file_change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698