• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2012 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "net/url_request/url_request_throttler_test_support.h"
6 
7 #include "net/url_request/url_request_throttler_entry.h"
8 
9 namespace net {
10 
11 TestTickClock::TestTickClock() = default;
12 
TestTickClock(base::TimeTicks now)13 TestTickClock::TestTickClock(base::TimeTicks now) : now_ticks_(now) {}
14 
15 TestTickClock::~TestTickClock() = default;
16 
NowTicks() const17 base::TimeTicks TestTickClock::NowTicks() const {
18   return now_ticks_;
19 }
20 
21 }  // namespace net
22