| Index: net/quic/reliable_quic_stream_test.cc
|
| diff --git a/net/quic/reliable_quic_stream_test.cc b/net/quic/reliable_quic_stream_test.cc
|
| index d63a5d824bc6e8c7bfe424e1825c404fc48a3c0d..95ef7369772e745e64ea32bd7a95d23349b44a58 100644
|
| --- a/net/quic/reliable_quic_stream_test.cc
|
| +++ b/net/quic/reliable_quic_stream_test.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "net/quic/reliable_quic_stream.h"
|
|
|
| +#include <string>
|
| +
|
| #include "net/quic/quic_ack_notifier.h"
|
| #include "net/quic/quic_connection.h"
|
| #include "net/quic/quic_utils.h"
|
| @@ -51,7 +53,7 @@ class TestStream : public ReliableQuicStream {
|
| uint32 ProcessRawData(const char* data, uint32 data_len) override {
|
| EXPECT_NE(0u, data_len);
|
| DVLOG(1) << "ProcessData data_len: " << data_len;
|
| - data_ += string(data, data_len);
|
| + data_ += std::string(data, data_len);
|
| return should_process_data_ ? data_len : 0;
|
| }
|
|
|
| @@ -66,7 +68,7 @@ class TestStream : public ReliableQuicStream {
|
|
|
| private:
|
| bool should_process_data_;
|
| - string data_;
|
| + std::string data_;
|
| };
|
|
|
| class ReliableQuicStreamTest : public ::testing::TestWithParam<bool> {
|
| @@ -439,7 +441,7 @@ TEST_F(ReliableQuicStreamTest, WriteOrBufferDataWithQuicAckNotifier) {
|
| new StrictMock<MockAckNotifierDelegate>);
|
|
|
| const int kDataSize = 16 * 1024;
|
| - const string kData(kDataSize, 'a');
|
| + const std::string kData(kDataSize, 'a');
|
|
|
| const int kFirstWriteSize = 100;
|
| const int kSecondWriteSize = 50;
|
| @@ -494,7 +496,7 @@ TEST_F(ReliableQuicStreamTest, WriteOrBufferDataAckNotificationBeforeFlush) {
|
| new StrictMock<MockAckNotifierDelegate>);
|
|
|
| const int kDataSize = 16 * 1024;
|
| - const string kData(kDataSize, 'a');
|
| + const std::string kData(kDataSize, 'a');
|
|
|
| const int kInitialWriteSize = 100;
|
|
|
|
|