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

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

Issue 2125123002: [chromedriver] Add page loading strategy to capabilities (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clearer naming, checks for valid strategies earlier in parsing 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/non_blocking_navigation_tracker.cc
diff --git a/chrome/test/chromedriver/chrome/non_blocking_navigation_tracker.cc b/chrome/test/chromedriver/chrome/non_blocking_navigation_tracker.cc
new file mode 100644
index 0000000000000000000000000000000000000000..3f7a8bdcc476d24a6e1ad609d1f05767f2878a70
--- /dev/null
+++ b/chrome/test/chromedriver/chrome/non_blocking_navigation_tracker.cc
@@ -0,0 +1,19 @@
+// 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/non_blocking_navigation_tracker.h"
+
+NonBlockingNavigationTracker::~NonBlockingNavigationTracker() {}
+
+Status NonBlockingNavigationTracker::IsPendingNavigation(
+ const std::string& frame_id,
+ const Timeout* timeout,
+ bool* is_pending) {
+ *is_pending = false;
+ return Status(kOk);
+}
+
+void NonBlockingNavigationTracker::set_timed_out(bool timed_out) {
+ timed_out_ = timed_out;
+}

Powered by Google App Engine
This is Rietveld 408576698