summaryrefslogtreecommitdiffstats
path: root/remoting/base/resources.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/base/resources.h')
-rw-r--r--remoting/base/resources.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/remoting/base/resources.h b/remoting/base/resources.h
index b08eb8d..371c533 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_