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

Unified 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, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/base/resources.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/resources.h
diff --git a/remoting/base/resources.h b/remoting/base/resources.h
index b08eb8d16ecdb2d731fe88241e4cd05c8d5212ae..371c53328300b43f282ebe41a1d378f0369a4d93 100644
--- a/remoting/base/resources.h
+++ b/remoting/base/resources.h
@@ -9,11 +9,15 @@
namespace remoting {
-// Loads chromoting resources. Returns false in case of a failure. |pref_locale|
+// Loads (or reloads) Chromoting resources for the given locale. |pref_locale|
// is passed to l10n_util::GetApplicationLocale(), so the default system locale
-// is used if |pref_locale| is empty.
+// is used if |pref_locale| is empty. Returns |true| if the shared resource
+// bundle has been initialized.
bool LoadResources(const std::string& pref_locale);
+// Unloads Chromoting resources.
+void UnloadResources();
+
} // namespace remoting
#endif // REMOTING_HOST_BASE_RESOURCES_H_
« 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