Chromium Code Reviews
DescriptionMake 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.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97376
Patch Set 1 #
Total comments: 4
Patch Set 2 : string16 #Patch Set 3 : - #
Total comments: 1
Patch Set 4 : - #
Messages
Total messages: 5 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||