| Index: net/disk_cache/simple/simple_net_log_parameters.cc
|
| diff --git a/net/disk_cache/simple/simple_net_log_parameters.cc b/net/disk_cache/simple/simple_net_log_parameters.cc
|
| index 46c678c2001e3db57001ee9f876e31d68ecf34ce..fe565ef91dad4ae91385a9c741891546fa73eb30 100644
|
| --- a/net/disk_cache/simple/simple_net_log_parameters.cc
|
| +++ b/net/disk_cache/simple/simple_net_log_parameters.cc
|
| @@ -17,20 +17,20 @@
|
|
|
| namespace {
|
|
|
| -scoped_ptr<base::Value> NetLogSimpleEntryConstructionCallback(
|
| +std::unique_ptr<base::Value> NetLogSimpleEntryConstructionCallback(
|
| const disk_cache::SimpleEntryImpl* entry,
|
| net::NetLogCaptureMode capture_mode) {
|
| - scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
|
| + std::unique_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
|
| dict->SetString("entry_hash",
|
| base::StringPrintf("%#016" PRIx64, entry->entry_hash()));
|
| return std::move(dict);
|
| }
|
|
|
| -scoped_ptr<base::Value> NetLogSimpleEntryCreationCallback(
|
| +std::unique_ptr<base::Value> NetLogSimpleEntryCreationCallback(
|
| const disk_cache::SimpleEntryImpl* entry,
|
| int net_error,
|
| net::NetLogCaptureMode /* capture_mode */) {
|
| - scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
|
| + std::unique_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
|
| dict->SetInteger("net_error", net_error);
|
| if (net_error == net::OK)
|
| dict->SetString("key", entry->key());
|
|
|