OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/extensions/extension_apitest.h" | 5 #include "chrome/browser/extensions/extension_apitest.h" |
6 #include "chrome/browser/extensions/extension_test_api.h" | 6 #include "chrome/browser/extensions/extension_test_api.h" |
7 #include "chrome/common/chrome_switches.h" | 7 #include "chrome/common/chrome_switches.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 | 9 |
10 #if defined(OS_CHROMEOS) | 10 #if defined(OS_CHROMEOS) |
11 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, InputImeApiBasic) { | 11 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, InputImeApiBasic) { |
12 CommandLine::ForCurrentProcess()->AppendSwitch( | 12 CommandLine::ForCurrentProcess()->AppendSwitch( |
13 switches::kEnableExperimentalExtensionApis); | 13 switches::kEnableExperimentalExtensionApis); |
14 | 14 |
15 ASSERT_TRUE(RunExtensionTest("input_ime")) << message_; | 15 ASSERT_TRUE(RunExtensionTest("input_ime")) << message_; |
16 } | 16 } |
17 #endif | 17 #endif |
OLD | NEW |