| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_TEST_CHROMEDRIVER_NAVIGATION_TRACKER_H_ | 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_NAVIGATION_TRACKER_H_ |
| 6 #define CHROME_TEST_CHROMEDRIVER_NAVIGATION_TRACKER_H_ | 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_NAVIGATION_TRACKER_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "chrome/test/chromedriver/devtools_event_listener.h" | 13 #include "chrome/test/chromedriver/chrome/devtools_event_listener.h" |
| 14 #include "chrome/test/chromedriver/status.h" | 14 #include "chrome/test/chromedriver/chrome/status.h" |
| 15 | 15 |
| 16 namespace base { | 16 namespace base { |
| 17 class DictionaryValue; | 17 class DictionaryValue; |
| 18 } | 18 } |
| 19 | 19 |
| 20 class DevToolsClient; | 20 class DevToolsClient; |
| 21 class Status; | 21 class Status; |
| 22 | 22 |
| 23 // Tracks the navigation state of the page. | 23 // Tracks the navigation state of the page. |
| 24 class NavigationTracker : public DevToolsEventListener { | 24 class NavigationTracker : public DevToolsEventListener { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 41 const base::DictionaryValue& params) OVERRIDE; | 41 const base::DictionaryValue& params) OVERRIDE; |
| 42 | 42 |
| 43 private: | 43 private: |
| 44 DevToolsClient* client_; | 44 DevToolsClient* client_; |
| 45 LoadingState loading_state_; | 45 LoadingState loading_state_; |
| 46 std::set<std::string> scheduled_frame_set_; | 46 std::set<std::string> scheduled_frame_set_; |
| 47 | 47 |
| 48 DISALLOW_COPY_AND_ASSIGN(NavigationTracker); | 48 DISALLOW_COPY_AND_ASSIGN(NavigationTracker); |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 #endif // CHROME_TEST_CHROMEDRIVER_NAVIGATION_TRACKER_H_ | 51 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_NAVIGATION_TRACKER_H_ |
| OLD | NEW |