Check for captive portal correctly in OAuth2TokenFetcher.
[chromium-blink-merge.git] / extensions / browser / extension_throttle_test_support.cc
blobd5a522891e509e9ad8380f9e1df0ee2a1ea98201
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
3 // found in the LICENSE file.
5 #include "extensions/browser/extension_throttle_test_support.h"
7 namespace extensions {
9 TestTickClock::TestTickClock() {
12 TestTickClock::TestTickClock(base::TimeTicks now) : now_ticks_(now) {
15 TestTickClock::~TestTickClock() {
18 base::TimeTicks TestTickClock::NowTicks() {
19 return now_ticks_;
22 } // namespace extensions