| 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 24f91791840f9c7f2b5dd4ba6d319b1fee6e00c7..6d6e1cadf6be9c9b79dae59410e519085f4f4eac 100644
|
| --- a/chrome/test/in_process_browser_test.cc
|
| +++ b/chrome/test/in_process_browser_test.cc
|
| @@ -279,6 +279,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);
|
|
|