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

Unified Diff: content/shell/shell_browser_context.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_context.cc
===================================================================
--- content/shell/shell_browser_context.cc (revision 148205)
+++ content/shell/shell_browser_context.cc (working copy)
@@ -27,7 +27,8 @@
namespace content {
-ShellBrowserContext::ShellBrowserContext() {
+ShellBrowserContext::ShellBrowserContext(bool off_the_record)
+ : off_the_record_(off_the_record) {
InitWhileIOAllowed();
}
@@ -75,7 +76,7 @@
}
bool ShellBrowserContext::IsOffTheRecord() const {
- return CommandLine::ForCurrentProcess()->HasSwitch(switches::kOffTheRecord);
+ return off_the_record_;
}
DownloadManagerDelegate* ShellBrowserContext::GetDownloadManagerDelegate() {

Powered by Google App Engine
This is Rietveld 408576698