OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/logging.h" | 5 #include "base/logging.h" |
6 #include "base/string_util.h" | 6 #include "base/strings/string_util.h" |
7 #include "chromeos/ime/component_extension_ime_manager.h" | 7 #include "chromeos/ime/component_extension_ime_manager.h" |
8 | 8 |
9 namespace chromeos { | 9 namespace chromeos { |
10 namespace { | 10 namespace { |
11 const char* kComponentExtensionIMEPrefix = "_comp_ime_"; | 11 const char* kComponentExtensionIMEPrefix = "_comp_ime_"; |
12 } // namespace | 12 } // namespace |
13 | 13 |
14 ComponentExtensionEngine::ComponentExtensionEngine() { | 14 ComponentExtensionEngine::ComponentExtensionEngine() { |
15 } | 15 } |
16 | 16 |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 *out_extension = component_extension_imes_[i]; | 186 *out_extension = component_extension_imes_[i]; |
187 if (out_engine) | 187 if (out_engine) |
188 *out_engine = component_extension_imes_[i].engines[j]; | 188 *out_engine = component_extension_imes_[i].engines[j]; |
189 return true; | 189 return true; |
190 } | 190 } |
191 } | 191 } |
192 return false; | 192 return false; |
193 } | 193 } |
194 | 194 |
195 } // namespace chromeos | 195 } // namespace chromeos |
OLD | NEW |