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

Unified Diff: net/tools/gdig/file_net_log.cc

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/tools/flip_server/spdy_interface_test.cc ('k') | net/tools/gdig/gdig.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/gdig/file_net_log.cc
diff --git a/net/tools/gdig/file_net_log.cc b/net/tools/gdig/file_net_log.cc
index 5020f6de647026312322e420ea096095bb6c1c2b..1281f8abbe25ff8438a190c8a46e8a0e2b14b49c 100644
--- a/net/tools/gdig/file_net_log.cc
+++ b/net/tools/gdig/file_net_log.cc
@@ -2,13 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "net/tools/gdig/file_net_log.h"
+
#include <stdio.h>
+#include <memory>
+
#include "base/json/json_string_value_serializer.h"
#include "base/logging.h"
-#include "base/memory/scoped_ptr.h"
#include "base/values.h"
-#include "net/tools/gdig/file_net_log.h"
namespace net {
@@ -27,7 +29,7 @@ void FileNetLogObserver::OnAddEntry(const net::NetLog::Entry& entry) {
const char* source = NetLog::SourceTypeToString(entry.source().type);
const char* type = NetLog::EventTypeToString(entry.type());
- scoped_ptr<base::Value> param_value(entry.ParametersToValue());
+ std::unique_ptr<base::Value> param_value(entry.ParametersToValue());
std::string params;
if (param_value.get() != NULL) {
JSONStringValueSerializer serializer(&params);
« no previous file with comments | « net/tools/flip_server/spdy_interface_test.cc ('k') | net/tools/gdig/gdig.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698