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

Unified Diff: components/proximity_auth/authenticator.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 | « no previous file | components/proximity_auth/ble/bluetooth_low_energy_characteristics_finder_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proximity_auth/authenticator.h
diff --git a/components/proximity_auth/authenticator.h b/components/proximity_auth/authenticator.h
index f1cbbf302c15aaf082a207dff3f20d974be93e92..3882a764fd4c888317373d4de4121ae95f374aa7 100644
--- a/components/proximity_auth/authenticator.h
+++ b/components/proximity_auth/authenticator.h
@@ -5,8 +5,9 @@
#ifndef COMPONENTS_PROXIMITY_AUTH_AUTHENTICATOR_H
#define COMPONENTS_PROXIMITY_AUTH_AUTHENTICATOR_H
+#include <memory>
+
#include "base/callback_forward.h"
-#include "base/memory/scoped_ptr.h"
namespace proximity_auth {
@@ -33,7 +34,7 @@ class Authenticator {
// contain the SecureContext used to securely exchange messages. Otherwise, it
// will be null if the protocol fails.
typedef base::Callback<void(Result result,
- scoped_ptr<SecureContext> secure_context)>
+ std::unique_ptr<SecureContext> secure_context)>
AuthenticationCallback;
virtual void Authenticate(const AuthenticationCallback& callback) = 0;
};
« no previous file with comments | « no previous file | components/proximity_auth/ble/bluetooth_low_energy_characteristics_finder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698