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

Unified Diff: content/browser/worker_host/worker_message_filter.cc

Issue 6679024: Removing 'off the record' references from TabRendererGtk. Contributed by vipul.bhasin@gmail.com (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 9 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/browser/worker_host/worker_message_filter.cc
diff --git a/content/browser/worker_host/worker_message_filter.cc b/content/browser/worker_host/worker_message_filter.cc
index abfef0a430836ede010efc61864a52be22665efc..95c8c1f5575b4146037b7894b8c47b3efd6ddfd9 100644
--- a/content/browser/worker_host/worker_message_filter.cc
+++ b/content/browser/worker_host/worker_message_filter.cc
@@ -91,10 +91,10 @@ void WorkerMessageFilter::OnLookupSharedWorker(
bool* url_error) {
*route_id = next_routing_id_->Run();
- bool off_the_record = static_cast<ChromeURLRequestContext*>(
+ bool incognito = static_cast<ChromeURLRequestContext*>(
request_context_->GetURLRequestContext())->is_off_the_record();
WorkerService::GetInstance()->LookupSharedWorker(
- params, *route_id, this, off_the_record, exists, url_error);
+ params, *route_id, this, incognito, exists, url_error);
}
void WorkerMessageFilter::OnCancelCreateDedicatedWorker(int route_id) {

Powered by Google App Engine
This is Rietveld 408576698