Index: base/process/process_metrics.h |
diff --git a/base/process/process_metrics.h b/base/process/process_metrics.h |
index 9c868ccbce2b6aeec5e21144365bb66de0410cc1..8d4e51b517d78ed4cb497b983cadb8325f35addc 100644 |
--- a/base/process/process_metrics.h |
+++ b/base/process/process_metrics.h |
@@ -267,7 +267,7 @@ struct BASE_EXPORT SystemMemoryInfoKB { |
SystemMemoryInfoKB(const SystemMemoryInfoKB& other); |
// Serializes the platform specific fields to value. |
- scoped_ptr<Value> ToValue() const; |
+ std::unique_ptr<Value> ToValue() const; |
int total; |
int free; |
@@ -343,7 +343,7 @@ struct BASE_EXPORT SystemDiskInfo { |
SystemDiskInfo(const SystemDiskInfo& other); |
// Serializes the platform specific fields to value. |
- scoped_ptr<Value> ToValue() const; |
+ std::unique_ptr<Value> ToValue() const; |
uint64_t reads; |
uint64_t reads_merged; |
@@ -380,7 +380,7 @@ struct BASE_EXPORT SwapInfo { |
} |
// Serializes the platform specific fields to value. |
- scoped_ptr<Value> ToValue() const; |
+ std::unique_ptr<Value> ToValue() const; |
uint64_t num_reads; |
uint64_t num_writes; |
@@ -404,7 +404,7 @@ class SystemMetrics { |
static SystemMetrics Sample(); |
// Serializes the system metrics to value. |
- scoped_ptr<Value> ToValue() const; |
+ std::unique_ptr<Value> ToValue() const; |
private: |
FRIEND_TEST_ALL_PREFIXES(SystemMetricsTest, SystemMetrics); |