OLD | NEW |
1 // Copyright (c) 2011 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 <vector> | 5 #include <vector> |
6 | 6 |
7 #include "chrome/browser/sync/engine/cleanup_disabled_types_command.h" | 7 #include "sync/engine/cleanup_disabled_types_command.h" |
8 | 8 |
9 #include "chrome/browser/sync/sessions/sync_session.h" | 9 #include "sync/sessions/sync_session.h" |
10 #include "chrome/browser/sync/syncable/model_type_test_util.h" | 10 #include "sync/syncable/model_type_test_util.h" |
11 #include "chrome/browser/sync/test/engine/syncer_command_test.h" | 11 #include "sync/test/engine/syncer_command_test.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
13 #include "testing/gmock/include/gmock/gmock.h" | 13 #include "testing/gmock/include/gmock/gmock.h" |
14 | 14 |
15 namespace browser_sync { | 15 namespace browser_sync { |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
19 using syncable::HasModelTypes; | 19 using syncable::HasModelTypes; |
20 using syncable::ModelTypeSet; | 20 using syncable::ModelTypeSet; |
21 using testing::_; | 21 using testing::_; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 68 |
69 const ModelTypeSet expected(syncable::PASSWORDS, syncable::PREFERENCES); | 69 const ModelTypeSet expected(syncable::PASSWORDS, syncable::PREFERENCES); |
70 EXPECT_CALL(*mock_directory(), | 70 EXPECT_CALL(*mock_directory(), |
71 PurgeEntriesWithTypeIn(HasModelTypes(expected))); | 71 PurgeEntriesWithTypeIn(HasModelTypes(expected))); |
72 command.ExecuteImpl(session()); | 72 command.ExecuteImpl(session()); |
73 } | 73 } |
74 | 74 |
75 } // namespace | 75 } // namespace |
76 | 76 |
77 } // namespace browser_sync | 77 } // namespace browser_sync |
OLD | NEW |