Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: chrome/browser/extensions/extension_input_ime_apitest_chromeos.cc

Issue 8757015: Rename permission from input to ime. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code Review Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
Aaron Boodman 2011/12/03 04:49:02 Is there any reason to suffix the file 'chromeos'?
Aaron Boodman 2011/12/03 04:49:02 Can we move this API out of chrome/browser/extensi
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698