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

Unified Diff: remoting/host/security_key/gnubby_auth_handler.h

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.h
diff --git a/remoting/host/security_key/gnubby_auth_handler.h b/remoting/host/security_key/gnubby_auth_handler.h
index fe6dff0def7d06b752f29126be2899d29950bdc3..0a6a7551300d7787ca47752bda4b7a1cf9a57d09 100644
--- a/remoting/host/security_key/gnubby_auth_handler.h
+++ b/remoting/host/security_key/gnubby_auth_handler.h
@@ -5,10 +5,10 @@
#ifndef REMOTING_HOST_SECURITY_KEY_GNUBBY_AUTH_HANDLER_H_
#define REMOTING_HOST_SECURITY_KEY_GNUBBY_AUTH_HANDLER_H_
+#include <memory>
#include <string>
#include "base/callback.h"
-#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
namespace base {
@@ -31,7 +31,7 @@ class GnubbyAuthHandler {
// All invocations of |callback| are guaranteed to occur before the underlying
// GnubbyAuthHandler object is destroyed. It is not safe to destroy the
// GnubbyAuthHandler object within the callback.
- static scoped_ptr<GnubbyAuthHandler> Create(
+ static std::unique_ptr<GnubbyAuthHandler> Create(
const SendMessageCallback& callback);
#if defined(OS_LINUX)

Powered by Google App Engine
This is Rietveld 408576698