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

Side by Side Diff: chrome/browser/chromeos/dom_ui/language_options_util.h

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_CHROMEOS_DOM_UI_LANGUAGE_OPTIONS_UTIL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DOM_UI_LANGUAGE_OPTIONS_UTIL_H_
6 #define CHROME_BROWSER_CHROMEOS_DOM_UI_LANGUAGE_OPTIONS_UTIL_H_ 6 #define CHROME_BROWSER_CHROMEOS_DOM_UI_LANGUAGE_OPTIONS_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/string_util.h" 9 #include "base/utf_string_conversions.h"
10 #include "chrome/browser/chromeos/language_preferences.h" 10 #include "chrome/browser/chromeos/language_preferences.h"
11 11
12 class ListValue; 12 class ListValue;
13 13
14 namespace { 14 namespace {
15 15
16 // Returns an i18n-content value corresponding to |preference|. 16 // Returns an i18n-content value corresponding to |preference|.
17 template <typename T> 17 template <typename T>
18 std::wstring GetI18nContentValue(const T& preference) { 18 std::wstring GetI18nContentValue(const T& preference) {
19 return ASCIIToWide(preference.ibus_config_name) + L"Content"; 19 return ASCIIToWide(preference.ibus_config_name) + L"Content";
(...skipping 22 matching lines...) Expand all
42 } // namespace 42 } // namespace
43 43
44 namespace chromeos { 44 namespace chromeos {
45 45
46 ListValue* CreateMultipleChoiceList( 46 ListValue* CreateMultipleChoiceList(
47 const LanguageMultipleChoicePreference<const char*>& preference); 47 const LanguageMultipleChoicePreference<const char*>& preference);
48 48
49 } // namespace chromeos 49 } // namespace chromeos
50 50
51 #endif // CHROME_BROWSER_CHROMEOS_DOM_UI_LANGUAGE_OPTIONS_UTIL_H_ 51 #endif // CHROME_BROWSER_CHROMEOS_DOM_UI_LANGUAGE_OPTIONS_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/dom_ui/language_hangul_options_handler.cc ('k') | chrome/browser/chromeos/login/account_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698