| OLD | NEW |
| 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/http/http_pipelined_host.h" | 5 #include "net/http/http_pipelined_host.h" |
| 6 | 6 |
| 7 namespace net { | 7 namespace net { |
| 8 | 8 |
| 9 HttpPipelinedHost::Key::Key(const HostPortPair& origin) | 9 HttpPipelinedHost::Key::Key(const HostPortPair& origin) : origin_(origin) { |
| 10 : origin_(origin) { | |
| 11 } | 10 } |
| 12 | 11 |
| 13 bool HttpPipelinedHost::Key::operator<(const Key& rhs) const { | 12 bool HttpPipelinedHost::Key::operator<(const Key& rhs) const { |
| 14 return origin_ < rhs.origin_; | 13 return origin_ < rhs.origin_; |
| 15 } | 14 } |
| 16 | 15 |
| 17 } // namespace net | 16 } // namespace net |
| OLD | NEW |