Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2041)

Unified Diff: content/shell/shell_browser_main_parts.cc

Issue 10820007: Move all the layout tests that ran under browser_tests to run under content_browsertests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/shell/shell_browser_main_parts.cc
===================================================================
--- content/shell/shell_browser_main_parts.cc (revision 148205)
+++ content/shell/shell_browser_main_parts.cc (working copy)
@@ -65,7 +65,8 @@
}
void ShellBrowserMainParts::PreMainMessageLoopRun() {
- browser_context_.reset(new ShellBrowserContext);
+ browser_context_.reset(new ShellBrowserContext(false));
+ off_the_record_browser_context_.reset(new ShellBrowserContext(true));
Shell::PlatformInitialize();
net::NetModule::SetResourceProvider(Shell::PlatformResourceProvider);
@@ -107,6 +108,7 @@
if (devtools_delegate_)
devtools_delegate_->Stop();
browser_context_.reset();
+ off_the_record_browser_context_.reset();
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698