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

Unified Diff: remoting/host/pairing_registry_delegate.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
« no previous file with comments | « remoting/host/oauth_token_getter_impl.cc ('k') | remoting/host/pairing_registry_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/pairing_registry_delegate.h
diff --git a/remoting/host/pairing_registry_delegate.h b/remoting/host/pairing_registry_delegate.h
index a5e96b93d39579e1279942810ec3ce26214b2eac..96f484980de3673f12c3773f4532897d0dce7622 100644
--- a/remoting/host/pairing_registry_delegate.h
+++ b/remoting/host/pairing_registry_delegate.h
@@ -5,8 +5,9 @@
#ifndef REMOTING_HOST_PAIRING_REGISTRY_DELEGATE_H_
#define REMOTING_HOST_PAIRING_REGISTRY_DELEGATE_H_
+#include <memory>
+
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "remoting/protocol/pairing_registry.h"
namespace base {
@@ -16,7 +17,7 @@ class SingleThreadTaskRunner;
namespace remoting {
// Returns a platform-specific pairing registry delegate that will save to
// permanent storage. Returns nullptr on platforms that don't support pairing.
-scoped_ptr<protocol::PairingRegistry::Delegate>
+std::unique_ptr<protocol::PairingRegistry::Delegate>
CreatePairingRegistryDelegate();
// Convenience function which returns a new PairingRegistry, using the delegate
« no previous file with comments | « remoting/host/oauth_token_getter_impl.cc ('k') | remoting/host/pairing_registry_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698