OLD | NEW |
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_FILE_CHANGE_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_FILE_CHANGE_H_ |
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_FILE_CHANGE_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_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 "chrome/browser/sync_file_system/sync_file_type.h" | 13 #include "chrome/browser/sync_file_system/sync_file_type.h" |
14 #include "webkit/browser/fileapi/file_system_url.h" | 14 #include "storage/browser/fileapi/file_system_url.h" |
15 | 15 |
16 namespace sync_file_system { | 16 namespace sync_file_system { |
17 | 17 |
18 class FileChange { | 18 class FileChange { |
19 public: | 19 public: |
20 enum ChangeType { | 20 enum ChangeType { |
21 FILE_CHANGE_ADD_OR_UPDATE, | 21 FILE_CHANGE_ADD_OR_UPDATE, |
22 FILE_CHANGE_DELETE, | 22 FILE_CHANGE_DELETE, |
23 }; | 23 }; |
24 | 24 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 sync_file_system | 74 } // namespace sync_file_system |
75 | 75 |
76 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_FILE_CHANGE_H_ | 76 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_FILE_CHANGE_H_ |
OLD | NEW |