OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/sync_backend_host_impl.h" | 5 #include "chrome/browser/sync/glue/sync_backend_host_impl.h" |
6 | 6 |
7 #include <cstddef> | 7 #include <cstddef> |
8 | 8 |
9 #include "base/files/file_util.h" | 9 #include "base/files/file_util.h" |
10 #include "base/location.h" | 10 #include "base/location.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
13 #include "base/synchronization/waitable_event.h" | 13 #include "base/synchronization/waitable_event.h" |
14 #include "base/test/test_timeouts.h" | 14 #include "base/test/test_timeouts.h" |
15 #include "chrome/browser/chrome_notification_types.h" | 15 #include "chrome/browser/chrome_notification_types.h" |
16 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" | 16 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" |
17 #include "chrome/browser/prefs/pref_service_syncable.h" | 17 #include "chrome/browser/prefs/pref_service_syncable.h" |
18 #include "chrome/test/base/testing_browser_process.h" | 18 #include "chrome/test/base/testing_browser_process.h" |
19 #include "chrome/test/base/testing_profile.h" | 19 #include "chrome/test/base/testing_profile.h" |
20 #include "chrome/test/base/testing_profile_manager.h" | 20 #include "chrome/test/base/testing_profile_manager.h" |
21 #include "components/invalidation/invalidator_state.h" | 21 #include "components/invalidation/impl/invalidator_storage.h" |
22 #include "components/invalidation/invalidator_storage.h" | 22 #include "components/invalidation/impl/profile_invalidation_provider.h" |
23 #include "components/invalidation/profile_invalidation_provider.h" | 23 #include "components/invalidation/public/invalidator_state.h" |
24 #include "components/sync_driver/device_info.h" | 24 #include "components/sync_driver/device_info.h" |
25 #include "components/sync_driver/sync_frontend.h" | 25 #include "components/sync_driver/sync_frontend.h" |
26 #include "components/sync_driver/sync_prefs.h" | 26 #include "components/sync_driver/sync_prefs.h" |
27 #include "content/public/browser/notification_service.h" | 27 #include "content/public/browser/notification_service.h" |
28 #include "content/public/test/test_browser_thread_bundle.h" | 28 #include "content/public/test/test_browser_thread_bundle.h" |
29 #include "content/public/test/test_utils.h" | 29 #include "content/public/test/test_utils.h" |
30 #include "google/cacheinvalidation/include/types.h" | 30 #include "google/cacheinvalidation/include/types.h" |
31 #include "google_apis/gaia/gaia_constants.h" | 31 #include "google_apis/gaia/gaia_constants.h" |
32 #include "net/url_request/test_url_fetcher_factory.h" | 32 #include "net/url_request/test_url_fetcher_factory.h" |
33 #include "sync/internal_api/public/base/model_type.h" | 33 #include "sync/internal_api/public/base/model_type.h" |
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
793 syncer::ModelTypeSet()); | 793 syncer::ModelTypeSet()); |
794 EXPECT_TRUE( | 794 EXPECT_TRUE( |
795 ready_types.Equals(syncer::Difference(enabled_types_, error_types))); | 795 ready_types.Equals(syncer::Difference(enabled_types_, error_types))); |
796 EXPECT_FALSE(fake_manager_->GetTypesWithEmptyProgressMarkerToken( | 796 EXPECT_FALSE(fake_manager_->GetTypesWithEmptyProgressMarkerToken( |
797 error_types).Empty()); | 797 error_types).Empty()); |
798 } | 798 } |
799 | 799 |
800 } // namespace | 800 } // namespace |
801 | 801 |
802 } // namespace browser_sync | 802 } // namespace browser_sync |
OLD | NEW |