| Index: chrome/test/in_process_browser_test.cc
|
| diff --git a/chrome/test/in_process_browser_test.cc b/chrome/test/in_process_browser_test.cc
|
| index 5815fad3c828583510f437b25e3ea8086f1b9f93..ff428c988c6a7fbae64d000131457f61efb71237 100644
|
| --- a/chrome/test/in_process_browser_test.cc
|
| +++ b/chrome/test/in_process_browser_test.cc
|
| @@ -274,6 +274,14 @@ Browser* InProcessBrowserTest::CreateBrowser(Profile* profile) {
|
| return browser;
|
| }
|
|
|
| +Browser* InProcessBrowserTest::CreateIncognitoBrowser() {
|
| + // Create a new browser with using the incognito profile.
|
| + Browser* incognito =
|
| + Browser::Create(browser()->profile()->GetOffTheRecordProfile());
|
| + InitializeBrowser(incognito);
|
| + return incognito;
|
| +}
|
| +
|
| Browser* InProcessBrowserTest::CreateBrowserForPopup(Profile* profile) {
|
| Browser* browser = Browser::CreateForType(Browser::TYPE_POPUP, profile);
|
| InitializeBrowser(browser);
|
|
|