Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(376)

Side by Side Diff: chrome/common/extensions/api/spellcheck/spellcheck_handler.cc

Issue 23744004: Move the rest of extension_manifest_constants to top-level extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698