OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2016 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. |
| 4 |
| 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_NAVIGATION_TRACKER_NONE_H_ |
| 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_NAVIGATION_TRACKER_NONE_H_ |
| 7 |
| 8 #include "chrome/test/chromedriver/chrome/page_loading_strategy.h" |
| 9 |
| 10 class Timeout; |
| 11 class Status; |
| 12 |
| 13 class NavigationTrackerNone : public PageLoadingStrategy { |
| 14 public: |
| 15 ~NavigationTrackerNone() override; |
| 16 |
| 17 NavigationTrackerNone() : timed_out_(false) {} |
| 18 |
| 19 // Overriden from PageLoadingStrategy: |
| 20 Status IsPendingNavigation(const std::string& frame_id, |
| 21 const Timeout* timeout, |
| 22 bool* is_pending) override; |
| 23 void set_timed_out(bool timed_out) override; |
| 24 private: |
| 25 bool timed_out_; |
| 26 }; |
| 27 |
| 28 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_NAVIGATION_TRACKER_NONE_H_ |
OLD | NEW |