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

Unified Diff: remoting/host/security_key/remote_security_key_message_reader_impl.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/remote_security_key_message_reader_impl.h
diff --git a/remoting/host/security_key/remote_security_key_message_reader_impl.h b/remoting/host/security_key/remote_security_key_message_reader_impl.h
index e1e07473ab295dc2c2bd89ebf6023bf6a633c215..873d478093a2cdad64788c5c5bd2c7cf77ad7c0f 100644
--- a/remoting/host/security_key/remote_security_key_message_reader_impl.h
+++ b/remoting/host/security_key/remote_security_key_message_reader_impl.h
@@ -5,10 +5,11 @@
#ifndef REMOTING_HOST_SECURITY_KEY_REMOTE_SECURITY_KEY_MESSAGE_READER_IMPL_H_
#define REMOTING_HOST_SECURITY_KEY_REMOTE_SECURITY_KEY_MESSAGE_READER_IMPL_H_
+#include <memory>
+
#include "base/callback.h"
#include "base/files/file.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/threading/thread.h"
#include "remoting/host/security_key/remote_security_key_message_reader.h"
@@ -42,7 +43,7 @@ class RemoteSecurityKeyMessageReaderImpl
// Used for callbacks on the appropriate task runner to signal status changes.
// These callbacks are invoked on |main_task_runner_|.
- void InvokeMessageCallback(scoped_ptr<SecurityKeyMessage> message);
+ void InvokeMessageCallback(std::unique_ptr<SecurityKeyMessage> message);
void InvokeErrorCallback();
base::File read_stream_;

Powered by Google App Engine
This is Rietveld 408576698