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 "chrome/browser/sync/glue/data_type_manager_impl.h" | 5 #include "chrome/browser/sync/glue/data_type_manager_impl.h" |
6 | 6 |
7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "chrome/browser/sync/glue/backend_data_type_configurer.h" | 9 #include "chrome/browser/sync/glue/backend_data_type_configurer.h" |
10 #include "chrome/browser/sync/glue/data_type_controller.h" | 10 #include "chrome/browser/sync/glue/data_type_controller.h" |
11 #include "chrome/browser/sync/internal_api/configure_reason.h" | 11 #include "chrome/browser/sync/internal_api/configure_reason.h" |
12 #include "chrome/browser/sync/syncable/model_type.h" | |
13 #include "chrome/common/chrome_notification_types.h" | 12 #include "chrome/common/chrome_notification_types.h" |
14 #include "content/public/browser/notification_details.h" | 13 #include "content/public/browser/notification_details.h" |
15 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
16 #include "content/public/browser/notification_service.h" | 15 #include "content/public/browser/notification_service.h" |
17 #include "content/test/notification_observer_mock.h" | 16 #include "content/test/notification_observer_mock.h" |
18 #include "content/test/test_browser_thread.h" | 17 #include "content/test/test_browser_thread.h" |
| 18 #include "sync/syncable/model_type.h" |
19 #include "testing/gmock/include/gmock/gmock.h" | 19 #include "testing/gmock/include/gmock/gmock.h" |
20 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
21 | 21 |
22 namespace browser_sync { | 22 namespace browser_sync { |
23 | 23 |
24 using syncable::ModelType; | 24 using syncable::ModelType; |
25 using syncable::ModelTypeSet; | 25 using syncable::ModelTypeSet; |
26 using syncable::ModelTypeToString; | 26 using syncable::ModelTypeToString; |
27 using syncable::BOOKMARKS; | 27 using syncable::BOOKMARKS; |
28 using syncable::PASSWORDS; | 28 using syncable::PASSWORDS; |
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
791 | 791 |
792 INSTANTIATE_TEST_CASE_P( | 792 INSTANTIATE_TEST_CASE_P( |
793 WithoutNigori, SyncDataTypeManagerImplTest, | 793 WithoutNigori, SyncDataTypeManagerImplTest, |
794 ::testing::Values(BackendDataTypeConfigurer::WITHOUT_NIGORI)); | 794 ::testing::Values(BackendDataTypeConfigurer::WITHOUT_NIGORI)); |
795 | 795 |
796 INSTANTIATE_TEST_CASE_P( | 796 INSTANTIATE_TEST_CASE_P( |
797 WithNigori, SyncDataTypeManagerImplTest, | 797 WithNigori, SyncDataTypeManagerImplTest, |
798 ::testing::Values(BackendDataTypeConfigurer::WITH_NIGORI)); | 798 ::testing::Values(BackendDataTypeConfigurer::WITH_NIGORI)); |
799 | 799 |
800 } // namespace browser_sync | 800 } // namespace browser_sync |
OLD | NEW |