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

Unified Diff: remoting/base/resources.h

Issue 19803010: Localized Chromoting Host on Mac and Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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') | remoting/base/resources_win.cc » ('J')
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..212c3cdf4adc99c558a8995a3dde91fa6efcbb17 100644
--- a/remoting/base/resources.h
+++ b/remoting/base/resources.h
@@ -9,10 +9,13 @@
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.
-bool LoadResources(const std::string& pref_locale);
+void LoadResources(const std::string& pref_locale);
+
+// Unloads Chromoting resources.
+void UnloadResources();
} // namespace remoting
« no previous file with comments | « no previous file | remoting/base/resources.cc » ('j') | remoting/base/resources_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698