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 "base/basictypes.h" | 5 #include "base/basictypes.h" |
6 #include "sync/engine/process_updates_command.h" | 6 #include "sync/engine/process_updates_command.h" |
7 #include "sync/internal_api/public/base/model_type.h" | 7 #include "sync/internal_api/public/base/model_type.h" |
8 #include "sync/sessions/session_state.h" | |
9 #include "sync/sessions/sync_session.h" | 8 #include "sync/sessions/sync_session.h" |
10 #include "sync/syncable/mutable_entry.h" | 9 #include "sync/syncable/mutable_entry.h" |
11 #include "sync/syncable/syncable_id.h" | 10 #include "sync/syncable/syncable_id.h" |
12 #include "sync/test/engine/fake_model_worker.h" | 11 #include "sync/test/engine/fake_model_worker.h" |
13 #include "sync/test/engine/syncer_command_test.h" | 12 #include "sync/test/engine/syncer_command_test.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
15 | 14 |
16 namespace syncer { | 15 namespace syncer { |
17 | 16 |
18 using syncable::Id; | 17 using syncable::Id; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 AddUpdate(updates, "a1", root, AUTOFILL); | 90 AddUpdate(updates, "a1", root, AUTOFILL); |
92 | 91 |
93 ExpectGroupsToChange(command_, GROUP_UI, GROUP_DB); | 92 ExpectGroupsToChange(command_, GROUP_UI, GROUP_DB); |
94 | 93 |
95 command_.ExecuteImpl(session()); | 94 command_.ExecuteImpl(session()); |
96 } | 95 } |
97 | 96 |
98 } // namespace | 97 } // namespace |
99 | 98 |
100 } // namespace syncer | 99 } // namespace syncer |
OLD | NEW |