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

Side by Side Diff: net/quic/core/quic_framer.cc

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 years, 3 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/quic/core/quic_crypto_stream.cc ('k') | net/quic/core/quic_packet_creator.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/quic/core/quic_framer.h" 5 #include "net/quic/core/quic_framer.h"
6 6
7 #include <cstdint> 7 #include <cstdint>
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 2418 matching lines...) Expand 10 before | Expand all | Expand 10 after
2429 if (!data_producer_->WriteStreamData(id, offset, sizeof(kCHLO), &writer)) { 2429 if (!data_producer_->WriteStreamData(id, offset, sizeof(kCHLO), &writer)) {
2430 QUIC_BUG << "Failed to write data for stream " << id << " with offset " 2430 QUIC_BUG << "Failed to write data for stream " << id << " with offset "
2431 << offset << " data_length = " << sizeof(kCHLO); 2431 << offset << " data_length = " << sizeof(kCHLO);
2432 return false; 2432 return false;
2433 } 2433 }
2434 2434
2435 return strncmp(buf, reinterpret_cast<const char*>(&kCHLO), sizeof(kCHLO)) == 2435 return strncmp(buf, reinterpret_cast<const char*>(&kCHLO), sizeof(kCHLO)) ==
2436 0; 2436 0;
2437 } 2437 }
2438 2438
2439 #undef ENDPOINT
2440
2439 } // namespace net 2441 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_crypto_stream.cc ('k') | net/quic/core/quic_packet_creator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698