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

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: 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
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 10
11 static const struct { 11 static const struct {
12 // The language. 12 // The language.
13 const char* language; 13 const char* language;
14 14
15 // The corresponding language and region, used by the dictionaries. 15 // The corresponding language and region, used by the dictionaries.
16 const char* language_region; 16 const char* language_region;
17 } g_supported_spellchecker_languages[] = { 17 } g_supported_spellchecker_languages[] = {
18 // Several languages are not to be included in the spellchecker list: 18 // Several languages are not to be included in the spellchecker list:
19 // th-TH, uk-UA 19 // th-TH, uk-UA
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 } 170 }
171 171
172 172
173 void SpellCheckLanguages(std::vector<std::string>* languages) { 173 void SpellCheckLanguages(std::vector<std::string>* languages) {
174 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(g_supported_spellchecker_languages); 174 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(g_supported_spellchecker_languages);
175 ++i) { 175 ++i) {
176 languages->push_back(g_supported_spellchecker_languages[i].language); 176 languages->push_back(g_supported_spellchecker_languages[i].language);
177 } 177 }
178 } 178 }
179 179
180 } // namespace SpellCheckCommon 180 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698