| 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/command_line.h" | 6 #include "base/command_line.h" |
| 7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
| 8 #include "base/location.h" | 8 #include "base/location.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #include "chrome/browser/sync/glue/sync_backend_host_mock.h" | 23 #include "chrome/browser/sync/glue/sync_backend_host_mock.h" |
| 24 #include "chrome/browser/sync/profile_sync_components_factory_mock.h" | 24 #include "chrome/browser/sync/profile_sync_components_factory_mock.h" |
| 25 #include "chrome/browser/sync/supervised_user_signin_manager_wrapper.h" | 25 #include "chrome/browser/sync/supervised_user_signin_manager_wrapper.h" |
| 26 #include "chrome/common/chrome_switches.h" | 26 #include "chrome/common/chrome_switches.h" |
| 27 #include "chrome/common/pref_names.h" | 27 #include "chrome/common/pref_names.h" |
| 28 #include "chrome/grit/generated_resources.h" | 28 #include "chrome/grit/generated_resources.h" |
| 29 #include "chrome/test/base/testing_browser_process.h" | 29 #include "chrome/test/base/testing_browser_process.h" |
| 30 #include "chrome/test/base/testing_pref_service_syncable.h" | 30 #include "chrome/test/base/testing_pref_service_syncable.h" |
| 31 #include "chrome/test/base/testing_profile.h" | 31 #include "chrome/test/base/testing_profile.h" |
| 32 #include "chrome/test/base/testing_profile_manager.h" | 32 #include "chrome/test/base/testing_profile_manager.h" |
| 33 #include "components/invalidation/invalidation_service.h" | 33 #include "components/invalidation/impl/profile_invalidation_provider.h" |
| 34 #include "components/invalidation/profile_invalidation_provider.h" | 34 #include "components/invalidation/public/invalidation_service.h" |
| 35 #include "components/signin/core/browser/account_tracker_service.h" | 35 #include "components/signin/core/browser/account_tracker_service.h" |
| 36 #include "components/signin/core/browser/signin_manager.h" | 36 #include "components/signin/core/browser/signin_manager.h" |
| 37 #include "components/signin/core/browser/signin_manager.h" | 37 #include "components/signin/core/browser/signin_manager.h" |
| 38 #include "components/sync_driver/data_type_manager.h" | 38 #include "components/sync_driver/data_type_manager.h" |
| 39 #include "components/sync_driver/pref_names.h" | 39 #include "components/sync_driver/pref_names.h" |
| 40 #include "components/sync_driver/sync_prefs.h" | 40 #include "components/sync_driver/sync_prefs.h" |
| 41 #include "content/public/test/test_browser_thread_bundle.h" | 41 #include "content/public/test/test_browser_thread_bundle.h" |
| 42 #include "google_apis/gaia/gaia_constants.h" | 42 #include "google_apis/gaia/gaia_constants.h" |
| 43 #include "testing/gmock/include/gmock/gmock.h" | 43 #include "testing/gmock/include/gmock/gmock.h" |
| 44 #include "testing/gtest/include/gtest/gtest.h" | 44 #include "testing/gtest/include/gtest/gtest.h" |
| (...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 ExpectDataTypeManagerCreation(1); | 726 ExpectDataTypeManagerCreation(1); |
| 727 ExpectSyncBackendHostCreation(1); | 727 ExpectSyncBackendHostCreation(1); |
| 728 const syncer::SyncEncryptionHandler::NigoriState nigori_state; | 728 const syncer::SyncEncryptionHandler::NigoriState nigori_state; |
| 729 service()->OnLocalSetPassphraseEncryption(nigori_state); | 729 service()->OnLocalSetPassphraseEncryption(nigori_state); |
| 730 PumpLoop(); | 730 PumpLoop(); |
| 731 testing::Mock::VerifyAndClearExpectations(components_factory()); | 731 testing::Mock::VerifyAndClearExpectations(components_factory()); |
| 732 } | 732 } |
| 733 | 733 |
| 734 } // namespace | 734 } // namespace |
| 735 } // namespace browser_sync | 735 } // namespace browser_sync |
| OLD | NEW |