Index: content/test/test_web_contents.h |
diff --git a/content/test/test_web_contents.h b/content/test/test_web_contents.h |
index 4ae4434b716bf89371f80d7eda9a4b8d15b3bba6..644c45d7989c72642d022ec04cea58c9d2c99deb 100644 |
--- a/content/test/test_web_contents.h |
+++ b/content/test/test_web_contents.h |
@@ -76,6 +76,9 @@ class TestWebContents : public WebContentsImpl, public WebContentsTester { |
// Allows us to simulate this tab having an opener. |
void SetOpener(TestWebContents* opener); |
+ // Allows us to simulate that a contents was created via CreateNewWindow. |
+ void AddPendingContents(TestWebContents* contents); |
+ |
// Establish expected arguments for |SetHistoryLengthAndPrune()|. When |
// |SetHistoryLengthAndPrune()| is called, the arguments are compared |
// with the expected arguments specified here. |