| Index: chrome/browser/ui/webui/options2/language_options_handler2_unittest.cc
|
| diff --git a/chrome/browser/ui/webui/options2/language_options_handler2_unittest.cc b/chrome/browser/ui/webui/options2/language_options_handler2_unittest.cc
|
| index 24a9cb38c39a2634d24bcc75395099fb4e2c6641..a095d63cffa9657bb3c8540fb4be9985c6748c06 100644
|
| --- a/chrome/browser/ui/webui/options2/language_options_handler2_unittest.cc
|
| +++ b/chrome/browser/ui/webui/options2/language_options_handler2_unittest.cc
|
| @@ -12,15 +12,26 @@
|
| #if defined(OS_CHROMEOS)
|
| #include "chrome/browser/chromeos/input_method/input_method_descriptor.h"
|
| #include "chrome/browser/chromeos/input_method/input_method_whitelist.h"
|
| +#include "chrome/browser/chromeos/input_method/mock_input_method_manager.h"
|
| #include "chrome/browser/ui/webui/options2/chromeos/cros_language_options_handler2.h"
|
|
|
| using chromeos::input_method::InputMethodDescriptor;
|
| using chromeos::input_method::InputMethodDescriptors;
|
| +using chromeos::input_method::InputMethodManager;
|
| using chromeos::input_method::InputMethodWhitelist;
|
| +using chromeos::input_method::MockInputMethodManager;
|
|
|
| namespace {
|
|
|
| class LanguageOptionsHandlerTest : public testing::Test {
|
| + public:
|
| + LanguageOptionsHandlerTest() {
|
| + InputMethodManager::InitializeForTesting(new MockInputMethodManager);
|
| + }
|
| + virtual ~LanguageOptionsHandlerTest() {
|
| + InputMethodManager::Shutdown();
|
| + }
|
| +
|
| protected:
|
| InputMethodDescriptors CreateInputMethodDescriptors() {
|
| InputMethodDescriptors descriptors;
|
|
|