Index: content/public/test/test_navigation_observer.h |
diff --git a/content/public/test/test_navigation_observer.h b/content/public/test/test_navigation_observer.h |
index 31a94d63f6d2ea2f9fb35e8fbbcf4099550ccd39..438af744eb56c076d561664818243aa4be4aabe8 100644 |
--- a/content/public/test/test_navigation_observer.h |
+++ b/content/public/test/test_navigation_observer.h |
@@ -11,11 +11,8 @@ |
#include "base/compiler_specific.h" |
#include "base/memory/scoped_ptr.h" |
#include "content/public/test/test_utils.h" |
-#include "ui/base/page_transition_types.h" |
-#include "url/gurl.h" |
namespace content { |
-class RenderFrameHost; |
class WebContents; |
struct LoadCommittedDetails; |
@@ -40,10 +37,6 @@ |
void StartWatchingNewWebContents(); |
void StopWatchingNewWebContents(); |
- const GURL& last_navigation_url() const { return last_navigation_url_; } |
- |
- int last_navigation_succeeded() const { return last_navigation_succeeded_; } |
- |
protected: |
// Register this TestNavigationObserver as an observer of the |web_contents|. |
void RegisterAsObserver(WebContents* web_contents); |
@@ -62,17 +55,6 @@ |
void OnDidAttachInterstitialPage(WebContents* web_contents); |
void OnDidStartLoading(WebContents* web_contents); |
void OnDidStopLoading(WebContents* web_contents); |
- void OnDidStartProvisionalLoadForFrame(RenderFrameHost* render_frame_host, |
- const GURL& validated_url, |
- bool is_error_page, |
- bool is_iframe_srcdoc); |
- void OnDidFailProvisionalLoad(RenderFrameHost* render_frame_host, |
- const GURL& validated_url, |
- int error_code, |
- const base::string16& error_description); |
- void OnDidCommitProvisionalLoadForFrame(RenderFrameHost* render_frame_host, |
- const GURL& url, |
- ui::PageTransition transition_type); |
// If true the navigation has started. |
bool navigation_started_; |
@@ -82,12 +64,6 @@ |
// The number of navigations to wait for. |
int number_of_navigations_; |
- |
- // The url of the navigation that last committed. |
- GURL last_navigation_url_; |
- |
- // True if the last navigation succeeded. |
- bool last_navigation_succeeded_; |
// The MessageLoopRunner used to spin the message loop. |
scoped_refptr<MessageLoopRunner> message_loop_runner_; |