| OLD | NEW |
| 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/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "webkit/fileapi/file_system_url.h" | 13 #include "webkit/common/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 sync_file_system { | 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, |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 std::string DebugString() const; | 69 std::string DebugString() const; |
| 70 | 70 |
| 71 private: | 71 private: |
| 72 List list_; | 72 List list_; |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 } // namespace sync_file_system | 75 } // namespace sync_file_system |
| 76 | 76 |
| 77 #endif // WEBKIT_FILEAPI_SYNCABLE_FILE_CHANGE_H_ | 77 #endif // WEBKIT_FILEAPI_SYNCABLE_FILE_CHANGE_H_ |
| OLD | NEW |