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

Unified Diff: chrome/test/chromedriver/navigation_tracker.h

Issue 12848005: [chromedriver] Separate stuff of chrome from chromedriver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments and fix compile error on mac. Created 7 years, 9 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
« no previous file with comments | « chrome/test/chromedriver/local_state.txt ('k') | chrome/test/chromedriver/navigation_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « chrome/test/chromedriver/local_state.txt ('k') | chrome/test/chromedriver/navigation_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698