Index: tools/battor_agent/battor_connection.h |
diff --git a/tools/battor_agent/battor_connection.h b/tools/battor_agent/battor_connection.h |
index 9b8442995a64b446bf8768d49d4d8b56ddc752e8..b8aed3c256574ef1ec1d3e468cc34009c01b1764 100644 |
--- a/tools/battor_agent/battor_connection.h |
+++ b/tools/battor_agent/battor_connection.h |
@@ -5,10 +5,10 @@ |
#ifndef TOOLS_BATTOR_AGENT_BATTOR_CONNECTION_H_ |
#define TOOLS_BATTOR_AGENT_BATTOR_CONNECTION_H_ |
+#include <memory> |
#include <vector> |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/single_thread_task_runner.h" |
#include "tools/battor_agent/battor_protocol_types.h" |
@@ -36,7 +36,7 @@ class BattOrConnection { |
virtual void OnBytesSent(bool success) = 0; |
virtual void OnMessageRead(bool success, |
BattOrMessageType type, |
- scoped_ptr<std::vector<char>> bytes) = 0; |
+ std::unique_ptr<std::vector<char>> bytes) = 0; |
}; |
BattOrConnection(Listener* listener); |