summaryrefslogtreecommitdiffstats
path: root/net/http/http_pipelined_host.cc
blob: ca477808e9bf964a97456fda42614348cad283bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "net/http/http_pipelined_host.h"

namespace net {

HttpPipelinedHost::Key::Key(const HostPortPair& origin)
    : origin_(origin) {
}

bool HttpPipelinedHost::Key::operator<(const Key& rhs) const {
  return origin_ < rhs.origin_;
}

}  // namespace net