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

Side by Side Diff: net/spdy/spdy_stream.cc

Issue 10828138: Coverity: Initialize member variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/pepper_flash_settings_manager.cc ('k') | no next file » | 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_stream.h" 5 #include "net/spdy/spdy_stream.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/stringprintf.h" 10 #include "base/stringprintf.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 delegate_(NULL), 66 delegate_(NULL),
67 request_time_(base::Time::Now()), 67 request_time_(base::Time::Now()),
68 response_(new SpdyHeaderBlock), 68 response_(new SpdyHeaderBlock),
69 io_state_(STATE_NONE), 69 io_state_(STATE_NONE),
70 response_status_(OK), 70 response_status_(OK),
71 cancelled_(false), 71 cancelled_(false),
72 has_upload_data_(false), 72 has_upload_data_(false),
73 net_log_(net_log), 73 net_log_(net_log),
74 send_bytes_(0), 74 send_bytes_(0),
75 recv_bytes_(0), 75 recv_bytes_(0),
76 domain_bound_cert_type_(CLIENT_CERT_INVALID_TYPE) { 76 domain_bound_cert_type_(CLIENT_CERT_INVALID_TYPE),
77 domain_bound_cert_request_handle_(NULL) {
77 } 78 }
78 79
79 class SpdyStream::SpdyStreamIOBufferProducer 80 class SpdyStream::SpdyStreamIOBufferProducer
80 : public SpdySession::SpdyIOBufferProducer { 81 : public SpdySession::SpdyIOBufferProducer {
81 public: 82 public:
82 SpdyStreamIOBufferProducer(SpdyStream* stream) : stream_(stream) {} 83 SpdyStreamIOBufferProducer(SpdyStream* stream) : stream_(stream) {}
83 84
84 // SpdyFrameProducer 85 // SpdyFrameProducer
85 virtual RequestPriority GetPriority() const OVERRIDE { 86 virtual RequestPriority GetPriority() const OVERRIDE {
86 return stream_->priority(); 87 return stream_->priority();
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 UMA_HISTOGRAM_TIMES("Net.SpdyStreamDownloadTime", 799 UMA_HISTOGRAM_TIMES("Net.SpdyStreamDownloadTime",
799 recv_last_byte_time_ - recv_first_byte_time_); 800 recv_last_byte_time_ - recv_first_byte_time_);
800 UMA_HISTOGRAM_TIMES("Net.SpdyStreamTime", 801 UMA_HISTOGRAM_TIMES("Net.SpdyStreamTime",
801 recv_last_byte_time_ - send_time_); 802 recv_last_byte_time_ - send_time_);
802 803
803 UMA_HISTOGRAM_COUNTS("Net.SpdySendBytes", send_bytes_); 804 UMA_HISTOGRAM_COUNTS("Net.SpdySendBytes", send_bytes_);
804 UMA_HISTOGRAM_COUNTS("Net.SpdyRecvBytes", recv_bytes_); 805 UMA_HISTOGRAM_COUNTS("Net.SpdyRecvBytes", recv_bytes_);
805 } 806 }
806 807
807 } // namespace net 808 } // namespace net
OLDNEW
« no previous file with comments | « chrome/browser/pepper_flash_settings_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698