| 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 "chrome/common/extensions/api/speech/tts_engine_manifest_handler.h" | 5 #include "chrome/common/extensions/api/speech/tts_engine_manifest_handler.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 8 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
| 9 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
| 10 #include "base/values.h" | 12 #include "base/values.h" |
| 11 #include "extensions/common/error_utils.h" | 13 #include "extensions/common/error_utils.h" |
| 12 #include "extensions/common/manifest.h" | 14 #include "extensions/common/manifest.h" |
| 13 #include "extensions/common/manifest_constants.h" | 15 #include "extensions/common/manifest_constants.h" |
| 14 #include "ui/base/l10n/l10n_util.h" | 16 #include "ui/base/l10n/l10n_util.h" |
| 15 | 17 |
| 16 namespace extensions { | 18 namespace extensions { |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 | 144 |
| 143 extension->SetManifestData(keys::kTtsVoices, info.release()); | 145 extension->SetManifestData(keys::kTtsVoices, info.release()); |
| 144 return true; | 146 return true; |
| 145 } | 147 } |
| 146 | 148 |
| 147 const std::vector<std::string> TtsEngineManifestHandler::Keys() const { | 149 const std::vector<std::string> TtsEngineManifestHandler::Keys() const { |
| 148 return SingleKey(keys::kTtsEngine); | 150 return SingleKey(keys::kTtsEngine); |
| 149 } | 151 } |
| 150 | 152 |
| 151 } // namespace extensions | 153 } // namespace extensions |
| OLD | NEW |