Index: chrome/test/base/ui_test_utils.h |
diff --git a/chrome/test/base/ui_test_utils.h b/chrome/test/base/ui_test_utils.h |
index 632b86185f361090066c54d0566315da605a3cb6..e5a359a10c8760192178ea1939d9200e65302350 100644 |
--- a/chrome/test/base/ui_test_utils.h |
+++ b/chrome/test/base/ui_test_utils.h |
@@ -74,12 +74,6 @@ enum BrowserTestWaitFlags { |
// Puts the current tab title in |title|. Returns true on success. |
bool GetCurrentTabTitle(const Browser* browser, base::string16* title); |
-// Opens |url| in an incognito browser window with the incognito profile of |
-// |profile|, blocking until the navigation finishes. This will create a new |
-// browser if a browser with the incognito profile does not exist. Returns the |
-// incognito window Browser. |
-Browser* OpenURLOffTheRecord(Profile* profile, const GURL& url); |
- |
// Performs the provided navigation process, blocking until the navigation |
// finishes. May change the params in some cases (i.e. if the navigation |
// opens a new browser window). Uses chrome::Navigate. |