Revert of Sandbox html_viewer on Linux. (patchset #6 id:100001 of https://codereview...
[chromium-blink-merge.git] / remoting / base / resources.h
blob371c53328300b43f282ebe41a1d378f0369a4d93
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
3 // found in the LICENSE file.
5 #ifndef REMOTING_HOST_BASE_RESOURCES_H_
6 #define REMOTING_HOST_BASE_RESOURCES_H_
8 #include <string>
10 namespace remoting {
12 // Loads (or reloads) Chromoting resources for the given locale. |pref_locale|
13 // is passed to l10n_util::GetApplicationLocale(), so the default system locale
14 // is used if |pref_locale| is empty. Returns |true| if the shared resource
15 // bundle has been initialized.
16 bool LoadResources(const std::string& pref_locale);
18 // Unloads Chromoting resources.
19 void UnloadResources();
21 } // namespace remoting
23 #endif // REMOTING_HOST_BASE_RESOURCES_H_