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 "base/compiler_specific.h" | 6 #include "base/compiler_specific.h" |
7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
11 #include "chrome/browser/signin/signin_manager.h" | 11 #include "chrome/browser/signin/signin_manager.h" |
12 #include "chrome/browser/signin/signin_manager_factory.h" | 12 #include "chrome/browser/signin/signin_manager_factory.h" |
13 #include "chrome/browser/signin/token_service.h" | 13 #include "chrome/browser/signin/token_service.h" |
14 #include "chrome/browser/signin/token_service_factory.h" | 14 #include "chrome/browser/signin/token_service_factory.h" |
15 #include "chrome/browser/sync/glue/bookmark_data_type_controller.h" | 15 #include "chrome/browser/sync/glue/bookmark_data_type_controller.h" |
16 #include "chrome/browser/sync/glue/data_type_controller.h" | 16 #include "chrome/browser/sync/glue/data_type_controller.h" |
17 #include "chrome/browser/sync/profile_sync_components_factory_mock.h" | 17 #include "chrome/browser/sync/profile_sync_components_factory_mock.h" |
18 #include "chrome/browser/sync/test_profile_sync_service.h" | 18 #include "chrome/browser/sync/test_profile_sync_service.h" |
19 #include "chrome/common/chrome_version_info.h" | 19 #include "chrome/common/chrome_version_info.h" |
20 #include "chrome/common/pref_names.h" | 20 #include "chrome/common/pref_names.h" |
21 #include "chrome/test/base/testing_pref_service.h" | 21 #include "chrome/test/base/testing_pref_service_syncable.h" |
22 #include "chrome/test/base/testing_profile.h" | 22 #include "chrome/test/base/testing_profile.h" |
23 #include "content/public/common/content_client.h" | 23 #include "content/public/common/content_client.h" |
24 #include "content/public/test/test_browser_thread.h" | 24 #include "content/public/test/test_browser_thread.h" |
25 #include "google/cacheinvalidation/include/types.h" | 25 #include "google/cacheinvalidation/include/types.h" |
26 #include "google_apis/gaia/gaia_constants.h" | 26 #include "google_apis/gaia/gaia_constants.h" |
27 #include "sync/js/js_arg_list.h" | 27 #include "sync/js/js_arg_list.h" |
28 #include "sync/js/js_event_details.h" | 28 #include "sync/js/js_event_details.h" |
29 #include "sync/js/js_test_util.h" | 29 #include "sync/js/js_test_util.h" |
30 #include "sync/notifier/fake_invalidation_handler.h" | 30 #include "sync/notifier/fake_invalidation_handler.h" |
31 #include "sync/notifier/invalidator.h" | 31 #include "sync/notifier/invalidator.h" |
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
628 namespace syncer { | 628 namespace syncer { |
629 namespace { | 629 namespace { |
630 | 630 |
631 // ProfileSyncService should behave just like an invalidator. | 631 // ProfileSyncService should behave just like an invalidator. |
632 INSTANTIATE_TYPED_TEST_CASE_P( | 632 INSTANTIATE_TYPED_TEST_CASE_P( |
633 ProfileSyncServiceInvalidatorTest, InvalidatorTest, | 633 ProfileSyncServiceInvalidatorTest, InvalidatorTest, |
634 ::browser_sync::ProfileSyncServiceInvalidatorTestDelegate); | 634 ::browser_sync::ProfileSyncServiceInvalidatorTestDelegate); |
635 | 635 |
636 } // namespace | 636 } // namespace |
637 } // namespace syncer | 637 } // namespace syncer |
OLD | NEW |