| Index: sync/engine/traffic_logger.cc
|
| diff --git a/sync/engine/traffic_logger.cc b/sync/engine/traffic_logger.cc
|
| index 1e9a6bc75fe6e12aed4d8c3621c877be936a07ae..58536eefbf7e78cad540059066dfb8e140b47a43 100644
|
| --- a/sync/engine/traffic_logger.cc
|
| +++ b/sync/engine/traffic_logger.cc
|
| @@ -4,11 +4,11 @@
|
|
|
| #include "sync/engine/traffic_logger.h"
|
|
|
| +#include <memory>
|
| #include <string>
|
|
|
| #include "base/json/json_writer.h"
|
| #include "base/logging.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/values.h"
|
| #include "sync/protocol/proto_value_conversions.h"
|
| #include "sync/protocol/sync.pb.h"
|
| @@ -18,11 +18,11 @@ namespace syncer {
|
| namespace {
|
| template <class T>
|
| void LogData(const T& data,
|
| - scoped_ptr<base::DictionaryValue>(*to_dictionary_value)(const T&,
|
| - bool),
|
| + std::unique_ptr<base::DictionaryValue> (
|
| + *to_dictionary_value)(const T&, bool),
|
| const std::string& description) {
|
| if (::logging::DEBUG_MODE && VLOG_IS_ON(1)) {
|
| - scoped_ptr<base::DictionaryValue> value =
|
| + std::unique_ptr<base::DictionaryValue> value =
|
| (*to_dictionary_value)(data, true /* include_specifics */);
|
| std::string message;
|
| base::JSONWriter::WriteWithOptions(
|
|
|