Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 119 0x50, 0x70, 0x9d, 0xa2, 0xf9, 0xa4, 0x6f, 0x62, 0x4d, 0xb6, 0xc9, 0x31, | 119 0x50, 0x70, 0x9d, 0xa2, 0xf9, 0xa4, 0x6f, 0x62, 0x4d, 0xb6, 0xc9, 0x31, |
| 120 0xfc, 0xf3, 0x08, 0x12, 0xff, 0x93, 0xbd, 0x62, 0x31, 0xd8, 0x1c, 0xea, | 120 0xfc, 0xf3, 0x08, 0x12, 0xff, 0x93, 0xbd, 0x62, 0x31, 0xd8, 0x1c, 0xea, |
| 121 0x1a, 0x9e, 0xf5, 0x81, 0x28, 0x7f, 0x75, 0x5e, 0xd2, 0x27, 0x7a, 0xc2, | 121 0x1a, 0x9e, 0xf5, 0x81, 0x28, 0x7f, 0x75, 0x5e, 0xd2, 0x27, 0x7a, 0xc2, |
| 122 0x96, 0xf5, 0x9d, 0xdb, 0x18, 0xfc, 0x76, 0xdc, 0x46, 0xf0, 0x57, 0xc0, | 122 0x96, 0xf5, 0x9d, 0xdb, 0x18, 0xfc, 0x76, 0xdc, 0x46, 0xf0, 0x57, 0xc0, |
| 123 0x58, 0x34, 0xc8, 0x22, 0x2d, 0x2a, 0x65, 0x75, 0xa7, 0xd9, 0x08, 0x62, | 123 0x58, 0x34, 0xc8, 0x22, 0x2d, 0x2a, 0x65, 0x75, 0xa7, 0xd9, 0x08, 0x62, |
| 124 0xcd, 0x02, 0x03, 0x01, 0x00, 0x01}; | 124 0xcd, 0x02, 0x03, 0x01, 0x00, 0x01}; |
| 125 | 125 |
| 126 const int kWebstoreSignaturesPublicKeySize = | 126 const int kWebstoreSignaturesPublicKeySize = |
| 127 arraysize(kWebstoreSignaturesPublicKey); | 127 arraysize(kWebstoreSignaturesPublicKey); |
| 128 | 128 |
| 129 #if defined(OS_CHROMEOS) | |
| 130 bool IsImeMenuExtensionId(const std::string& extension_id) { | |
| 131 const char* const kImeMenuExtensionIds[] = { | |
| 132 "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'.
| |
| 133 for (const char* id : kImeMenuExtensionIds) { | |
| 134 if (extension_id == id) | |
| 135 return true; | |
| 136 } | |
| 137 return false; | |
| 138 } | |
| 139 #endif | |
| 129 } // namespace extension_misc | 140 } // namespace extension_misc |
| OLD | NEW |