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 CHROME_BROWSER_CHROMEOS_DRIVE_FILE_CHANGE_H_ | 5 #ifndef COMPONENTS_DRIVE_FILE_CHANGE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_CHANGE_H_ | 6 #define COMPONENTS_DRIVE_FILE_CHANGE_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
14 #include "storage/browser/fileapi/file_system_url.h" | |
15 | 14 |
16 namespace drive { | 15 namespace drive { |
17 class ResourceEntry; | 16 class ResourceEntry; |
18 | 17 |
19 class FileChange { | 18 class FileChange { |
20 public: | 19 public: |
21 enum FileType { | 20 enum FileType { |
22 FILE_TYPE_NO_INFO, | 21 FILE_TYPE_NO_INFO, |
23 FILE_TYPE_FILE, | 22 FILE_TYPE_FILE, |
24 FILE_TYPE_DIRECTORY, | 23 FILE_TYPE_DIRECTORY, |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 } | 107 } |
109 | 108 |
110 std::string DebugString() const; | 109 std::string DebugString() const; |
111 | 110 |
112 private: | 111 private: |
113 Map map_; | 112 Map map_; |
114 }; | 113 }; |
115 | 114 |
116 } // namespace drive | 115 } // namespace drive |
117 | 116 |
118 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_CHANGE_H_ | 117 #endif // COMPONENTS_DRIVE_FILE_CHANGE_H_ |
OLD | NEW |