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

Unified Diff: remoting/host/it2me/it2me_confirmation_dialog_chromeos.cc

Issue 2326553003: Adding a Confirmation dialog for It2Me on Windows (Closed)
Patch Set: Addressing CR 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
Index: remoting/host/it2me/it2me_confirmation_dialog_chromeos.cc
diff --git a/remoting/host/it2me/it2me_confirmation_dialog_chromeos.cc b/remoting/host/it2me/it2me_confirmation_dialog_chromeos.cc
index 0185fdd6cef09e2b227759ec5dd762d7edbd9451..78468bea16310c7de3b43f9ae9a214006f35bf6b 100644
--- a/remoting/host/it2me/it2me_confirmation_dialog_chromeos.cc
+++ b/remoting/host/it2me/it2me_confirmation_dialog_chromeos.cc
@@ -10,6 +10,7 @@
#include "base/callback_helpers.h"
#include "base/i18n/message_formatter.h"
#include "base/macros.h"
+#include "base/memory/ptr_util.h"
#include "base/strings/utf_string_conversions.h"
#include "remoting/base/string_resources.h"
#include "remoting/host/chromeos/message_box.h"
@@ -69,8 +70,7 @@ void It2MeConfirmationDialogChromeOS::OnMessageBoxResult(
std::unique_ptr<It2MeConfirmationDialog>
It2MeConfirmationDialogFactory::Create() {
- return std::unique_ptr<It2MeConfirmationDialog>(
- new It2MeConfirmationDialogChromeOS());
+ return base::MakeUnique<It2MeConfirmationDialogChromeOS>();
}
} // namespace remoting
« no previous file with comments | « remoting/host/it2me/it2me_confirmation_dialog_android.cc ('k') | remoting/host/it2me/it2me_confirmation_dialog_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698