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

Unified Diff: app/l10n_util_dummy.cc

Issue 460083: Split app.gyp and add a Win64 version of the app_base target.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « app/app_base.gypi ('k') | app/resource_bundle_dummy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/l10n_util_dummy.cc
===================================================================
--- app/l10n_util_dummy.cc (revision 0)
+++ app/l10n_util_dummy.cc (revision 0)
@@ -0,0 +1,27 @@
+// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "app/l10n_util.h"
+
+#include "app/resource_bundle.h"
+#include "base/command_line.h"
+#include "base/string16.h"
+#include "base/string_piece.h"
+#include "base/string_util.h"
+#include "base/sys_string_conversions.h"
+#include "build/build_config.h"
+#include "unicode/uscript.h"
+
+
+namespace l10n_util {
+
+// Represents the locale-specific text direction.
+static TextDirection g_text_direction = UNKNOWN_DIRECTION;
+
+std::wstring GetString(int message_id) {
+ ResourceBundle& rb = ResourceBundle::GetSharedInstance();
+ return UTF16ToWide(rb.GetLocalizedString(message_id));
+}
+
+} // namespace l10n_util
Property changes on: app\l10n_util_dummy.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « app/app_base.gypi ('k') | app/resource_bundle_dummy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698