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

Unified Diff: components/proximity_auth/connection_finder.h

Issue 1912433002: Convert //components/proximity_auth from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits 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 | « components/proximity_auth/connection.cc ('k') | components/proximity_auth/connection_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proximity_auth/connection_finder.h
diff --git a/components/proximity_auth/connection_finder.h b/components/proximity_auth/connection_finder.h
index 246a9a0d0351a0ca35c804a81adce036246b30c6..08230bee64597b3bf26c7487b7ae0bf0147fda6c 100644
--- a/components/proximity_auth/connection_finder.h
+++ b/components/proximity_auth/connection_finder.h
@@ -5,9 +5,10 @@
#ifndef COMPONENTS_PROXIMITY_AUTH_CONNECTION_FINDER_H
#define COMPONENTS_PROXIMITY_AUTH_CONNECTION_FINDER_H
+#include <memory>
+
#include "base/callback_forward.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
namespace proximity_auth {
@@ -23,7 +24,7 @@ class ConnectionFinder {
// |connection_callback| with the open connection once the remote device is
// connected.
// TODO(isherman): Can this just be done as part of the constructor?
- typedef base::Callback<void(scoped_ptr<Connection> connection)>
+ typedef base::Callback<void(std::unique_ptr<Connection> connection)>
ConnectionCallback;
virtual void Find(const ConnectionCallback& connection_callback) = 0;
};
« no previous file with comments | « components/proximity_auth/connection.cc ('k') | components/proximity_auth/connection_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698