diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-18 22:19:23 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-18 22:19:23 +0000 |
commit | 8b65ba9961e94706d8b0833638d0ef99b95b3b43 (patch) | |
tree | 1ccb150aee4b1a1ef414cf4a2d474f977b7d1e71 /remoting/host/differ_block_unittest.cc | |
parent | 352a797d3022450c4e5ee0e25a7d30cb414632da (diff) | |
download | chromium_src-8b65ba9961e94706d8b0833638d0ef99b95b3b43.zip chromium_src-8b65ba9961e94706d8b0833638d0ef99b95b3b43.tar.gz chromium_src-8b65ba9961e94706d8b0833638d0ef99b95b3b43.tar.bz2 |
Make ChromotingHost::ui_strings() immutable. Use string16 for localized strings.
There were two issues:
- ui_strings() were mutable which creates possibility for race
condition. Made it immutable, and added SetUiString() which can be
called only before session is started.
- strings were loaded after host is started which sometimes leads to
non-localized string being shown. Particularly I often saw empty
text on Disconnect button.
BUG=None
TEST=Disconnect button text is always localized.
Review URL: http://codereview.chromium.org/7669045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97376 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/differ_block_unittest.cc')
0 files changed, 0 insertions, 0 deletions