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

Side by Side Diff: net/quic/quic_connection_logger.cc

Issue 1570443010: relnote: Change the QuicBlockedFrame in QuicFrame from a pointer to in-place. No functional change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@04_CL_111628540
Patch Set: Created 4 years, 11 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/quic_connection.cc ('k') | net/quic/quic_connection_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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/quic/quic_connection_logger.h" 5 #include "net/quic/quic_connection_logger.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 break; 394 break;
395 case WINDOW_UPDATE_FRAME: 395 case WINDOW_UPDATE_FRAME:
396 net_log_.AddEvent(NetLog::TYPE_QUIC_SESSION_WINDOW_UPDATE_FRAME_SENT, 396 net_log_.AddEvent(NetLog::TYPE_QUIC_SESSION_WINDOW_UPDATE_FRAME_SENT,
397 base::Bind(&NetLogQuicWindowUpdateFrameCallback, 397 base::Bind(&NetLogQuicWindowUpdateFrameCallback,
398 frame.window_update_frame)); 398 frame.window_update_frame));
399 break; 399 break;
400 case BLOCKED_FRAME: 400 case BLOCKED_FRAME:
401 ++num_blocked_frames_sent_; 401 ++num_blocked_frames_sent_;
402 net_log_.AddEvent( 402 net_log_.AddEvent(
403 NetLog::TYPE_QUIC_SESSION_BLOCKED_FRAME_SENT, 403 NetLog::TYPE_QUIC_SESSION_BLOCKED_FRAME_SENT,
404 base::Bind(&NetLogQuicBlockedFrameCallback, frame.blocked_frame)); 404 base::Bind(&NetLogQuicBlockedFrameCallback, &frame.blocked_frame));
405 break; 405 break;
406 case STOP_WAITING_FRAME: 406 case STOP_WAITING_FRAME:
407 net_log_.AddEvent(NetLog::TYPE_QUIC_SESSION_STOP_WAITING_FRAME_SENT, 407 net_log_.AddEvent(NetLog::TYPE_QUIC_SESSION_STOP_WAITING_FRAME_SENT,
408 base::Bind(&NetLogQuicStopWaitingFrameCallback, 408 base::Bind(&NetLogQuicStopWaitingFrameCallback,
409 frame.stop_waiting_frame)); 409 frame.stop_waiting_frame));
410 break; 410 break;
411 case PING_FRAME: 411 case PING_FRAME:
412 UMA_HISTOGRAM_BOOLEAN("Net.QuicSession.ConnectionFlowControlBlocked", 412 UMA_HISTOGRAM_BOOLEAN("Net.QuicSession.ConnectionFlowControlBlocked",
413 session_->IsConnectionFlowControlBlocked()); 413 session_->IsConnectionFlowControlBlocked());
414 UMA_HISTOGRAM_BOOLEAN("Net.QuicSession.StreamFlowControlBlocked", 414 UMA_HISTOGRAM_BOOLEAN("Net.QuicSession.StreamFlowControlBlocked",
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 continue; 873 continue;
874 } 874 }
875 // Record some overlapping patterns, to get a better picture, since this is 875 // Record some overlapping patterns, to get a better picture, since this is
876 // not very expensive. 876 // not very expensive.
877 if (i % 3 == 0) 877 if (i % 3 == 0)
878 six_packet_histogram->Add(recent_6_mask); 878 six_packet_histogram->Add(recent_6_mask);
879 } 879 }
880 } 880 }
881 881
882 } // namespace net 882 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_connection.cc ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698