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

Unified Diff: content/browser/web_contents/test_web_contents.h

Issue 11801011: Also filter the URLs from incoming non-provisional navigation IPCs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test Created 7 years, 11 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
Index: content/browser/web_contents/test_web_contents.h
diff --git a/content/browser/web_contents/test_web_contents.h b/content/browser/web_contents/test_web_contents.h
index d4f79189dc3c79c73231e54b8376de0f7672e5d9..183454761015a7912c49818b3a0ad097db20dbb5 100644
--- a/content/browser/web_contents/test_web_contents.h
+++ b/content/browser/web_contents/test_web_contents.h
@@ -90,6 +90,13 @@ class TestWebContents : public WebContentsImpl, public WebContentsTester {
int history_length,
int32 min_page_id) OVERRIDE;
+ void TestDidFinishLoad(int64 frame_id, const GURL& url, bool is_main_frame);
Charlie Reis 2013/01/07 20:58:46 You can probably skip this with a FRIEND_TEST_ALL_
jochen (gone - plz use gerrit) 2013/01/07 21:11:59 As discussed, I think emulating an IPC is a cleane
+ void TestDidFailLoadWithError(int64 frame_id,
+ const GURL& url,
+ bool is_main_frame,
+ int error_code,
+ const string16& error_description);
+
protected:
// The deprecated WebContentsTester still needs to subclass this.
explicit TestWebContents(BrowserContext* browser_context);

Powered by Google App Engine
This is Rietveld 408576698