OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "chrome/browser/sync_file_system/fake_remote_change_processor.h" | 5 #include "chrome/browser/sync_file_system/fake_remote_change_processor.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
9 #include "base/location.h" | 11 #include "base/location.h" |
10 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
11 #include "base/thread_task_runner_handle.h" | 13 #include "base/thread_task_runner_handle.h" |
12 #include "chrome/browser/sync_file_system/file_change.h" | 14 #include "chrome/browser/sync_file_system/file_change.h" |
13 #include "chrome/browser/sync_file_system/sync_file_metadata.h" | 15 #include "chrome/browser/sync_file_system/sync_file_metadata.h" |
14 #include "chrome/browser/sync_file_system/syncable_file_system_util.h" | 16 #include "chrome/browser/sync_file_system/syncable_file_system_util.h" |
15 #include "storage/browser/fileapi/file_system_url.h" | 17 #include "storage/browser/fileapi/file_system_url.h" |
16 #include "storage/common/fileapi/file_system_util.h" | 18 #include "storage/common/fileapi/file_system_util.h" |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 for (size_t i = 0; i < applied.size() && i < expected.size(); ++i) { | 167 for (size_t i = 0; i < applied.size() && i < expected.size(); ++i) { |
166 EXPECT_EQ(expected[i], applied[i]) | 168 EXPECT_EQ(expected[i], applied[i]) |
167 << url.DebugString() | 169 << url.DebugString() |
168 << " expected:" << expected[i].DebugString() | 170 << " expected:" << expected[i].DebugString() |
169 << " applied:" << applied[i].DebugString(); | 171 << " applied:" << applied[i].DebugString(); |
170 } | 172 } |
171 } | 173 } |
172 } | 174 } |
173 | 175 |
174 } // namespace sync_file_system | 176 } // namespace sync_file_system |
OLD | NEW |