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 #include "webkit/fileapi/syncable/local_file_change_tracker.h" | 5 #include "webkit/fileapi/syncable/local_file_change_tracker.h" |
6 | 6 |
7 #include <queue> | 7 #include <queue> |
8 | 8 |
9 #include "base/location.h" | 9 #include "base/location.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/sequenced_task_runner.h" |
11 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
12 #include "base/task/sequenced_task_runner.h" | |
13 #include "third_party/leveldatabase/src/include/leveldb/db.h" | 13 #include "third_party/leveldatabase/src/include/leveldb/db.h" |
14 #include "webkit/fileapi/file_system_context.h" | 14 #include "webkit/fileapi/file_system_context.h" |
15 #include "webkit/fileapi/file_system_file_util.h" | 15 #include "webkit/fileapi/file_system_file_util.h" |
16 #include "webkit/fileapi/file_system_operation_context.h" | 16 #include "webkit/fileapi/file_system_operation_context.h" |
17 #include "webkit/fileapi/file_system_util.h" | 17 #include "webkit/fileapi/file_system_util.h" |
18 #include "webkit/fileapi/syncable/local_file_sync_status.h" | 18 #include "webkit/fileapi/syncable/local_file_sync_status.h" |
19 #include "webkit/fileapi/syncable/syncable_file_system_util.h" | 19 #include "webkit/fileapi/syncable/syncable_file_system_util.h" |
20 | 20 |
21 using fileapi::FileSystemContext; | 21 using fileapi::FileSystemContext; |
22 using fileapi::FileSystemFileUtil; | 22 using fileapi::FileSystemFileUtil; |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 db_.reset(); | 417 db_.reset(); |
418 return db_status_; | 418 return db_status_; |
419 } | 419 } |
420 dirty_files->push(url); | 420 dirty_files->push(url); |
421 iter->Next(); | 421 iter->Next(); |
422 } | 422 } |
423 return SYNC_STATUS_OK; | 423 return SYNC_STATUS_OK; |
424 } | 424 } |
425 | 425 |
426 } // namespace sync_file_system | 426 } // namespace sync_file_system |
OLD | NEW |