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

Unified Diff: net/ssl/ssl_key_logger.h

Issue 1893083002: Change scoped_ptr to std::unique_ptr in //net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-net-all: 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 | « net/ssl/ssl_client_session_cache_openssl_unittest.cc ('k') | net/ssl/ssl_platform_key.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_key_logger.h
diff --git a/net/ssl/ssl_key_logger.h b/net/ssl/ssl_key_logger.h
index dcaf6c6a89b3d60ad79a32d7d706c45b274b66c8..c1e8f5b0fb27686e9edfe4570e9fe49989bce426 100644
--- a/net/ssl/ssl_key_logger.h
+++ b/net/ssl/ssl_key_logger.h
@@ -5,11 +5,11 @@
#ifndef NET_SSL_SSL_KEY_LOGGER_H_
#define NET_SSL_SSL_KEY_LOGGER_H_
+#include <memory>
#include <string>
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
namespace base {
class FilePath;
@@ -40,7 +40,7 @@ class SSLKeyLogger {
scoped_refptr<base::SequencedTaskRunner> task_runner_;
// Destroyed on |task_runner_|.
- scoped_ptr<Core> core_;
+ std::unique_ptr<Core> core_;
DISALLOW_COPY_AND_ASSIGN(SSLKeyLogger);
};
« no previous file with comments | « net/ssl/ssl_client_session_cache_openssl_unittest.cc ('k') | net/ssl/ssl_platform_key.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698