Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Unified Diff: remoting/host/desktop_session_agent.cc

Issue 11886051: Turned UiStrings into a singleton so that the continue window does not depend on ChromotingHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/continue_window_win.cc ('k') | remoting/host/disconnect_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_session_agent.cc
diff --git a/remoting/host/desktop_session_agent.cc b/remoting/host/desktop_session_agent.cc
index a09e64395050939d3abc9381ea3e6b025f52e215..39a2aece8d81cde70c63421fb2407c5306e08e2e 100644
--- a/remoting/host/desktop_session_agent.cc
+++ b/remoting/host/desktop_session_agent.cc
@@ -195,9 +195,9 @@ void DesktopSessionAgent::OnStartSessionAgent(
base::Bind(&DesktopSessionAgent::DisconnectSession, this);
// Create the disconnect window.
- disconnect_window_ = DisconnectWindow::Create();
+ disconnect_window_ = DisconnectWindow::Create(&ui_strings_);
disconnect_window_->Show(
- ui_strings_, disconnect_session,
+ disconnect_session,
authenticated_jid.substr(0, authenticated_jid.find('/')));
// Start monitoring local input.
« no previous file with comments | « remoting/host/continue_window_win.cc ('k') | remoting/host/disconnect_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698