OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "sync/engine/process_commit_response_command.h" | 5 #include "sync/engine/process_commit_response_command.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/location.h" | 9 #include "base/location.h" |
10 #include "base/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
11 #include "sync/internal_api/public/test/test_entry_factory.h" | 11 #include "sync/internal_api/public/test/test_entry_factory.h" |
12 #include "sync/protocol/bookmark_specifics.pb.h" | 12 #include "sync/protocol/bookmark_specifics.pb.h" |
13 #include "sync/protocol/sync.pb.h" | 13 #include "sync/protocol/sync.pb.h" |
14 #include "sync/sessions/sync_session.h" | 14 #include "sync/sessions/sync_session.h" |
15 #include "sync/syncable/entry.h" | 15 #include "sync/syncable/entry.h" |
16 #include "sync/syncable/mutable_entry.h" | 16 #include "sync/syncable/mutable_entry.h" |
17 #include "sync/syncable/syncable_id.h" | 17 #include "sync/syncable/syncable_id.h" |
18 #include "sync/syncable/syncable_proto_util.h" | 18 #include "sync/syncable/syncable_proto_util.h" |
19 #include "sync/syncable/syncable_read_transaction.h" | 19 #include "sync/syncable/syncable_read_transaction.h" |
20 #include "sync/syncable/syncable_write_transaction.h" | 20 #include "sync/syncable/syncable_write_transaction.h" |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 } | 356 } |
357 } | 357 } |
358 cid = c.GetSuccessorId(); | 358 cid = c.GetSuccessorId(); |
359 child_count++; | 359 child_count++; |
360 } | 360 } |
361 ASSERT_EQ(batch_size*2, child_count) | 361 ASSERT_EQ(batch_size*2, child_count) |
362 << "Too few or too many children in parent folder after commit."; | 362 << "Too few or too many children in parent folder after commit."; |
363 } | 363 } |
364 | 364 |
365 } // namespace syncer | 365 } // namespace syncer |
OLD | NEW |