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

Unified Diff: remoting/host/continue_window.h

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/chromoting_host_unittest.cc ('k') | remoting/host/continue_window_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/continue_window.h
diff --git a/remoting/host/continue_window.h b/remoting/host/continue_window.h
index 98e534706b7c179740851d8ba05f7ac903c22a92..fa1ae2588fbfcf96463843717d7ffadd4e25f9e0 100644
--- a/remoting/host/continue_window.h
+++ b/remoting/host/continue_window.h
@@ -9,7 +9,7 @@
namespace remoting {
-class ChromotingHost;
+struct UiStrings;
class ContinueWindow {
public:
@@ -23,13 +23,12 @@ class ContinueWindow {
// Show the continuation window requesting that the user approve continuing
// the session.
- virtual void Show(ChromotingHost* host,
- const ContinueSessionCallback& callback) = 0;
+ virtual void Show(const ContinueSessionCallback& callback) = 0;
// Hide the continuation window if it is visible.
virtual void Hide() = 0;
- static scoped_ptr<ContinueWindow> Create();
+ static scoped_ptr<ContinueWindow> Create(const UiStrings* ui_strings);
};
} // namespace remoting
« no previous file with comments | « remoting/host/chromoting_host_unittest.cc ('k') | remoting/host/continue_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698