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 "chrome/browser/sync_file_system/file_change.h" | 5 #include "chrome/browser/sync_file_system/file_change.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include <stddef.h> |
| 8 |
8 #include "base/logging.h" | 9 #include "base/logging.h" |
9 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
10 | 11 |
11 namespace sync_file_system { | 12 namespace sync_file_system { |
12 | 13 |
13 namespace { | 14 namespace { |
14 | 15 |
15 FileChange AddOrUpdateFile() { | 16 FileChange AddOrUpdateFile() { |
16 return FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, SYNC_FILE_TYPE_FILE); | 17 return FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, SYNC_FILE_TYPE_FILE); |
17 } | 18 } |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 DeleteFile(), | 128 DeleteFile(), |
128 AddOrUpdateFile(), | 129 AddOrUpdateFile(), |
129 DeleteFile(), | 130 DeleteFile(), |
130 }; | 131 }; |
131 const FileChange kExpected4[] = { DeleteFile() }; | 132 const FileChange kExpected4[] = { DeleteFile() }; |
132 CreateList(&list, kInput4); | 133 CreateList(&list, kInput4); |
133 VerifyList(list, kExpected4); | 134 VerifyList(list, kExpected4); |
134 } | 135 } |
135 | 136 |
136 } // namespace sync_file_system | 137 } // namespace sync_file_system |
OLD | NEW |