| 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_LOCAL_FILE_CHANGE_TRACKER_H_ | 5 #ifndef WEBKIT_FILEAPI_SYNCABLE_LOCAL_FILE_CHANGE_TRACKER_H_ |
| 6 #define WEBKIT_FILEAPI_SYNCABLE_LOCAL_FILE_CHANGE_TRACKER_H_ | 6 #define WEBKIT_FILEAPI_SYNCABLE_LOCAL_FILE_CHANGE_TRACKER_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/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/synchronization/lock.h" | 17 #include "base/synchronization/lock.h" |
| 18 #include "webkit/common/fileapi/file_system_url.h" |
| 18 #include "webkit/fileapi/file_observers.h" | 19 #include "webkit/fileapi/file_observers.h" |
| 19 #include "webkit/fileapi/file_system_url.h" | |
| 20 #include "webkit/fileapi/syncable/file_change.h" | 20 #include "webkit/fileapi/syncable/file_change.h" |
| 21 #include "webkit/fileapi/syncable/sync_status_code.h" | 21 #include "webkit/fileapi/syncable/sync_status_code.h" |
| 22 #include "webkit/storage/webkit_storage_export.h" | 22 #include "webkit/storage/webkit_storage_export.h" |
| 23 | 23 |
| 24 namespace base { | 24 namespace base { |
| 25 class SequencedTaskRunner; | 25 class SequencedTaskRunner; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace fileapi { | 28 namespace fileapi { |
| 29 class FileSystemContext; | 29 class FileSystemContext; |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 // This can be accessed on any threads (with num_changes_lock_). | 141 // This can be accessed on any threads (with num_changes_lock_). |
| 142 int64 num_changes_; | 142 int64 num_changes_; |
| 143 mutable base::Lock num_changes_lock_; | 143 mutable base::Lock num_changes_lock_; |
| 144 | 144 |
| 145 DISALLOW_COPY_AND_ASSIGN(LocalFileChangeTracker); | 145 DISALLOW_COPY_AND_ASSIGN(LocalFileChangeTracker); |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 } // namespace sync_file_system | 148 } // namespace sync_file_system |
| 149 | 149 |
| 150 #endif // WEBKIT_FILEAPI_SYNCABLE_LOCAL_FILE_CHANGE_TRACKER_H_ | 150 #endif // WEBKIT_FILEAPI_SYNCABLE_LOCAL_FILE_CHANGE_TRACKER_H_ |
| OLD | NEW |