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 <vector> | 5 #include <vector> |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
11 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" | 11 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" |
12 #include "chrome/browser/sync/profile_sync_components_factory_impl.h" | 12 #include "chrome/browser/sync/profile_sync_components_factory_impl.h" |
13 #include "chrome/browser/sync/profile_sync_service.h" | 13 #include "chrome/browser/sync/profile_sync_service.h" |
14 #include "chrome/browser/sync/profile_sync_service_factory.h" | 14 #include "chrome/browser/sync/profile_sync_service_factory.h" |
15 #include "chrome/browser/sync/supervised_user_signin_manager_wrapper.h" | 15 #include "chrome/browser/sync/supervised_user_signin_manager_wrapper.h" |
16 #include "chrome/common/channel_info.h" | |
brettw
2015/07/31 21:13:16
Ditto
| |
16 #include "chrome/common/chrome_switches.h" | 17 #include "chrome/common/chrome_switches.h" |
17 #include "chrome/common/chrome_version_info.h" | |
18 #include "chrome/common/sync_util.h" | 18 #include "chrome/common/sync_util.h" |
19 #include "chrome/test/base/testing_profile.h" | 19 #include "chrome/test/base/testing_profile.h" |
20 #include "components/signin/core/browser/profile_oauth2_token_service.h" | 20 #include "components/signin/core/browser/profile_oauth2_token_service.h" |
21 #include "components/sync_driver/data_type_controller.h" | 21 #include "components/sync_driver/data_type_controller.h" |
22 #include "content/public/test/test_browser_thread_bundle.h" | 22 #include "content/public/test/test_browser_thread_bundle.h" |
23 #include "google_apis/gaia/gaia_constants.h" | 23 #include "google_apis/gaia/gaia_constants.h" |
24 #include "google_apis/gaia/oauth2_token_service.h" | 24 #include "google_apis/gaia/oauth2_token_service.h" |
25 #include "testing/gtest/include/gtest/gtest.h" | 25 #include "testing/gtest/include/gtest/gtest.h" |
26 #include "ui/app_list/app_list_switches.h" | 26 #include "ui/app_list/app_list_switches.h" |
27 | 27 |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
156 } | 156 } |
157 | 157 |
158 TEST_F(ProfileSyncComponentsFactoryImplTest, CreatePSSDisableOne) { | 158 TEST_F(ProfileSyncComponentsFactoryImplTest, CreatePSSDisableOne) { |
159 TestSwitchDisablesType(syncer::ModelTypeSet(syncer::AUTOFILL)); | 159 TestSwitchDisablesType(syncer::ModelTypeSet(syncer::AUTOFILL)); |
160 } | 160 } |
161 | 161 |
162 TEST_F(ProfileSyncComponentsFactoryImplTest, CreatePSSDisableMultiple) { | 162 TEST_F(ProfileSyncComponentsFactoryImplTest, CreatePSSDisableMultiple) { |
163 TestSwitchDisablesType( | 163 TestSwitchDisablesType( |
164 syncer::ModelTypeSet(syncer::AUTOFILL_PROFILE, syncer::BOOKMARKS)); | 164 syncer::ModelTypeSet(syncer::AUTOFILL_PROFILE, syncer::BOOKMARKS)); |
165 } | 165 } |
OLD | NEW |