summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request_throttler_test_support.cc
blob: 8d103352c244a3ee7a7888c2fcbaa6f44700c6c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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/url_request/url_request_throttler_test_support.h"

#include "net/url_request/url_request_throttler_entry.h"

namespace net {

TestTickClock::TestTickClock() {}

TestTickClock::TestTickClock(base::TimeTicks now) : now_ticks_(now) {}

TestTickClock::~TestTickClock() {}

base::TimeTicks TestTickClock::NowTicks() {
  return now_ticks_;
}

}  // namespace net