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..2a0f1977244f43a89f0acb2ae2358b0255bc33fc 100644 |
| --- a/chrome/common/extensions/extension_constants.cc |
| +++ b/chrome/common/extensions/extension_constants.cc |
| @@ -81,6 +81,15 @@ const char kSpeechSynthesisExtensionId[] = |
| const char kWallpaperManagerId[] = "obklkkbkpaoaejdabbfldmcfplpdgolj"; |
| const char kWebstoreWidgetAppId[] = "fbjakikfhfdajcamjleinfciajelkpek"; |
| const char kZIPUnpackerExtensionId[] = "oedeeodfidgoollimchfdnbmhcpnklnd"; |
| +const char* const kImeMenuExtensionIds[] = {"gjaehgfemfahhmlgpdfknkhdnemmolop", |
| + "jkghodnilhceideoidjikpgommlajknk"}; |
| +bool IsImeMenuExtensionId(const std::string extension_id) { |
|
stevenjb
2016/01/28 18:45:04
string&
Azure Wei
2016/01/29 02:43:59
Done.
|
| + for (const char* id : kImeMenuExtensionIds) { |
| + if (extension_id == id) |
| + return true; |
| + } |
| + return false; |
| +} |
| #else |
| // The extension id for the web store extension. |
| const char kChromeVoxExtensionId[] = |