OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "chrome/common/extensions/api/spellcheck/spellcheck_handler.h" | 5 #include "chrome/common/extensions/api/spellcheck/spellcheck_handler.h" |
6 | 6 |
7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "chrome/common/extensions/extension_manifest_constants.h" | 8 #include "extensions/common/manifest_constants.h" |
9 | 9 |
10 namespace extensions { | 10 namespace extensions { |
11 | 11 |
12 namespace keys = extensions::manifest_keys; | 12 namespace keys = manifest_keys; |
13 namespace errors = extension_manifest_errors; | 13 namespace errors = manifest_errors; |
14 | 14 |
15 SpellcheckDictionaryInfo::SpellcheckDictionaryInfo() { | 15 SpellcheckDictionaryInfo::SpellcheckDictionaryInfo() { |
16 } | 16 } |
17 | 17 |
18 SpellcheckDictionaryInfo::~SpellcheckDictionaryInfo() { | 18 SpellcheckDictionaryInfo::~SpellcheckDictionaryInfo() { |
19 } | 19 } |
20 | 20 |
21 SpellcheckHandler::SpellcheckHandler() { | 21 SpellcheckHandler::SpellcheckHandler() { |
22 } | 22 } |
23 | 23 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 } | 59 } |
60 extension->SetManifestData(keys::kSpellcheck, spellcheck_info.release()); | 60 extension->SetManifestData(keys::kSpellcheck, spellcheck_info.release()); |
61 return true; | 61 return true; |
62 } | 62 } |
63 | 63 |
64 const std::vector<std::string> SpellcheckHandler::Keys() const { | 64 const std::vector<std::string> SpellcheckHandler::Keys() const { |
65 return SingleKey(keys::kSpellcheck); | 65 return SingleKey(keys::kSpellcheck); |
66 } | 66 } |
67 | 67 |
68 } // namespace extensions | 68 } // namespace extensions |
OLD | NEW |