| 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_
|
|
|