// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_TEST_CHROMEDRIVER_NET_TIMEOUT_H_ #define CHROME_TEST_CHROMEDRIVER_NET_TIMEOUT_H_ #include "base/time/time.h" // A helper for tracking the time spent executing a task. Creating a new // instance marks the beginning of the task. Task duration limit may be set // in the contructor or at any time later, but only once. class Timeout { … }; #endif // CHROME_TEST_CHROMEDRIVER_NET_TIMEOUT_H_