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

Unified Diff: chrome/test/chromedriver/chrome/navigation_tracker_none.cc

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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/chromedriver/chrome/navigation_tracker_none.cc
diff --git a/chrome/test/chromedriver/chrome/navigation_tracker_none.cc b/chrome/test/chromedriver/chrome/navigation_tracker_none.cc
new file mode 100644
index 0000000000000000000000000000000000000000..b3d54e500b7fdf3587bf79211e01d6798ce17c5f
--- /dev/null
+++ b/chrome/test/chromedriver/chrome/navigation_tracker_none.cc
@@ -0,0 +1,18 @@
+// 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.
+
+#include "chrome/test/chromedriver/chrome/navigation_tracker_none.h"
+
+NavigationTrackerNone::~NavigationTrackerNone() {}
+
+Status NavigationTrackerNone::IsPendingNavigation(const std::string& frame_id,
+ const Timeout* timeout,
+ bool* is_pending) {
+ *is_pending = false;
+ return Status(kOk);
+}
+
+void NavigationTrackerNone::set_timed_out(bool timed_out) {
+ timed_out_ = timed_out;
+}

Powered by Google App Engine
This is Rietveld 408576698