Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Side by Side Diff: net/spdy/core/spdy_deframer_visitor.cc

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/spdy/core/spdy_deframer_visitor.h ('k') | net/spdy/core/spdy_deframer_visitor_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/spdy/spdy_deframer_visitor.h" 5 #include "net/spdy/core/spdy_deframer_visitor.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <cstdint> 10 #include <cstdint>
11 #include <limits> 11 #include <limits>
12 12
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/memory/ptr_util.h" 14 #include "base/memory/ptr_util.h"
15 #include "net/spdy/hpack/hpack_constants.h" 15 #include "net/spdy/core/hpack/hpack_constants.h"
16 #include "net/spdy/mock_spdy_framer_visitor.h" 16 #include "net/spdy/core/mock_spdy_framer_visitor.h"
17 #include "net/spdy/spdy_frame_builder.h" 17 #include "net/spdy/core/spdy_frame_builder.h"
18 #include "net/spdy/spdy_frame_reader.h" 18 #include "net/spdy/core/spdy_frame_reader.h"
19 #include "net/spdy/spdy_protocol.h" 19 #include "net/spdy/core/spdy_protocol.h"
20 #include "net/spdy/spdy_test_utils.h" 20 #include "net/spdy/core/spdy_test_utils.h"
21 21
22 using ::base::MakeUnique; 22 using ::base::MakeUnique;
23 using ::testing::AssertionFailure; 23 using ::testing::AssertionFailure;
24 using ::testing::AssertionResult; 24 using ::testing::AssertionResult;
25 using ::testing::AssertionSuccess; 25 using ::testing::AssertionSuccess;
26 26
27 namespace net { 27 namespace net {
28 namespace test { 28 namespace test {
29 29
30 // Specify whether to process headers as request or response in visitor-related 30 // Specify whether to process headers as request or response in visitor-related
(...skipping 985 matching lines...) Expand 10 before | Expand all | Expand 10 after
1016 // The SpdyFramer will not process any more data at this point. 1016 // The SpdyFramer will not process any more data at this point.
1017 void DeframerCallbackCollector::OnError(SpdyFramer* framer, 1017 void DeframerCallbackCollector::OnError(SpdyFramer* framer,
1018 SpdyTestDeframer* deframer) { 1018 SpdyTestDeframer* deframer) {
1019 CollectedFrame cf; 1019 CollectedFrame cf;
1020 cf.error_reported = true; 1020 cf.error_reported = true;
1021 collected_frames_->push_back(std::move(cf)); 1021 collected_frames_->push_back(std::move(cf));
1022 } 1022 }
1023 1023
1024 } // namespace test 1024 } // namespace test
1025 } // namespace net 1025 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/core/spdy_deframer_visitor.h ('k') | net/spdy/core/spdy_deframer_visitor_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698