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

Side by Side Diff: app/l10n_util_dummy.cc

Issue 6315002: Some wstring -> string16 conversion in src/app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/app
Patch Set: rebase Created 9 years, 11 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 | « app/bidi_line_iterator.cc ('k') | app/resource_bundle_dummy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "app/resource_bundle.h"
6 #include "base/command_line.h"
7 #include "base/string16.h"
8 #include "base/string_piece.h"
9 #include "base/sys_string_conversions.h"
10 #include "base/utf_string_conversions.h"
11 #include "build/build_config.h"
12 #include "unicode/uscript.h"
13
14
15 namespace l10n_util {
16
17 std::wstring GetString(int message_id) {
18 ResourceBundle& rb = ResourceBundle::GetSharedInstance();
19 return UTF16ToWide(rb.GetLocalizedString(message_id));
20 }
21
22 } // namespace l10n_util
OLDNEW
« no previous file with comments | « app/bidi_line_iterator.cc ('k') | app/resource_bundle_dummy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698