| 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 "components/sync/driver/sync_prefs.h" | 5 #include "components/sync/base/sync_prefs.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
| 9 #include "components/pref_registry/testing_pref_service_syncable.h" | 9 #include "components/pref_registry/testing_pref_service_syncable.h" |
| 10 #include "components/prefs/pref_notifier_impl.h" | 10 #include "components/prefs/pref_notifier_impl.h" |
| 11 #include "components/prefs/pref_value_store.h" | 11 #include "components/prefs/pref_value_store.h" |
| 12 #include "components/prefs/testing_pref_service.h" | 12 #include "components/prefs/testing_pref_service.h" |
| 13 #include "components/sync/driver/pref_names.h" | 13 #include "components/sync/base/pref_names.h" |
| 14 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
| 15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
| 16 | 16 |
| 17 namespace syncer { | 17 namespace syncer { |
| 18 | 18 |
| 19 namespace { | 19 namespace { |
| 20 | 20 |
| 21 using ::testing::InSequence; | 21 using ::testing::InSequence; |
| 22 using ::testing::StrictMock; | 22 using ::testing::StrictMock; |
| 23 | 23 |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 | 245 |
| 246 EXPECT_EQ(versions.size(), versions2.size()); | 246 EXPECT_EQ(versions.size(), versions2.size()); |
| 247 for (auto map_iter : versions2) { | 247 for (auto map_iter : versions2) { |
| 248 EXPECT_EQ(versions[map_iter.first], map_iter.second); | 248 EXPECT_EQ(versions[map_iter.first], map_iter.second); |
| 249 } | 249 } |
| 250 } | 250 } |
| 251 | 251 |
| 252 } // namespace | 252 } // namespace |
| 253 | 253 |
| 254 } // namespace syncer | 254 } // namespace syncer |
| OLD | NEW |