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

Side by Side Diff: chrome/common/extensions/extension_constants.cc

Issue 2563343002: Remove extension_misc::IsImeMenuExtensionId. (Closed)
Patch Set: Remove kExcludeFromMruKey. Created 4 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
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | ui/aura/client/aura_constants.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/macros.h" 5 #include "base/macros.h"
6 #include "build/build_config.h" 6 #include "build/build_config.h"
7 #include "chrome/common/extensions/extension_constants.h" 7 #include "chrome/common/extensions/extension_constants.h"
8 8
9 namespace extension_urls { 9 namespace extension_urls {
10 10
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 #endif 89 #endif
90 90
91 const char kAppStateNotInstalled[] = "not_installed"; 91 const char kAppStateNotInstalled[] = "not_installed";
92 const char kAppStateInstalled[] = "installed"; 92 const char kAppStateInstalled[] = "installed";
93 const char kAppStateDisabled[] = "disabled"; 93 const char kAppStateDisabled[] = "disabled";
94 const char kAppStateRunning[] = "running"; 94 const char kAppStateRunning[] = "running";
95 const char kAppStateCannotRun[] = "cannot_run"; 95 const char kAppStateCannotRun[] = "cannot_run";
96 const char kAppStateReadyToRun[] = "ready_to_run"; 96 const char kAppStateReadyToRun[] = "ready_to_run";
97 97
98 const char kMediaFileSystemPathPart[] = "_"; 98 const char kMediaFileSystemPathPart[] = "_";
99
100 #if defined(OS_CHROMEOS)
101 bool IsImeMenuExtensionId(const std::string& extension_id) {
102 const char* const kImeMenuExtensionIds[] = {
103 "gjaehgfemfahhmlgpdfknkhdnemmolop", "jkghodnilhceideoidjikpgommlajknk"};
104 for (const char* id : kImeMenuExtensionIds) {
105 if (extension_id == id)
106 return true;
107 }
108 return false;
109 }
110 #endif
111 } // namespace extension_misc 99 } // namespace extension_misc
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | ui/aura/client/aura_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698