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

Unified Diff: content/test/test_web_contents.h

Issue 348533004: Remove TestWebContents override that doesn't override anything. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | content/test/test_web_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_web_contents.h
diff --git a/content/test/test_web_contents.h b/content/test/test_web_contents.h
index e42abfef21aeb80b94fc07b610b768505ff73457..9afa72dc9a13c58fd003ef532f58be73deae7568 100644
--- a/content/test/test_web_contents.h
+++ b/content/test/test_web_contents.h
@@ -51,10 +51,6 @@ class TestWebContents : public WebContentsImpl, public WebContentsTester {
return GetRenderManager()->cross_navigation_pending_;
}
- // Overrides WebContentsImpl::ShouldTransitionCrossSite so that we can test
- // both alternatives without using command-line switches.
- bool ShouldTransitionCrossSite() { return transition_cross_site; }
-
// Prevent interaction with views.
virtual bool CreateRenderViewForRenderManager(
RenderViewHost* render_view_host,
@@ -67,9 +63,6 @@ class TestWebContents : public WebContentsImpl, public WebContentsTester {
// TestWebContents. The caller owns the returned object.
virtual WebContents* Clone() OVERRIDE;
- // Set by individual tests.
- bool transition_cross_site;
-
// Allow mocking of the RenderViewHostDelegateView.
virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE;
void set_delegate_view(RenderViewHostDelegateView* view) {
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | content/test/test_web_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698