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

Side by Side Diff: chrome/installer/util/l10n_string_util.h

Issue 5756007: Revert 69165 - Merge the installer, installer_util and setup_util namespaces ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/installer/util/install_util.cc ('k') | chrome/installer/util/l10n_string_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 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 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 // This file contains helper functions for getting strings that are included in 5 // This file contains helper functions for getting strings that are included in
6 // our DLL for all languages (i.e., does not come from our language DLL). 6 // our DLL for all languages (i.e., does not come from our language DLL).
7 // 7 //
8 // These resource strings are organized such that we can get a localized string 8 // These resource strings are organized such that we can get a localized string
9 // by taking the base resource ID and adding a language offset. For example, 9 // by taking the base resource ID and adding a language offset. For example,
10 // to get the resource id for the localized product name in en-US, we take 10 // to get the resource id for the localized product name in en-US, we take
11 // IDS_PRODUCT_NAME_BASE + IDS_L10N_OFFSET_EN_US. 11 // IDS_PRODUCT_NAME_BASE + IDS_L10N_OFFSET_EN_US.
12 12
13 #ifndef CHROME_INSTALLER_UTIL_L10N_STRING_UTIL_H_ 13 #ifndef CHROME_INSTALLER_UTIL_L10N_STRING_UTIL_H_
14 #define CHROME_INSTALLER_UTIL_L10N_STRING_UTIL_H_ 14 #define CHROME_INSTALLER_UTIL_L10N_STRING_UTIL_H_
15 #pragma once 15 #pragma once
16 16
17 #include <string> 17 #include <string>
18 18
19 namespace installer { 19 namespace installer_util {
20 20
21 // Given a string base id, return the localized version of the string based on 21 // Given a string base id, return the localized version of the string based on
22 // the system language. This is used for shortcuts placed on the user's 22 // the system language. This is used for shortcuts placed on the user's
23 // desktop. 23 // desktop.
24 std::wstring GetLocalizedString(int base_message_id); 24 std::wstring GetLocalizedString(int base_message_id);
25 25
26 // Given the system language, return a url that points to the localized eula. 26 // Given the system language, return a url that points to the localized eula.
27 // The empty string is returned on failure. 27 // The empty string is returned on failure.
28 std::wstring GetLocalizedEulaResource(); 28 std::wstring GetLocalizedEulaResource();
29 29
30 } // namespace installer. 30 } // namespace installer_util.
31 31
32 #endif // CHROME_INSTALLER_UTIL_L10N_STRING_UTIL_H_ 32 #endif // CHROME_INSTALLER_UTIL_L10N_STRING_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/install_util.cc ('k') | chrome/installer/util/l10n_string_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698