| Index: chrome/test/chromedriver/chrome/navigation_tracker_none.h
|
| diff --git a/chrome/test/chromedriver/chrome/navigation_tracker_none.h b/chrome/test/chromedriver/chrome/navigation_tracker_none.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2e669014b43642a138ac1515a20bd429f7790e46
|
| --- /dev/null
|
| +++ b/chrome/test/chromedriver/chrome/navigation_tracker_none.h
|
| @@ -0,0 +1,28 @@
|
| +// Copyright (c) 2016 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.
|
| +
|
| +#ifndef CHROME_TEST_CHROMEDRIVER_CHROME_NAVIGATION_TRACKER_NONE_H_
|
| +#define CHROME_TEST_CHROMEDRIVER_CHROME_NAVIGATION_TRACKER_NONE_H_
|
| +
|
| +#include "chrome/test/chromedriver/chrome/page_loading_strategy.h"
|
| +
|
| +class Timeout;
|
| +class Status;
|
| +
|
| +class NavigationTrackerNone : public PageLoadingStrategy {
|
| +public:
|
| + ~NavigationTrackerNone() override;
|
| +
|
| + NavigationTrackerNone() : timed_out_(false) {}
|
| +
|
| + // Overriden from PageLoadingStrategy:
|
| + Status IsPendingNavigation(const std::string& frame_id,
|
| + const Timeout* timeout,
|
| + bool* is_pending) override;
|
| + void set_timed_out(bool timed_out) override;
|
| +private:
|
| + bool timed_out_;
|
| +};
|
| +
|
| +#endif // CHROME_TEST_CHROMEDRIVER_CHROME_NAVIGATION_TRACKER_NONE_H_
|
|
|