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

Side by Side Diff: chrome/common/spellcheck_common.cc

Issue 10573017: Rename SpellCheckCommon namespace to chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/spellcheck_common.h ('k') | chrome/renderer/spellchecker/spellcheck.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/spellcheck_common.h" 5 #include "chrome/common/spellcheck_common.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 8
9 namespace SpellCheckCommon { 9 namespace chrome {
10 namespace spellcheck_common {
10 11
11 static const struct { 12 static const struct {
12 // The language. 13 // The language.
13 const char* language; 14 const char* language;
14 15
15 // The corresponding language and region, used by the dictionaries. 16 // The corresponding language and region, used by the dictionaries.
16 const char* language_region; 17 const char* language_region;
17 } g_supported_spellchecker_languages[] = { 18 } g_supported_spellchecker_languages[] = {
18 // Several languages are not to be included in the spellchecker list: 19 // Several languages are not to be included in the spellchecker list:
19 // th-TH, uk-UA 20 // th-TH, uk-UA
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 } 171 }
171 172
172 173
173 void SpellCheckLanguages(std::vector<std::string>* languages) { 174 void SpellCheckLanguages(std::vector<std::string>* languages) {
174 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(g_supported_spellchecker_languages); 175 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(g_supported_spellchecker_languages);
175 ++i) { 176 ++i) {
176 languages->push_back(g_supported_spellchecker_languages[i].language); 177 languages->push_back(g_supported_spellchecker_languages[i].language);
177 } 178 }
178 } 179 }
179 180
180 } // namespace SpellCheckCommon 181 } // namespace spellcheck_common
182 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/spellcheck_common.h ('k') | chrome/renderer/spellchecker/spellcheck.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698