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

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

Issue 2372833002: Removing It2MeConfirmationDialogFactory (Closed)
Patch Set: Addressing feedback Created 4 years, 3 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/it2me/BUILD.gn ('k') | remoting/host/it2me/it2me_confirmation_dialog.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 820679792ccdcb9ef684aeac63234c3c6d74b6cb..aa2c6d94c777f737f64eb3e8e31c132af5aa898c 100644
--- a/remoting/host/it2me/it2me_confirmation_dialog.h
+++ b/remoting/host/it2me/it2me_confirmation_dialog.h
@@ -25,6 +25,8 @@ 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.
@@ -33,17 +35,6 @@ class It2MeConfirmationDialog {
const ResultCallback& callback) = 0;
};
-// Used to create a platform specific instance of It2MeConfirmationDialog.
-class It2MeConfirmationDialogFactory {
- public:
- It2MeConfirmationDialogFactory();
- virtual ~It2MeConfirmationDialogFactory();
-
- virtual std::unique_ptr<It2MeConfirmationDialog> Create();
-
- DISALLOW_COPY_AND_ASSIGN(It2MeConfirmationDialogFactory);
-};
-
} // namespace remoting
#endif // REMOTING_HOST_IT2ME_IT2ME_CONFIRMATION_DIALOG_H_
« no previous file with comments | « remoting/host/it2me/BUILD.gn ('k') | remoting/host/it2me/it2me_confirmation_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698