Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
Propagate off-the-recordness to URL request context.
Browse files Browse the repository at this point in the history
This is necessary because we use `persist:tor' since for hysterical
raisins there's only one normal `private' partition with in_memory_ =
true.  We use the virtual method IsOffTheRecord() to discriminate
instead.

Fixes #608.
Fixes brave/browser-laptop#14392.

Auditors: @darkdh
  • Loading branch information
riastradh-brave authored and darkdh committed Jun 27, 2018
1 parent 692e7c9 commit 258a930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/brightray/browser/browser_context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ net::URLRequestContextGetter* BrowserContext::CreateRequestContext(
this,
static_cast<NetLog*>(BrowserClient::Get()->GetNetLog()),
GetPath(),
in_memory_,
IsOffTheRecord(),
BrowserThread::GetTaskRunnerForThread(BrowserThread::IO),
protocol_handlers,
std::move(protocol_interceptors));
Expand Down

0 comments on commit 258a930

Please sign in to comment.