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

Unified Diff: net/log/test_net_log_entry.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/log/test_net_log.cc ('k') | net/log/test_net_log_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/log/test_net_log_entry.h
diff --git a/net/log/test_net_log_entry.h b/net/log/test_net_log_entry.h
index a13297a752c0c7d42da311b64fe8c4928d221550..0508ede818cc59efcf310a96a81acab65b385066 100644
--- a/net/log/test_net_log_entry.h
+++ b/net/log/test_net_log_entry.h
@@ -5,10 +5,10 @@
#ifndef NET_LOG_TEST_NET_LOG_ENTRY_H_
#define NET_LOG_TEST_NET_LOG_ENTRY_H_
+#include <memory>
#include <string>
#include <vector>
-#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "net/log/net_log.h"
@@ -31,7 +31,7 @@ struct TestNetLogEntry {
const base::TimeTicks& time,
NetLog::Source source,
NetLog::EventPhase phase,
- scoped_ptr<base::DictionaryValue> params);
+ std::unique_ptr<base::DictionaryValue> params);
// Copy constructor needed to store in a std::vector because of the
// scoped_ptr.
TestNetLogEntry(const TestNetLogEntry& entry);
@@ -62,7 +62,7 @@ struct TestNetLogEntry {
base::TimeTicks time;
NetLog::Source source;
NetLog::EventPhase phase;
- scoped_ptr<base::DictionaryValue> params;
+ std::unique_ptr<base::DictionaryValue> params;
};
} // namespace net
« no previous file with comments | « net/log/test_net_log.cc ('k') | net/log/test_net_log_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698