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

Side by Side Diff: net/spdy/core/spdy_protocol.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_protocol.h ('k') | net/spdy/core/spdy_protocol_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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_protocol.h" 5 #include "net/spdy/core/spdy_protocol.h"
6 6
7 #include <ostream> 7 #include <ostream>
8 8
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "net/spdy/spdy_bug_tracker.h" 10 #include "net/spdy/core/spdy_bug_tracker.h"
11 11
12 namespace net { 12 namespace net {
13 13
14 const char* const kHttp2ConnectionHeaderPrefix = 14 const char* const kHttp2ConnectionHeaderPrefix =
15 "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n"; 15 "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n";
16 16
17 std::ostream& operator<<(std::ostream& out, SpdySettingsIds id) { 17 std::ostream& operator<<(std::ostream& out, SpdySettingsIds id) {
18 return out << static_cast<uint16_t>(id); 18 return out << static_cast<uint16_t>(id);
19 } 19 }
20 20
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 379
380 void SpdyPriorityIR::Visit(SpdyFrameVisitor* visitor) const { 380 void SpdyPriorityIR::Visit(SpdyFrameVisitor* visitor) const {
381 return visitor->VisitPriority(*this); 381 return visitor->VisitPriority(*this);
382 } 382 }
383 383
384 SpdyFrameType SpdyPriorityIR::frame_type() const { 384 SpdyFrameType SpdyPriorityIR::frame_type() const {
385 return SpdyFrameType::PRIORITY; 385 return SpdyFrameType::PRIORITY;
386 } 386 }
387 387
388 } // namespace net 388 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/core/spdy_protocol.h ('k') | net/spdy/core/spdy_protocol_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698