Index: remoting/protocol/buffered_socket_writer.h |
diff --git a/remoting/protocol/buffered_socket_writer.h b/remoting/protocol/buffered_socket_writer.h |
index 3ea127e30c6de788937f4a27139de84e983401dc..1560b0f42382746a6dab408f72d64545ba4a1e9c 100644 |
--- a/remoting/protocol/buffered_socket_writer.h |
+++ b/remoting/protocol/buffered_socket_writer.h |
@@ -7,8 +7,8 @@ |
#include <list> |
-#include "base/lock.h" |
#include "base/ref_counted.h" |
+#include "base/synchronization/lock.h" |
#include "net/base/io_buffer.h" |
#include "net/socket/socket.h" |
@@ -86,7 +86,7 @@ class BufferedSocketWriterBase |
void HandleError(int result); |
// Must be locked when accessing |socket_|, |queue_| and |buffer_size_|; |
- Lock lock_; |
+ base::Lock lock_; |
net::Socket* socket_; |
MessageLoop* message_loop_; |