Chromium Code Reviews| Index: chrome/common/extensions/extension_constants.cc |
| diff --git a/chrome/common/extensions/extension_constants.cc b/chrome/common/extensions/extension_constants.cc |
| index 5a722655a414415238c9591e7dda36acb3119845..81bc30f43ec5a5406a2f7cecc2588d33ac87aa40 100644 |
| --- a/chrome/common/extensions/extension_constants.cc |
| +++ b/chrome/common/extensions/extension_constants.cc |
| @@ -126,4 +126,15 @@ const uint8_t kWebstoreSignaturesPublicKey[] = { |
| const int kWebstoreSignaturesPublicKeySize = |
| arraysize(kWebstoreSignaturesPublicKey); |
| +#if defined(OS_CHROMEOS) |
| +bool IsImeMenuExtensionId(const std::string& extension_id) { |
| + const char* const kImeMenuExtensionIds[] = { |
| + "gjaehgfemfahhmlgpdfknkhdnemmolop", "jkghodnilhceideoidjikpgommlajknk"}; |
|
Devlin
2016/02/01 18:24:40
is this git cl formatted? (The bracket style look
Azure Wei
2016/02/02 01:08:39
Yes. This line is generated by 'git cl format'.
|
| + for (const char* id : kImeMenuExtensionIds) { |
| + if (extension_id == id) |
| + return true; |
| + } |
| + return false; |
| +} |
| +#endif |
| } // namespace extension_misc |