headers_ 53 content/child/npapi/plugin_stream.cc headers_ = headers; headers_ 60 content/child/npapi/plugin_stream.cc if (!headers_.empty()) headers_ 61 content/child/npapi/plugin_stream.cc stream_.headers = headers_.c_str(); headers_ 125 content/child/npapi/plugin_stream.h std::string headers_; headers_ 175 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc for (StringMap_t::iterator iter = headers_.begin(); iter != headers_.end(); headers_ 244 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc headers_[NormalizeHeaderKey(iter->first)] = iter->second; headers_ 50 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.h StringMap_t headers_; headers_ 43 net/cronet/android/url_request_peer.cc headers_.SetHeader(name, value); headers_ 113 net/cronet/android/url_request_peer.cc url_request_->SetExtraRequestHeaders(headers_); headers_ 115 net/cronet/android/url_request_peer.cc if (headers_.HasHeader(net::HttpRequestHeaders::kUserAgent)) { headers_ 116 net/cronet/android/url_request_peer.cc headers_.GetHeader(net::HttpRequestHeaders::kUserAgent, &user_agent); headers_ 102 net/cronet/android/url_request_peer.h net::HttpRequestHeaders headers_; headers_ 51 net/http/http_request_headers.cc curr_(headers.headers_.begin()), headers_ 52 net/http/http_request_headers.cc end_(headers.headers_.end()) {} headers_ 75 net/http/http_request_headers.cc if (it == headers_.end()) headers_ 82 net/http/http_request_headers.cc headers_.clear(); headers_ 88 net/http/http_request_headers.cc if (it != headers_.end()) headers_ 91 net/http/http_request_headers.cc headers_.push_back(HeaderKeyValuePair(key, value)); headers_ 97 net/http/http_request_headers.cc if (it == headers_.end()) headers_ 98 net/http/http_request_headers.cc headers_.push_back(HeaderKeyValuePair(key, value)); headers_ 103 net/http/http_request_headers.cc if (it != headers_.end()) headers_ 104 net/http/http_request_headers.cc headers_.erase(it); headers_ 166 net/http/http_request_headers.cc for (HeaderVector::const_iterator it = other.headers_.begin(); headers_ 167 net/http/http_request_headers.cc it != other.headers_.end(); ++it ) { headers_ 174 net/http/http_request_headers.cc for (HeaderVector::const_iterator it = headers_.begin(); headers_ 175 net/http/http_request_headers.cc it != headers_.end(); ++it) { headers_ 193 net/http/http_request_headers.cc for (HeaderVector::const_iterator it = headers_.begin(); headers_ 194 net/http/http_request_headers.cc it != headers_.end(); ++it) { headers_ 238 net/http/http_request_headers.cc for (HeaderVector::iterator it = headers_.begin(); headers_ 239 net/http/http_request_headers.cc it != headers_.end(); ++it) { headers_ 245 net/http/http_request_headers.cc return headers_.end(); headers_ 250 net/http/http_request_headers.cc for (HeaderVector::const_iterator it = headers_.begin(); headers_ 251 net/http/http_request_headers.cc it != headers_.end(); ++it) { headers_ 257 net/http/http_request_headers.cc return headers_.end(); headers_ 85 net/http/http_request_headers.h bool IsEmpty() const { return headers_.empty(); } headers_ 88 net/http/http_request_headers.h return FindHeader(key) != headers_.end(); headers_ 140 net/http/http_request_headers.h headers_.swap(other->headers_); headers_ 166 net/http/http_request_headers.h HeaderVector headers_; headers_ 45 net/ocsp/nss_ocsp_unittest.cc : headers_(headers), cert_data_(cert_data), request_count_(0) {} headers_ 55 net/ocsp/nss_ocsp_unittest.cc request, network_delegate, headers_, cert_data_, true); headers_ 61 net/ocsp/nss_ocsp_unittest.cc std::string headers_; headers_ 65 net/quic/quic_data_stream_test.cc headers_[":host"] = "www.google.com"; headers_ 66 net/quic/quic_data_stream_test.cc headers_[":path"] = "/index.hml"; headers_ 67 net/quic/quic_data_stream_test.cc headers_[":scheme"] = "https"; headers_ 68 net/quic/quic_data_stream_test.cc headers_["cookie"] = headers_ 111 net/quic/quic_data_stream_test.cc SpdyHeaderBlock headers_; headers_ 121 net/quic/quic_data_stream_test.cc string headers = SpdyUtils::SerializeUncompressedHeaders(headers_); headers_ 134 net/quic/quic_data_stream_test.cc string headers = SpdyUtils::SerializeUncompressedHeaders(headers_); headers_ 147 net/quic/quic_data_stream_test.cc string headers = SpdyUtils::SerializeUncompressedHeaders(headers_); headers_ 174 net/quic/quic_data_stream_test.cc string headers = SpdyUtils::SerializeUncompressedHeaders(headers_); headers_ 205 net/quic/quic_data_stream_test.cc string headers = SpdyUtils::SerializeUncompressedHeaders(headers_); headers_ 232 net/quic/quic_data_stream_test.cc string headers = SpdyUtils::SerializeUncompressedHeaders(headers_); headers_ 257 net/quic/quic_data_stream_test.cc string headers = SpdyUtils::SerializeUncompressedHeaders(headers_); headers_ 298 net/quic/quic_data_stream_test.cc string headers = SpdyUtils::SerializeUncompressedHeaders(headers_); headers_ 341 net/quic/quic_data_stream_test.cc string headers = SpdyUtils::SerializeUncompressedHeaders(headers_); headers_ 382 net/quic/quic_data_stream_test.cc string headers = SpdyUtils::SerializeUncompressedHeaders(headers_); headers_ 426 net/quic/quic_data_stream_test.cc string headers = SpdyUtils::SerializeUncompressedHeaders(headers_); headers_ 81 net/quic/quic_headers_stream_test.cc headers_[":version"] = "HTTP/1.1"; headers_ 82 net/quic/quic_headers_stream_test.cc headers_[":status"] = "200 Ok"; headers_ 83 net/quic/quic_headers_stream_test.cc headers_["content-length"] = "11"; headers_ 125 net/quic/quic_headers_stream_test.cc headers_stream_->WriteHeaders(stream_id, headers_, fin, NULL); headers_ 154 net/quic/quic_headers_stream_test.cc EXPECT_EQ(headers_, headers); headers_ 172 net/quic/quic_headers_stream_test.cc SpdyHeaderBlock headers_; headers_ 214 net/quic/quic_headers_stream_test.cc syn_stream.set_name_value_block(headers_); headers_ 220 net/quic/quic_headers_stream_test.cc syn_reply.set_name_value_block(headers_); headers_ 294 net/quic/quic_http_stream_test.cc HttpRequestHeaders headers_; headers_ 342 net/quic/quic_http_stream_test.cc EXPECT_EQ(OK, stream_->SendRequest(headers_, &response_, headers_ 380 net/quic/quic_http_stream_test.cc EXPECT_EQ(OK, stream_->SendRequest(headers_, &response_, headers_ 434 net/quic/quic_http_stream_test.cc EXPECT_EQ(OK, stream_->SendRequest(headers_, &response_, headers_ 483 net/quic/quic_http_stream_test.cc ASSERT_EQ(ERR_IO_PENDING, stream_->SendRequest(headers_, &response_, headers_ 528 net/quic/quic_http_stream_test.cc EXPECT_EQ(OK, stream_->SendRequest(headers_, &response_, headers_ 565 net/quic/quic_http_stream_test.cc EXPECT_EQ(OK, stream_->SendRequest(headers_, &response_, headers_ 52 net/quic/quic_reliable_client_stream_test.cc headers_[":host"] = "www.google.com"; headers_ 53 net/quic/quic_reliable_client_stream_test.cc headers_[":path"] = "/index.hml"; headers_ 54 net/quic/quic_reliable_client_stream_test.cc headers_[":scheme"] = "https"; headers_ 55 net/quic/quic_reliable_client_stream_test.cc headers_["cookie"] = headers_ 85 net/quic/quic_reliable_client_stream_test.cc SpdyHeaderBlock headers_; headers_ 94 net/quic/quic_reliable_client_stream_test.cc SpdyUtils::SerializeUncompressedHeaders(headers_); headers_ 165 net/quic/quic_session_test.cc headers_[":host"] = "www.google.com"; headers_ 166 net/quic/quic_session_test.cc headers_[":path"] = "/index.hml"; headers_ 167 net/quic/quic_session_test.cc headers_[":scheme"] = "http"; headers_ 168 net/quic/quic_session_test.cc headers_["cookie"] = headers_ 214 net/quic/quic_session_test.cc SpdyHeaderBlock headers_; headers_ 79 net/quic/reliable_quic_stream_test.cc headers_[":host"] = "www.google.com"; headers_ 80 net/quic/reliable_quic_stream_test.cc headers_[":path"] = "/index.hml"; headers_ 81 net/quic/reliable_quic_stream_test.cc headers_[":scheme"] = "https"; headers_ 82 net/quic/reliable_quic_stream_test.cc headers_["cookie"] = headers_ 137 net/quic/reliable_quic_stream_test.cc SpdyHeaderBlock headers_; headers_ 37 net/server/http_server_response_info.cc headers_.push_back(std::make_pair(name, value)); headers_ 53 net/server/http_server_response_info.cc for (header = headers_.begin(); header != headers_.end(); ++header) headers_ 40 net/server/http_server_response_info.h Headers headers_; headers_ 85 net/socket_stream/socket_stream.cc headers_.reset(static_cast<char*>(realloc(headers_.release(), new_size))); headers_ 824 net/socket_stream/socket_stream.cc if (tunnel_request_headers_->headers_.empty()) { headers_ 830 net/socket_stream/socket_stream.cc tunnel_request_headers_->headers_ = base::StringPrintf( headers_ 837 net/socket_stream/socket_stream.cc int buf_len = static_cast<int>(tunnel_request_headers_->headers_.size() - headers_ 854 net/socket_stream/socket_stream.cc tunnel_request_headers_->headers_.size()) { headers_ 209 net/socket_stream/socket_stream.h data_ = const_cast<char*>(headers_.data()) + offset; headers_ 212 net/socket_stream/socket_stream.h std::string headers_; headers_ 222 net/socket_stream/socket_stream.h void SetDataOffset(size_t offset) { data_ = headers_.get() + offset; } headers_ 223 net/socket_stream/socket_stream.h char* headers() const { return headers_.get(); } headers_ 224 net/socket_stream/socket_stream.h void Reset() { headers_.reset(); } headers_ 230 net/socket_stream/socket_stream.h scoped_ptr<char, base::FreeDeleter> headers_; headers_ 48 net/spdy/buffered_spdy_framer_unittest.cc headers_ = headers; headers_ 57 net/spdy/buffered_spdy_framer_unittest.cc headers_ = headers; headers_ 66 net/spdy/buffered_spdy_framer_unittest.cc headers_ = headers; headers_ 151 net/spdy/buffered_spdy_framer_unittest.cc SpdyHeaderBlock headers_; headers_ 235 net/spdy/buffered_spdy_framer_unittest.cc EXPECT_TRUE(CompareHeaderBlocks(&headers, &visitor.headers_)); headers_ 262 net/spdy/buffered_spdy_framer_unittest.cc EXPECT_TRUE(CompareHeaderBlocks(&headers, &visitor.headers_)); headers_ 284 net/spdy/buffered_spdy_framer_unittest.cc EXPECT_TRUE(CompareHeaderBlocks(&headers, &visitor.headers_)); headers_ 299 net/spdy/spdy_framer_test.cc headers_.clear(); headers_ 302 net/spdy/spdy_framer_test.cc header_buffer_.get(), header_buffer_length_, &headers_); headers_ 492 net/spdy/spdy_framer_test.cc SpdyHeaderBlock headers_; headers_ 607 net/spdy/spdy_framer_test.cc &visitor.headers_)); headers_ 630 net/spdy/spdy_framer_test.cc EXPECT_EQ(0u, visitor.headers_.size()); headers_ 815 net/spdy/spdy_framer_test.cc EXPECT_THAT(visitor.headers_, ElementsAre( headers_ 2815 net/spdy/spdy_framer_test.cc EXPECT_TRUE(CompareHeaderBlocks(&headers, &visitor.headers_)); headers_ 2838 net/spdy/spdy_framer_test.cc EXPECT_TRUE(CompareHeaderBlocks(&headers, &visitor.headers_)); headers_ 2862 net/spdy/spdy_framer_test.cc EXPECT_TRUE(CompareHeaderBlocks(&headers, &visitor.headers_)); headers_ 2887 net/spdy/spdy_framer_test.cc EXPECT_TRUE(CompareHeaderBlocks(&headers, &visitor.headers_)); headers_ 3505 net/spdy/spdy_framer_test.cc EXPECT_TRUE(CompareHeaderBlocks(&headers, &visitor.headers_)); headers_ 3548 net/spdy/spdy_framer_test.cc EXPECT_THAT(visitor.headers_, ElementsAre( headers_ 3594 net/spdy/spdy_framer_test.cc EXPECT_THAT(visitor.headers_, ElementsAre( headers_ 3641 net/spdy/spdy_framer_test.cc EXPECT_THAT(visitor.headers_, ElementsAre( headers_ 32 net/test/embedded_test_server/embedded_test_server.cc : headers_(headers), contents_(contents) { headers_ 36 net/test/embedded_test_server/embedded_test_server.cc return headers_ + "\r\n" + contents_; headers_ 40 net/test/embedded_test_server/embedded_test_server.cc std::string headers_; headers_ 80 net/tools/balsa/balsa_frame.cc if (headers_ != NULL) { headers_ 81 net/tools/balsa/balsa_frame.cc headers_->Clear(); headers_ 418 net/tools/balsa/balsa_frame.cc headers_, headers_ 430 net/tools/balsa/balsa_frame.cc headers_->whitespace_4_idx_ - headers_->non_whitespace_3_idx_; headers_ 432 net/tools/balsa/balsa_frame.cc begin + headers_->non_whitespace_1_idx_, headers_ 433 net/tools/balsa/balsa_frame.cc headers_->whitespace_4_idx_ - headers_->non_whitespace_1_idx_, headers_ 434 net/tools/balsa/balsa_frame.cc begin + headers_->non_whitespace_1_idx_, headers_ 435 net/tools/balsa/balsa_frame.cc headers_->whitespace_2_idx_ - headers_->non_whitespace_1_idx_, headers_ 436 net/tools/balsa/balsa_frame.cc begin + headers_->non_whitespace_2_idx_, headers_ 437 net/tools/balsa/balsa_frame.cc headers_->whitespace_3_idx_ - headers_->non_whitespace_2_idx_, headers_ 438 net/tools/balsa/balsa_frame.cc begin + headers_->non_whitespace_3_idx_, headers_ 444 net/tools/balsa/balsa_frame.cc begin + headers_->non_whitespace_1_idx_, headers_ 445 net/tools/balsa/balsa_frame.cc headers_->whitespace_4_idx_ - headers_->non_whitespace_1_idx_, headers_ 446 net/tools/balsa/balsa_frame.cc begin + headers_->non_whitespace_1_idx_, headers_ 447 net/tools/balsa/balsa_frame.cc headers_->whitespace_2_idx_ - headers_->non_whitespace_1_idx_, headers_ 448 net/tools/balsa/balsa_frame.cc begin + headers_->non_whitespace_2_idx_, headers_ 449 net/tools/balsa/balsa_frame.cc headers_->whitespace_3_idx_ - headers_->non_whitespace_2_idx_, headers_ 450 net/tools/balsa/balsa_frame.cc begin + headers_->non_whitespace_3_idx_, headers_ 451 net/tools/balsa/balsa_frame.cc headers_->whitespace_4_idx_ - headers_->non_whitespace_3_idx_); headers_ 496 net/tools/balsa/balsa_frame.cc const char* stream_begin = headers_->OriginalHeaderStreamBegin(); headers_ 502 net/tools/balsa/balsa_frame.cc const char* header_lines_end_m16 = headers_->OriginalHeaderStreamEnd() - 16; headers_ 549 net/tools/balsa/balsa_frame.cc headers_->header_lines_.push_back( headers_ 606 net/tools/balsa/balsa_frame.cc HeaderLineDescription& current_header_line = headers_->header_lines_.back(); headers_ 625 net/tools/balsa/balsa_frame.cc const HeaderLineDescription& header_line = headers_->header_lines_[line_idx]; headers_ 626 net/tools/balsa/balsa_frame.cc const char* stream_begin = headers_->OriginalHeaderStreamBegin(); headers_ 670 net/tools/balsa/balsa_frame.cc const HeaderLineDescription& header_line = headers_->header_lines_[line_idx]; headers_ 671 net/tools/balsa/balsa_frame.cc const char* stream_begin = headers_->OriginalHeaderStreamBegin(); headers_ 678 net/tools/balsa/balsa_frame.cc headers_->transfer_encoding_is_chunked_ = true; headers_ 681 net/tools/balsa/balsa_frame.cc headers_->transfer_encoding_is_chunked_ = false; headers_ 771 net/tools/balsa/balsa_frame.cc const char* stream_begin = headers_->OriginalHeaderStreamBegin(); headers_ 779 net/tools/balsa/balsa_frame.cc header_lines_size = headers_->header_lines_.size(); headers_ 782 net/tools/balsa/balsa_frame.cc headers_->header_lines_[i]; headers_ 807 net/tools/balsa/balsa_frame.cc if ((headers_->content_length_status_ != content_length_status) || headers_ 808 net/tools/balsa/balsa_frame.cc ((headers_->content_length_status_ == headers_ 810 net/tools/balsa/balsa_frame.cc length != headers_->content_length_)) { headers_ 819 net/tools/balsa/balsa_frame.cc headers_->content_length_status_ = content_length_status; headers_ 820 net/tools/balsa/balsa_frame.cc headers_->content_length_ = length; headers_ 844 net/tools/balsa/balsa_frame.cc if (headers_->transfer_encoding_is_chunked_) { headers_ 845 net/tools/balsa/balsa_frame.cc headers_->content_length_ = 0; headers_ 846 net/tools/balsa/balsa_frame.cc headers_->content_length_status_ = BalsaHeadersEnums::NO_CONTENT_LENGTH; headers_ 861 net/tools/balsa/balsa_frame.cc (headers_->parsed_response_code_ >= 100 && headers_ 862 net/tools/balsa/balsa_frame.cc headers_->parsed_response_code_ < 200) || headers_ 863 net/tools/balsa/balsa_frame.cc (headers_->parsed_response_code_ == 204) || headers_ 864 net/tools/balsa/balsa_frame.cc (headers_->parsed_response_code_ == 304))) { headers_ 866 net/tools/balsa/balsa_frame.cc if (headers_->transfer_encoding_is_chunked_) { headers_ 876 net/tools/balsa/balsa_frame.cc switch (headers_->content_length_status_) { headers_ 883 net/tools/balsa/balsa_frame.cc if (headers_->content_length_ == 0) { headers_ 905 net/tools/balsa/balsa_frame.cc base::StringPiece method = headers_->request_method(); headers_ 931 net/tools/balsa/balsa_frame.cc << headers_->content_length_status_ << " which is unknown."; headers_ 950 net/tools/balsa/balsa_frame.cc size_t base_idx = headers_->GetReadableBytesFromHeaderStream(); headers_ 1009 net/tools/balsa/balsa_frame.cc headers_->WriteFromFramer(checkpoint, headers_ 1012 net/tools/balsa/balsa_frame.cc const char* begin = headers_->OriginalHeaderStreamBegin(); headers_ 1053 net/tools/balsa/balsa_frame.cc headers_->WriteFromFramer(checkpoint, headers_ 1056 net/tools/balsa/balsa_frame.cc const char* begin = headers_->OriginalHeaderStreamBegin(); headers_ 1089 net/tools/balsa/balsa_frame.cc headers_->WriteFromFramer(checkpoint, message_current - checkpoint); headers_ 1097 net/tools/balsa/balsa_frame.cc if (headers_->GetReadableBytesFromHeaderStream() > max_header_length_) { headers_ 1107 net/tools/balsa/balsa_frame.cc headers_->DoneWritingFromFramer(); headers_ 1111 net/tools/balsa/balsa_frame.cc headers_->GetReadablePtrFromHeaderStream(&readable_ptr, &readable_size); headers_ 1126 net/tools/balsa/balsa_frame.cc visitor_->ProcessHeaders(*headers_); headers_ 1140 net/tools/balsa/balsa_frame.cc headers_->WriteFromFramer(checkpoint, message_current - checkpoint); headers_ 1227 net/tools/balsa/balsa_frame.cc DCHECK(headers_ != NULL); headers_ 1228 net/tools/balsa/balsa_frame.cc if (headers_ == NULL) return 0; headers_ 1231 net/tools/balsa/balsa_frame.cc const size_t header_length = headers_->GetReadableBytesFromHeaderStream(); headers_ 1257 net/tools/balsa/balsa_frame.cc headers_->GetReadableBytesFromHeaderStream(); headers_ 57 net/tools/balsa/balsa_frame.h const BalsaHeaders* const_balsa_headers() const { return headers_; } headers_ 58 net/tools/balsa/balsa_frame.h BalsaHeaders* balsa_headers() { return headers_; } headers_ 64 net/tools/balsa/balsa_frame.h if (headers_ != headers) { headers_ 65 net/tools/balsa/balsa_frame.h headers_ = headers; headers_ 67 net/tools/balsa/balsa_frame.h if (headers_) { headers_ 70 net/tools/balsa/balsa_frame.h headers_->Clear(); headers_ 125 net/tools/balsa/balsa_frame.h const BalsaHeaders* headers() const { return headers_; } headers_ 126 net/tools/balsa/balsa_frame.h BalsaHeaders* mutable_headers() { return headers_; } headers_ 258 net/tools/balsa/balsa_frame.h BalsaHeaders* headers_; // This is not reset to NULL in Reset(). headers_ 71 net/tools/balsa/balsa_headers.cc BalsaHeaders::iterator_base::iterator_base() : headers_(NULL), idx_(0) { } headers_ 74 net/tools/balsa/balsa_headers.cc : headers_(it.headers_), headers_ 79 net/tools/balsa/balsa_headers.cc os << "[" << this->headers_ << ", " << this->idx_ << "]"; headers_ 85 net/tools/balsa/balsa_headers.cc : headers_(headers), headers_ 358 net/tools/balsa/balsa_headers.h const HeaderLines& header_lines = headers_->header_lines_; headers_ 376 net/tools/balsa/balsa_headers.h const HeaderLines& header_lines = headers_->header_lines_; headers_ 394 net/tools/balsa/balsa_headers.h DCHECK_LT(index, headers_->header_lines_.size()); headers_ 395 net/tools/balsa/balsa_headers.h const HeaderLineDescription& line = headers_->header_lines_[index]; headers_ 396 net/tools/balsa/balsa_headers.h const char* stream_begin = headers_->GetPtr(line.buffer_base_idx); headers_ 407 net/tools/balsa/balsa_headers.h const BalsaHeaders* headers_; headers_ 417 net/tools/balsa/balsa_headers.h using iterator_base::headers_; headers_ 429 net/tools/balsa/balsa_headers.h headers_ = it.headers_; headers_ 435 net/tools/balsa/balsa_headers.h headers_ = it.headers_; headers_ 476 net/tools/balsa/balsa_headers.h iterator_base(it.headers_, it.idx_) {} headers_ 500 net/tools/balsa/balsa_headers.h reverse_iterator_base(it.headers_, it.idx_) {} headers_ 504 net/tools/balsa/balsa_headers.h reverse_iterator_base(it.headers_, it.idx_) {} headers_ 507 net/tools/balsa/balsa_headers.h return const_header_lines_iterator(headers_, idx_); headers_ 562 net/tools/balsa/balsa_headers.h return *this >= headers_->header_lines_end(); headers_ 611 net/tools/balsa/balsa_headers.h DCHECK_EQ(it.headers_, this); headers_ 37 net/tools/balsa/balsa_headers_test.cc headers_.reset(new BalsaHeaders); headers_ 41 net/tools/balsa/balsa_headers_test.cc scoped_ptr<BalsaHeaders> headers_; headers_ 162 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key1", "value1"); headers_ 163 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key2", "value2"); headers_ 164 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key3", "value3"); headers_ 165 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key3", "value3.1"); headers_ 166 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key3", "value3.2"); headers_ 168 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ(5, std::distance(headers_->header_lines_begin(), headers_ 169 net/tools/balsa/balsa_headers_test.cc headers_->header_lines_end())); headers_ 170 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ("value1", headers_->GetHeader("key1")); headers_ 171 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ("value2", headers_->GetHeader("key2")); headers_ 172 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ("value3", headers_->GetHeader("key3")); headers_ 176 net/tools/balsa/balsa_headers_test.cc headers_->GetAllOfHeader("key1", &v1); headers_ 177 net/tools/balsa/balsa_headers_test.cc headers_->GetAllOfHeader("key2", &v2); headers_ 178 net/tools/balsa/balsa_headers_test.cc headers_->GetAllOfHeader("key3", &v3); headers_ 179 net/tools/balsa/balsa_headers_test.cc headers_->GetAllOfHeaderAsString("key1", &s1); headers_ 180 net/tools/balsa/balsa_headers_test.cc headers_->GetAllOfHeaderAsString("key2", &s2); headers_ 181 net/tools/balsa/balsa_headers_test.cc headers_->GetAllOfHeaderAsString("key3", &s3); headers_ 197 net/tools/balsa/balsa_headers_test.cc headers_->ReplaceOrAppendHeader("key1", "value1"); headers_ 198 net/tools/balsa/balsa_headers_test.cc headers_->ReplaceOrAppendHeader("key1", "value2"); headers_ 200 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ(1, std::distance(headers_->header_lines_begin(), headers_ 201 net/tools/balsa/balsa_headers_test.cc headers_->header_lines_end())); headers_ 202 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ("value2", headers_->GetHeader("key1")); headers_ 205 net/tools/balsa/balsa_headers_test.cc headers_->GetAllOfHeader("key1", &v); headers_ 212 net/tools/balsa/balsa_headers_test.cc headers_->AppendToHeader("key1", "value1"); headers_ 213 net/tools/balsa/balsa_headers_test.cc headers_->AppendToHeader("keY1", "value2"); headers_ 215 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ(1, std::distance(headers_->header_lines_begin(), headers_ 216 net/tools/balsa/balsa_headers_test.cc headers_->header_lines_end())); headers_ 217 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ("value1,value2", headers_->GetHeader("key1")); headers_ 221 net/tools/balsa/balsa_headers_test.cc headers_->GetAllOfHeader("key1", &v); headers_ 222 net/tools/balsa/balsa_headers_test.cc headers_->GetAllOfHeaderAsString("keY1", &s); headers_ 230 net/tools/balsa/balsa_headers_test.cc headers_->PrependToHeader("key1", "value1"); headers_ 231 net/tools/balsa/balsa_headers_test.cc headers_->PrependToHeader("key1", "value2"); headers_ 233 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ(1, std::distance(headers_->header_lines_begin(), headers_ 234 net/tools/balsa/balsa_headers_test.cc headers_->header_lines_end())); headers_ 235 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ("value2,value1", headers_->GetHeader("key1")); headers_ 239 net/tools/balsa/balsa_headers_test.cc headers_->GetAllOfHeader("key1", &v); headers_ 240 net/tools/balsa/balsa_headers_test.cc headers_->GetAllOfHeaderAsString("key1", &s); headers_ 248 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key1", "value1"); headers_ 250 net/tools/balsa/balsa_headers_test.cc ASSERT_TRUE(headers_->HasHeader("key1")); headers_ 251 net/tools/balsa/balsa_headers_test.cc ASSERT_FALSE(headers_->HasHeader("value1")); headers_ 252 net/tools/balsa/balsa_headers_test.cc ASSERT_FALSE(headers_->HasHeader("key2")); headers_ 256 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key1", "value1"); headers_ 257 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key2", ""); headers_ 259 net/tools/balsa/balsa_headers_test.cc ASSERT_TRUE(headers_->HasNonEmptyHeader("key1")); headers_ 260 net/tools/balsa/balsa_headers_test.cc ASSERT_FALSE(headers_->HasNonEmptyHeader("key2")); headers_ 261 net/tools/balsa/balsa_headers_test.cc ASSERT_FALSE(headers_->HasNonEmptyHeader("key3")); headers_ 265 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key1", "value1"); headers_ 266 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key2", "value2"); headers_ 267 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key3", "value3"); headers_ 270 net/tools/balsa/balsa_headers_test.cc headers_->GetHeaderPosition("key2"); headers_ 272 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ(headers_->header_lines_end(), headers_ 273 net/tools/balsa/balsa_headers_test.cc headers_->GetHeaderPosition("foobar")); headers_ 274 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ(headers_->header_lines_begin(), headers_ 275 net/tools/balsa/balsa_headers_test.cc headers_->GetHeaderPosition("key1")); headers_ 276 net/tools/balsa/balsa_headers_test.cc ASSERT_NE(headers_->header_lines_end(), i); headers_ 283 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ(headers_->header_lines_end(), i); headers_ 287 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key1", "value1"); headers_ 288 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key2", "value2"); headers_ 289 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key1", "value1.1"); headers_ 290 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key3", "value3"); headers_ 291 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("KEY1", "value1.2"); headers_ 294 net/tools/balsa/balsa_headers_test.cc headers_->GetIteratorForKey("key1"); headers_ 296 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ(headers_->header_lines_key_end(), headers_ 297 net/tools/balsa/balsa_headers_test.cc headers_->GetIteratorForKey("foobar")); headers_ 298 net/tools/balsa/balsa_headers_test.cc ASSERT_NE(headers_->header_lines_key_end(), i); headers_ 308 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ(headers_->header_lines_key_end(), i); headers_ 312 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key1", "value1"); headers_ 313 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key2", "value2"); headers_ 314 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key1", "value1.1"); headers_ 315 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key3", "value3"); headers_ 316 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key1", "value1.2"); headers_ 317 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("kEY1", "value1.3"); headers_ 319 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ(6, std::distance(headers_->header_lines_begin(), headers_ 320 net/tools/balsa/balsa_headers_test.cc headers_->header_lines_end())); headers_ 321 net/tools/balsa/balsa_headers_test.cc headers_->RemoveAllOfHeader("key1"); headers_ 322 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ(2, std::distance(headers_->header_lines_begin(), headers_ 323 net/tools/balsa/balsa_headers_test.cc headers_->header_lines_end())); headers_ 327 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("1key", "value1"); headers_ 328 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("2key", "value2"); headers_ 329 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("1kEz", "value1.1"); headers_ 330 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key3", "value3"); headers_ 331 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("1KEEjkladf", "value1.2"); headers_ 333 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ(5, std::distance(headers_->header_lines_begin(), headers_ 334 net/tools/balsa/balsa_headers_test.cc headers_->header_lines_end())); headers_ 335 net/tools/balsa/balsa_headers_test.cc headers_->RemoveAllHeadersWithPrefix("1ke"); headers_ 336 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ(2, std::distance(headers_->header_lines_begin(), headers_ 337 net/tools/balsa/balsa_headers_test.cc headers_->header_lines_end())); headers_ 341 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key1", "value1"); headers_ 342 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key2", "value2"); headers_ 343 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key1", "value1.1"); headers_ 345 net/tools/balsa/balsa_headers_test.cc headers_->SetRequestFirstlineFromStringPieces("GET", "/", "HTTP/1.0"); headers_ 352 net/tools/balsa/balsa_headers_test.cc headers_->WriteHeaderAndEndingToBuffer(&buffer); headers_ 357 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key1", "value1"); headers_ 358 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key2", "value2"); headers_ 359 net/tools/balsa/balsa_headers_test.cc headers_->AppendHeader("key1", "value1.1"); headers_ 361 net/tools/balsa/balsa_headers_test.cc headers_->SetResponseFirstlineFromStringPieces("HTTP/1.0", "200", "OK"); headers_ 368 net/tools/balsa/balsa_headers_test.cc headers_->WriteHeaderAndEndingToBuffer(&buffer); headers_ 373 net/tools/balsa/balsa_headers_test.cc headers_->SetRequestFirstlineFromStringPieces("HEAD", "/path", "HTTP/1.1"); headers_ 375 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ("HEAD /path HTTP/1.1", headers_->first_line()); headers_ 376 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ("HEAD", headers_->request_method()); headers_ 377 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ("/path", headers_->request_uri()); headers_ 378 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ("HTTP/1.1", headers_->request_version()); headers_ 382 net/tools/balsa/balsa_headers_test.cc headers_->SetRequestFirstlineFromStringPieces("HTTP/1.0", "403", "FORBIDDEN"); headers_ 384 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ("HTTP/1.0 403 FORBIDDEN", headers_->first_line()); headers_ 385 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ("HTTP/1.0", headers_->response_version()); headers_ 386 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ("403", headers_->response_code()); headers_ 387 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ("FORBIDDEN", headers_->response_reason_phrase()); headers_ 29 net/tools/flip_server/http_interface.cc http_framer_->set_balsa_headers(&headers_); headers_ 128 net/tools/flip_server/http_interface.h BalsaHeaders headers_; headers_ 58 net/tools/flip_server/mem_cache.cc headers_.reset(new BalsaHeaders); headers_ 59 net/tools/flip_server/mem_cache.cc headers_->CopyFrom(*headers); headers_ 71 net/tools/flip_server/mem_cache.h BalsaHeaders* headers() { return headers_.get(); } headers_ 72 net/tools/flip_server/mem_cache.h const BalsaHeaders* headers() const { return headers_.get(); } headers_ 78 net/tools/flip_server/mem_cache.h scoped_ptr<BalsaHeaders> headers_; headers_ 30 net/tools/flip_server/streamer_interface.cc http_framer_->set_balsa_headers(&headers_); headers_ 131 net/tools/flip_server/streamer_interface.h BalsaHeaders headers_; headers_ 48 net/tools/quic/quic_in_memory_cache.h const BalsaHeaders& headers() const { return headers_; } headers_ 55 net/tools/quic/quic_in_memory_cache.h headers_.CopyFrom(headers); headers_ 62 net/tools/quic/quic_in_memory_cache.h BalsaHeaders headers_; headers_ 107 net/tools/quic/quic_spdy_client_stream.cc if (!SpdyUtils::FillBalsaResponseHeaders(headers, &headers_)) { headers_ 59 net/tools/quic/quic_spdy_client_stream.h const BalsaHeaders& headers() { return headers_; } headers_ 72 net/tools/quic/quic_spdy_client_stream.h BalsaHeaders headers_; headers_ 40 net/tools/quic/quic_spdy_client_stream_test.cc headers_.SetResponseFirstlineFromStringPieces("HTTP/1.1", "200", "Ok"); headers_ 41 net/tools/quic/quic_spdy_client_stream_test.cc headers_.ReplaceOrAppendHeader("content-length", "11"); headers_ 43 net/tools/quic/quic_spdy_client_stream_test.cc headers_string_ = SpdyUtils::SerializeResponseHeaders(headers_); headers_ 55 net/tools/quic/quic_spdy_client_stream_test.cc BalsaHeaders headers_; headers_ 58 net/tools/quic/quic_spdy_server_stream.cc } else if ((headers_.content_length_status() == headers_ 60 net/tools/quic/quic_spdy_server_stream.cc body_.size() != headers_.content_length()) { headers_ 78 net/tools/quic/quic_spdy_server_stream.cc if (!SpdyUtils::FillBalsaRequestHeaders(headers, &headers_)) { headers_ 95 net/tools/quic/quic_spdy_server_stream.cc QuicInMemoryCache::GetInstance()->GetResponse(headers_); headers_ 54 net/tools/quic/quic_spdy_server_stream.h BalsaHeaders headers_; headers_ 49 net/tools/quic/quic_spdy_server_stream_test.cc return &headers_; headers_ 65 net/tools/quic/quic_spdy_server_stream_test.cc return stream->headers_; headers_ 104 net/tools/quic/test_tools/http_message.h const BalsaHeaders* headers() const { return &headers_; } headers_ 105 net/tools/quic/test_tools/http_message.h BalsaHeaders* headers() { return &headers_; } headers_ 108 net/tools/quic/test_tools/http_message.h BalsaHeaders headers_; headers_ 401 net/tools/quic/test_tools/quic_test_client.cc headers_.Clear(); headers_ 467 net/tools/quic/test_tools/quic_test_client.cc return &headers_; headers_ 493 net/tools/quic/test_tools/quic_test_client.cc headers_.CopyFrom(stream_->headers()); headers_ 498 net/tools/quic/test_tools/quic_test_client.cc response_header_size_ = headers_.GetSizeForWriteBuffer(); headers_ 175 net/tools/quic/test_tools/quic_test_client.h BalsaHeaders headers_; headers_ 170 net/websockets/websocket_handshake_handler.cc &headers_); headers_ 172 net/websockets/websocket_handshake_handler.cc if (!CheckVersionInRequest(headers_)) { headers_ 187 net/websockets/websocket_handshake_handler.cc DCHECK(!headers_.empty()); headers_ 188 net/websockets/websocket_handshake_handler.cc HttpUtil::AppendHeaderIfMissing(name.c_str(), value, &headers_); headers_ 194 net/websockets/websocket_handshake_handler.cc DCHECK(!headers_.empty()); headers_ 195 net/websockets/websocket_handshake_handler.cc headers_ = FilterHeaders( headers_ 196 net/websockets/websocket_handshake_handler.cc headers_, headers_to_remove, headers_to_remove_len); headers_ 208 net/websockets/websocket_handshake_handler.cc request_info.extra_headers.AddHeadersFromString(headers_); headers_ 239 net/websockets/websocket_handshake_handler.cc HttpUtil::HeadersIterator iter(headers_.begin(), headers_.end(), "\r\n"); headers_ 296 net/websockets/websocket_handshake_handler.cc DCHECK(!headers_.empty()); headers_ 298 net/websockets/websocket_handshake_handler.cc std::string raw_request = request_line_ + headers_ + "\r\n"; headers_ 335 net/websockets/websocket_handshake_handler.cc &headers_); headers_ 336 net/websockets/websocket_handshake_handler.cc int header_size = status_line_.size() + headers_.size(); headers_ 467 net/websockets/websocket_handshake_handler.cc if (headers_.empty()) headers_ 470 net/websockets/websocket_handshake_handler.cc FetchHeaders(headers_, headers_to_get, headers_to_get_len, values); headers_ 479 net/websockets/websocket_handshake_handler.cc if (headers_.empty()) headers_ 482 net/websockets/websocket_handshake_handler.cc headers_ = FilterHeaders(headers_, headers_to_remove, headers_to_remove_len); headers_ 495 net/websockets/websocket_handshake_handler.cc return status_line_ + headers_ + header_separator_; headers_ 66 net/websockets/websocket_handshake_handler.h std::string headers_; headers_ 116 net/websockets/websocket_handshake_handler.h std::string headers_; headers_ 40 remoting/host/token_validator_factory_impl_unittest.cc : headers_(headers), headers_ 47 remoting/host/token_validator_factory_impl_unittest.cc request, network_delegate, headers_, response_, true); headers_ 51 remoting/host/token_validator_factory_impl_unittest.cc std::string headers_;