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

Unified Diff: components/net_log/net_log_temp_file.h

Issue 1918083002: Convert //components/[f-n]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: … 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/net_log/chrome_net_log.cc ('k') | components/net_log/net_log_temp_file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/net_log/net_log_temp_file.h
diff --git a/components/net_log/net_log_temp_file.h b/components/net_log/net_log_temp_file.h
index 48522fa1eae710e5aa5ae3e7930043d05ab89f72..486f93542473830415db796f95dabbe2f3fadb8c 100644
--- a/components/net_log/net_log_temp_file.h
+++ b/components/net_log/net_log_temp_file.h
@@ -5,13 +5,13 @@
#ifndef COMPONENTS_NET_LOG_NET_LOG_TEMP_FILE_H_
#define COMPONENTS_NET_LOG_NET_LOG_TEMP_FILE_H_
+#include <memory>
#include <string>
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/gtest_prod_util.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/threading/thread_checker.h"
#include "net/log/net_log.h"
@@ -157,7 +157,7 @@ class NetLogTempFile {
// |write_to_file_observer_| watches the NetLog event stream, and
// sends all entries to the file created in StartNetLog().
- scoped_ptr<net::WriteToFileNetLogObserver> write_to_file_observer_;
+ std::unique_ptr<net::WriteToFileNetLogObserver> write_to_file_observer_;
// The |chrome_net_log_| is owned by the browser process, cached here to avoid
// using global (g_browser_process).
« no previous file with comments | « components/net_log/chrome_net_log.cc ('k') | components/net_log/net_log_temp_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698