123456789101112131415161718192021 |
- // 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() = default;
- TestTickClock::TestTickClock(base::TimeTicks now) : now_ticks_(now) {}
- TestTickClock::~TestTickClock() = default;
- base::TimeTicks TestTickClock::NowTicks() const {
- return now_ticks_;
- }
- } // namespace net
|