Index: chrome/test/chromedriver/navigation_tracker.h |
diff --git a/chrome/test/chromedriver/navigation_tracker.h b/chrome/test/chromedriver/navigation_tracker.h |
deleted file mode 100644 |
index da5f4b8ff856dca85399dad38fc941be587b5f1c..0000000000000000000000000000000000000000 |
--- a/chrome/test/chromedriver/navigation_tracker.h |
+++ /dev/null |
@@ -1,51 +0,0 @@ |
-// Copyright (c) 2013 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_NAVIGATION_TRACKER_H_ |
-#define CHROME_TEST_CHROMEDRIVER_NAVIGATION_TRACKER_H_ |
- |
-#include <set> |
-#include <string> |
- |
-#include "base/basictypes.h" |
-#include "base/compiler_specific.h" |
-#include "chrome/test/chromedriver/devtools_event_listener.h" |
-#include "chrome/test/chromedriver/status.h" |
- |
-namespace base { |
-class DictionaryValue; |
-} |
- |
-class DevToolsClient; |
-class Status; |
- |
-// Tracks the navigation state of the page. |
-class NavigationTracker : public DevToolsEventListener { |
- public: |
- enum LoadingState { |
- kUnknown, |
- kLoading, |
- kNotLoading, |
- }; |
- |
- explicit NavigationTracker(DevToolsClient* client); |
- NavigationTracker(DevToolsClient* client, LoadingState known_state); |
- virtual ~NavigationTracker(); |
- |
- Status IsPendingNavigation(const std::string& frame_id, bool* is_pending); |
- |
- // Overridden from DevToolsEventListener: |
- virtual Status OnConnected() OVERRIDE; |
- virtual void OnEvent(const std::string& method, |
- const base::DictionaryValue& params) OVERRIDE; |
- |
- private: |
- DevToolsClient* client_; |
- LoadingState loading_state_; |
- std::set<std::string> scheduled_frame_set_; |
- |
- DISALLOW_COPY_AND_ASSIGN(NavigationTracker); |
-}; |
- |
-#endif // CHROME_TEST_CHROMEDRIVER_NAVIGATION_TRACKER_H_ |