Index: chrome/browser/extensions/api/gcd_private/privet_v3_session.h |
diff --git a/chrome/browser/extensions/api/gcd_private/privet_v3_session.h b/chrome/browser/extensions/api/gcd_private/privet_v3_session.h |
index 454458542df5dbcf0ae0d4326bccfbe031a9dc08..f653959bfda48bccfabe86d3f785fe8f6cd6c399 100644 |
--- a/chrome/browser/extensions/api/gcd_private/privet_v3_session.h |
+++ b/chrome/browser/extensions/api/gcd_private/privet_v3_session.h |
@@ -7,12 +7,12 @@ |
#include <stdint.h> |
+#include <memory> |
#include <string> |
#include "base/callback.h" |
#include "base/gtest_prod_util.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/memory/scoped_vector.h" |
#include "base/memory/weak_ptr.h" |
#include "chrome/common/extensions/api/gcd_private.h" |
@@ -116,7 +116,7 @@ class PrivetV3Session { |
std::string commitment_; |
// Key exchange algorithm for pairing. |
- scoped_ptr<crypto::P224EncryptedKeyExchange> spake_; |
+ std::unique_ptr<crypto::P224EncryptedKeyExchange> spake_; |
// HTTPS port of the device. |
uint16_t https_port_ = 0; |