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

Unified Diff: remoting/host/it2me/it2me_confirmation_dialog.h

Issue 2650443002: Webapp share dialog is not closed when client end of the connection is closed (Closed)
Patch Set: Merging changes from dependent CL Created 3 years, 9 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 | « no previous file | remoting/host/it2me/it2me_confirmation_dialog_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/it2me/it2me_confirmation_dialog.h
diff --git a/remoting/host/it2me/it2me_confirmation_dialog.h b/remoting/host/it2me/it2me_confirmation_dialog.h
index aa2c6d94c777f737f64eb3e8e31c132af5aa898c..40060b358c98f49971831eecc7b58b1c16f4ddac 100644
--- a/remoting/host/it2me/it2me_confirmation_dialog.h
+++ b/remoting/host/it2me/it2me_confirmation_dialog.h
@@ -25,8 +25,6 @@ class It2MeConfirmationDialog {
typedef base::Callback<void(Result)> ResultCallback;
- static std::unique_ptr<It2MeConfirmationDialog> Create();
-
virtual ~It2MeConfirmationDialog() {}
// Shows the dialog. |callback| will be called with the user's selection.
@@ -35,6 +33,17 @@ class It2MeConfirmationDialog {
const ResultCallback& callback) = 0;
};
+class It2MeConfirmationDialogFactory {
+ public:
+ It2MeConfirmationDialogFactory() {}
+ virtual ~It2MeConfirmationDialogFactory() {}
+
+ virtual std::unique_ptr<It2MeConfirmationDialog> Create();
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(It2MeConfirmationDialogFactory);
+};
+
} // namespace remoting
#endif // REMOTING_HOST_IT2ME_IT2ME_CONFIRMATION_DIALOG_H_
« no previous file with comments | « no previous file | remoting/host/it2me/it2me_confirmation_dialog_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698