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

Side by Side Diff: chrome/browser/ui/webui/options/language_options_handler_common.cc

Issue 498773003: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (part 2 … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 | 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/browser/ui/webui/options/language_options_handler_common.h" 5 #include "chrome/browser/ui/webui/options/language_options_handler_common.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/command_line.h" 14 #include "base/command_line.h"
15 #include "base/prefs/pref_service.h" 15 #include "base/prefs/pref_service.h"
16 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
17 #include "base/strings/stringprintf.h" 17 #include "base/strings/stringprintf.h"
18 #include "base/strings/utf_string_conversions.h" 18 #include "base/strings/utf_string_conversions.h"
19 #include "base/values.h" 19 #include "base/values.h"
20 #include "chrome/browser/browser_process.h" 20 #include "chrome/browser/browser_process.h"
21 #include "chrome/browser/profiles/profile.h" 21 #include "chrome/browser/profiles/profile.h"
22 #include "chrome/browser/spellchecker/spellcheck_factory.h" 22 #include "chrome/browser/spellchecker/spellcheck_factory.h"
23 #include "chrome/browser/spellchecker/spellcheck_service.h" 23 #include "chrome/browser/spellchecker/spellcheck_service.h"
24 #include "chrome/browser/translate/chrome_translate_client.h" 24 #include "chrome/browser/translate/chrome_translate_client.h"
25 #include "chrome/browser/translate/translate_service.h" 25 #include "chrome/browser/translate/translate_service.h"
26 #include "chrome/browser/ui/browser_list.h" 26 #include "chrome/browser/ui/browser_list.h"
27 #include "chrome/common/chrome_switches.h" 27 #include "chrome/common/chrome_switches.h"
28 #include "chrome/common/pref_names.h" 28 #include "chrome/common/pref_names.h"
29 #include "chrome/common/spellcheck_common.h" 29 #include "chrome/common/spellcheck_common.h"
30 #include "chrome/grit/chromium_strings.h"
31 #include "chrome/grit/generated_resources.h"
30 #include "components/translate/core/browser/translate_download_manager.h" 32 #include "components/translate/core/browser/translate_download_manager.h"
31 #include "components/translate/core/browser/translate_prefs.h" 33 #include "components/translate/core/browser/translate_prefs.h"
32 #include "content/public/browser/user_metrics.h" 34 #include "content/public/browser/user_metrics.h"
33 #include "content/public/browser/web_ui.h" 35 #include "content/public/browser/web_ui.h"
34 #include "grit/chromium_strings.h"
35 #include "grit/generated_resources.h"
36 #include "ui/base/l10n/l10n_util.h" 36 #include "ui/base/l10n/l10n_util.h"
37 37
38 using base::UserMetricsAction; 38 using base::UserMetricsAction;
39 39
40 namespace options { 40 namespace options {
41 41
42 LanguageOptionsHandlerCommon::LanguageOptionsHandlerCommon() { 42 LanguageOptionsHandlerCommon::LanguageOptionsHandlerCommon() {
43 } 43 }
44 44
45 LanguageOptionsHandlerCommon::~LanguageOptionsHandlerCommon() { 45 LanguageOptionsHandlerCommon::~LanguageOptionsHandlerCommon() {
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 } 288 }
289 289
290 base::WeakPtr<SpellcheckHunspellDictionary>& 290 base::WeakPtr<SpellcheckHunspellDictionary>&
291 LanguageOptionsHandlerCommon::GetHunspellDictionary() { 291 LanguageOptionsHandlerCommon::GetHunspellDictionary() {
292 if (!hunspell_dictionary_.get()) 292 if (!hunspell_dictionary_.get())
293 RefreshHunspellDictionary(); 293 RefreshHunspellDictionary();
294 return hunspell_dictionary_; 294 return hunspell_dictionary_;
295 } 295 }
296 296
297 } // namespace options 297 } // namespace options
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698