Index: chrome/test/base/in_process_browser_test.h |
diff --git a/chrome/test/base/in_process_browser_test.h b/chrome/test/base/in_process_browser_test.h |
index 494386a45e2541bee6f8d85f65076dceb7761d81..99e88ea620344f9cf6a6bf2e5ef869800b081c54 100644 |
--- a/chrome/test/base/in_process_browser_test.h |
+++ b/chrome/test/base/in_process_browser_test.h |
@@ -123,6 +123,13 @@ class InProcessBrowserTest : public content::BrowserTestBase { |
// outstanding resources. |
void CloseAllBrowsers(); |
+ // Ensures that no devtools are open, and then opens the devtools. |
+ void OpenDevToolsWindow(content::WebContents* web_contents); |
+ |
+ // Similar to ui_test_utils::OpenURLOffTheRecord, but also flushes the |
+ // Autoreleasepool on Mac. |
+ Browser* OpenURLOffTheRecord(Profile* profile, const GURL& url); |
+ |
// Convenience methods for adding tabs to a Browser. |
void AddTabAtIndexToBrowser(Browser* browser, |
int index, |