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

Side by Side Diff: remoting/base/resources.h

Issue 20985002: Localized Chromoting Host on Mac and Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 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
« no previous file with comments | « no previous file | remoting/base/resources.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) 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 #ifndef REMOTING_HOST_BASE_RESOURCES_H_ 5 #ifndef REMOTING_HOST_BASE_RESOURCES_H_
6 #define REMOTING_HOST_BASE_RESOURCES_H_ 6 #define REMOTING_HOST_BASE_RESOURCES_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace remoting { 10 namespace remoting {
11 11
12 // Loads chromoting resources. Returns false in case of a failure. |pref_locale| 12 // Loads (or reloads) Chromoting resources for the given locale. |pref_locale|
13 // is passed to l10n_util::GetApplicationLocale(), so the default system locale 13 // is passed to l10n_util::GetApplicationLocale(), so the default system locale
14 // is used if |pref_locale| is empty. 14 // is used if |pref_locale| is empty. Returns |true| if the shared resource
15 // bundle has been initialized.
15 bool LoadResources(const std::string& pref_locale); 16 bool LoadResources(const std::string& pref_locale);
16 17
18 // Unloads Chromoting resources.
19 void UnloadResources();
20
17 } // namespace remoting 21 } // namespace remoting
18 22
19 #endif // REMOTING_HOST_BASE_RESOURCES_H_ 23 #endif // REMOTING_HOST_BASE_RESOURCES_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/base/resources.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698