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

Unified Diff: remoting/host/security_key/gnubby_auth_handler_win_unittest.cc

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU Created 4 years, 8 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/security_key/gnubby_auth_handler_win_unittest.cc
diff --git a/remoting/host/security_key/gnubby_auth_handler_win_unittest.cc b/remoting/host/security_key/gnubby_auth_handler_win_unittest.cc
index 0682b0b5751999a2e579db8daabf5252da5eced6..d844d3f8b987268a562ed201e3c9ab3dcb3633d6 100644
--- a/remoting/host/security_key/gnubby_auth_handler_win_unittest.cc
+++ b/remoting/host/security_key/gnubby_auth_handler_win_unittest.cc
@@ -4,11 +4,11 @@
#include "remoting/host/security_key/gnubby_auth_handler.h"
+#include <memory>
#include <string>
#include "base/bind.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
@@ -85,10 +85,10 @@ class GnubbyAuthHandlerWinTest : public testing::Test {
// Used to allow |message_loop_| to run during tests. The instance is reset
// after each stage of the tests has been completed.
- scoped_ptr<base::RunLoop> run_loop_;
+ std::unique_ptr<base::RunLoop> run_loop_;
// The object under test.
- scoped_ptr<GnubbyAuthHandler> auth_handler_;
+ std::unique_ptr<GnubbyAuthHandler> auth_handler_;
// Set as the default factory to create RemoteSecurityKeyIpcServerFactory
// instances, this class will track each objects creation and allow the tests
« no previous file with comments | « remoting/host/security_key/gnubby_auth_handler_win.cc ('k') | remoting/host/security_key/gnubby_extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698