Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: chrome/test/chromedriver/chrome/navigation_tracker_none.h

Issue 2125123002: [chromedriver] Add page loading strategy to capabilities (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed merge conflicts Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698