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 #include <stdint.h> | 5 #include <stdint.h> |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "base/stl_util.h" | 8 #include "base/stl_util.h" |
9 #include "base/thread_task_runner_handle.h" | 9 #include "base/threading/thread_task_runner_handle.h" |
10 #include "chrome/browser/sync_file_system/local/canned_syncable_file_system.h" | 10 #include "chrome/browser/sync_file_system/local/canned_syncable_file_system.h" |
11 #include "chrome/browser/sync_file_system/local/local_file_change_tracker.h" | 11 #include "chrome/browser/sync_file_system/local/local_file_change_tracker.h" |
12 #include "chrome/browser/sync_file_system/local/local_file_sync_context.h" | 12 #include "chrome/browser/sync_file_system/local/local_file_sync_context.h" |
13 #include "chrome/browser/sync_file_system/local/sync_file_system_backend.h" | 13 #include "chrome/browser/sync_file_system/local/sync_file_system_backend.h" |
14 #include "chrome/browser/sync_file_system/syncable_file_system_util.h" | 14 #include "chrome/browser/sync_file_system/syncable_file_system_util.h" |
15 #include "content/public/test/async_file_test_helper.h" | 15 #include "content/public/test/async_file_test_helper.h" |
16 #include "content/public/test/sandbox_file_system_test_helper.h" | 16 #include "content/public/test/sandbox_file_system_test_helper.h" |
17 #include "content/public/test/test_browser_thread_bundle.h" | 17 #include "content/public/test/test_browser_thread_bundle.h" |
18 #include "storage/browser/fileapi/file_system_context.h" | 18 #include "storage/browser/fileapi/file_system_context.h" |
19 #include "storage/browser/fileapi/file_system_operation_context.h" | 19 #include "storage/browser/fileapi/file_system_operation_context.h" |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 sync_file_system::SYNC_FILE_TYPE_DIRECTORY)); | 245 sync_file_system::SYNC_FILE_TYPE_DIRECTORY)); |
246 VerifyAndClearChange(URL(kPath1), | 246 VerifyAndClearChange(URL(kPath1), |
247 FileChange(FileChange::FILE_CHANGE_DELETE, | 247 FileChange(FileChange::FILE_CHANGE_DELETE, |
248 sync_file_system::SYNC_FILE_TYPE_DIRECTORY)); | 248 sync_file_system::SYNC_FILE_TYPE_DIRECTORY)); |
249 VerifyAndClearChange(URL(kPath2), | 249 VerifyAndClearChange(URL(kPath2), |
250 FileChange(FileChange::FILE_CHANGE_DELETE, | 250 FileChange(FileChange::FILE_CHANGE_DELETE, |
251 sync_file_system::SYNC_FILE_TYPE_FILE)); | 251 sync_file_system::SYNC_FILE_TYPE_FILE)); |
252 } | 252 } |
253 | 253 |
254 } // namespace sync_file_system | 254 } // namespace sync_file_system |
OLD | NEW |