diff options
Diffstat (limited to 'remoting/host/chromoting_host.h')
-rw-r--r-- | remoting/host/chromoting_host.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h index 0b8f296..fc35798 100644 --- a/remoting/host/chromoting_host.h +++ b/remoting/host/chromoting_host.h @@ -145,7 +145,10 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>, // is ignored. void PauseSession(bool pause); - UiStrings* ui_strings() { return &ui_strings_; } + const UiStrings& ui_strings() { return ui_strings_; } + + // Set localized strings. Must be called before host is started. + void SetUiStrings(const UiStrings& ui_strings); private: friend class base::RefCountedThreadSafe<ChromotingHost>; |