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/chromeos/preferences.h" | 5 #include "chrome/browser/chromeos/preferences.h" |
6 | 6 |
7 #include "base/json/json_string_value_serializer.h" | 7 #include "base/json/json_string_value_serializer.h" |
8 #include "base/prefs/pref_member.h" | 8 #include "base/prefs/pref_member.h" |
9 #include "base/strings/string_split.h" | 9 #include "base/strings/string_split.h" |
10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
11 #include "chrome/browser/chromeos/input_method/input_method_configuration.h" | 11 #include "chrome/browser/chromeos/input_method/input_method_configuration.h" |
12 #include "chrome/browser/chromeos/input_method/mock_input_method_manager.h" | 12 #include "chrome/browser/chromeos/input_method/mock_input_method_manager.h" |
13 #include "chrome/browser/chromeos/login/session/user_session_manager.h" | 13 #include "chrome/browser/chromeos/login/session/user_session_manager.h" |
14 #include "chrome/browser/chromeos/login/users/fake_chrome_user_manager.h" | 14 #include "chrome/browser/chromeos/login/users/fake_chrome_user_manager.h" |
15 #include "chrome/browser/chromeos/login/users/scoped_user_manager_enabler.h" | 15 #include "chrome/browser/chromeos/login/users/scoped_user_manager_enabler.h" |
16 #include "chrome/browser/chromeos/system/fake_input_device_settings.h" | 16 #include "chrome/browser/chromeos/system/fake_input_device_settings.h" |
17 #include "chrome/common/chrome_constants.h" | 17 #include "chrome/common/chrome_constants.h" |
18 #include "chrome/common/pref_names.h" | 18 #include "chrome/common/pref_names.h" |
19 #include "chrome/test/base/testing_browser_process.h" | 19 #include "chrome/test/base/testing_browser_process.h" |
20 #include "chrome/test/base/testing_pref_service_syncable.h" | |
21 #include "chrome/test/base/testing_profile.h" | 20 #include "chrome/test/base/testing_profile.h" |
22 #include "chrome/test/base/testing_profile_manager.h" | 21 #include "chrome/test/base/testing_profile_manager.h" |
| 22 #include "components/syncable_prefs/testing_pref_service_syncable.h" |
23 #include "content/public/test/test_browser_thread_bundle.h" | 23 #include "content/public/test/test_browser_thread_bundle.h" |
24 #include "content/public/test/test_utils.h" | 24 #include "content/public/test/test_utils.h" |
25 #include "sync/api/attachments/attachment_id.h" | 25 #include "sync/api/attachments/attachment_id.h" |
26 #include "sync/api/fake_sync_change_processor.h" | 26 #include "sync/api/fake_sync_change_processor.h" |
27 #include "sync/api/sync_change.h" | 27 #include "sync/api/sync_change.h" |
28 #include "sync/api/sync_data.h" | 28 #include "sync/api/sync_data.h" |
29 #include "sync/api/sync_error_factory.h" | 29 #include "sync/api/sync_error_factory.h" |
30 #include "sync/api/sync_error_factory_mock.h" | 30 #include "sync/api/sync_error_factory_mock.h" |
31 #include "sync/api/syncable_service.h" | 31 #include "sync/api/syncable_service.h" |
32 #include "sync/internal_api/public/attachments/attachment_service_proxy_for_test
.h" | 32 #include "sync/internal_api/public/attachments/attachment_service_proxy_for_test
.h" |
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
698 "Syncable values should have added local values on initialization."); | 698 "Syncable values should have added local values on initialization."); |
699 ExpectGlobalValues( | 699 ExpectGlobalValues( |
700 "es,en-US", | 700 "es,en-US", |
701 "xkb:es::spa,xkb:us::eng,xkb:ru::rus,xkb:xy::xyz," + | 701 "xkb:es::spa,xkb:us::eng,xkb:ru::rus,xkb:xy::xyz," + |
702 ToInputMethodIds("xkb:jp::jpn"), | 702 ToInputMethodIds("xkb:jp::jpn"), |
703 std::string(kIdentityIMEID) + "," + kUnknownIMEID); | 703 std::string(kIdentityIMEID) + "," + kUnknownIMEID); |
704 } | 704 } |
705 } | 705 } |
706 | 706 |
707 } // namespace chromeos | 707 } // namespace chromeos |
OLD | NEW |