| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/ui/webui/chromeos/login/l10n_util.h" | 5 #include "chrome/browser/ui/webui/chromeos/login/l10n_util.h" |
| 6 | 6 |
| 7 #include "base/at_exit.h" | 7 #include "base/at_exit.h" |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/singleton.h" | 11 #include "base/memory/singleton.h" |
| 12 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
| 13 #include "base/values.h" | 13 #include "base/values.h" |
| 14 #include "chrome/browser/chromeos/customization_document.h" | 14 #include "chrome/browser/chromeos/customization_document.h" |
| 15 #include "chrome/browser/chromeos/input_method/input_method_configuration.h" | 15 #include "chrome/browser/chromeos/input_method/input_method_configuration.h" |
| 16 #include "chrome/browser/ui/webui/chromeos/login/l10n_util_test_util.h" | 16 #include "chrome/browser/ui/webui/chromeos/login/l10n_util_test_util.h" |
| 17 #include "chromeos/ime/component_extension_ime_manager.h" | |
| 18 #include "chromeos/system/statistics_provider.h" | 17 #include "chromeos/system/statistics_provider.h" |
| 19 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
| 19 #include "ui/chromeos/ime/component_extension_ime_manager.h" |
| 20 | 20 |
| 21 namespace chromeos { | 21 namespace chromeos { |
| 22 | 22 |
| 23 namespace { | 23 namespace { |
| 24 | 24 |
| 25 class MachineStatisticsInitializer { | 25 class MachineStatisticsInitializer { |
| 26 public: | 26 public: |
| 27 MachineStatisticsInitializer(); | 27 MachineStatisticsInitializer(); |
| 28 | 28 |
| 29 static MachineStatisticsInitializer* GetInstance(); | 29 static MachineStatisticsInitializer* GetInstance(); |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 VerifyOnlyUILanguages(*list); | 215 VerifyOnlyUILanguages(*list); |
| 216 | 216 |
| 217 ASSERT_LE(3u, list->GetSize()); | 217 ASSERT_LE(3u, list->GetSize()); |
| 218 | 218 |
| 219 VerifyLanguageCode(*list, 0, "it"); | 219 VerifyLanguageCode(*list, 0, "it"); |
| 220 VerifyLanguageCode(*list, 1, "de"); | 220 VerifyLanguageCode(*list, 1, "de"); |
| 221 VerifyLanguageCode(*list, 2, kMostRelevantLanguagesDivider); | 221 VerifyLanguageCode(*list, 2, kMostRelevantLanguagesDivider); |
| 222 } | 222 } |
| 223 | 223 |
| 224 } // namespace chromeos | 224 } // namespace chromeos |
| OLD | NEW |