OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/tools/flip_server/balsa_frame.h" | 5 #include "net/tools/balsa/balsa_frame.h" |
6 | 6 |
7 #include <iterator> | 7 #include <iterator> |
8 | 8 |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/strings/string_piece.h" | 10 #include "base/strings/string_piece.h" |
11 #include "net/tools/flip_server/balsa_enums.h" | 11 #include "net/tools/balsa/balsa_enums.h" |
12 #include "net/tools/flip_server/balsa_headers.h" | 12 #include "net/tools/balsa/balsa_headers.h" |
13 #include "testing/gmock/include/gmock/gmock.h" | 13 #include "testing/gmock/include/gmock/gmock.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 | 17 |
18 namespace { | 18 namespace { |
19 | 19 |
20 using ::base::StringPiece; | 20 using ::base::StringPiece; |
21 using ::testing::_; | 21 using ::testing::_; |
22 using ::testing::InSequence; | 22 using ::testing::InSequence; |
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 ASSERT_TRUE(frame_->Error()); | 590 ASSERT_TRUE(frame_->Error()); |
591 ASSERT_EQ( | 591 ASSERT_EQ( |
592 BalsaFrameEnums::CALLED_BYTES_SPLICED_AND_EXCEEDED_SAFE_SPLICE_AMOUNT, | 592 BalsaFrameEnums::CALLED_BYTES_SPLICED_AND_EXCEEDED_SAFE_SPLICE_AMOUNT, |
593 frame_->ErrorCode()); | 593 frame_->ErrorCode()); |
594 ASSERT_EQ(0u, frame_->BytesSafeToSplice()); | 594 ASSERT_EQ(0u, frame_->BytesSafeToSplice()); |
595 } | 595 } |
596 | 596 |
597 } // namespace | 597 } // namespace |
598 | 598 |
599 } // namespace net | 599 } // namespace net |
OLD | NEW |