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

Unified Diff: content/public/browser/resource_request_details.cc

Issue 411283002: Remove disable-embedded-shared-worker flag and shared worker process related codes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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
« no previous file with comments | « content/content_worker.gypi ('k') | content/public/browser/worker_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/resource_request_details.cc
diff --git a/content/public/browser/resource_request_details.cc b/content/public/browser/resource_request_details.cc
index a5b91b90d05d6c02a49ebc87f0b60b6d8ee41818..ad5f47e17341230d951ac8e6770db54556276548 100644
--- a/content/public/browser/resource_request_details.cc
+++ b/content/public/browser/resource_request_details.cc
@@ -4,7 +4,6 @@
#include "content/public/browser/resource_request_details.h"
-#include "content/browser/worker_host/worker_service_impl.h"
#include "content/public/browser/resource_request_info.h"
#include "net/http/http_response_headers.h"
#include "net/url_request/url_request.h"
@@ -29,19 +28,7 @@ ResourceRequestDetails::ResourceRequestDetails(const net::URLRequest* request,
http_response_code =
request->response_info().headers.get() ?
request->response_info().headers.get()->response_code() : -1;
-
- // If request is from the worker process on behalf of a renderer, use
- // the renderer process id, since it consumes the notification response
- // such as ssl state etc.
- // TODO(atwilson): need to notify all associated renderers in the case
- // of ssl state change (http://crbug.com/25357). For now, just notify
- // the first one (works for dedicated workers and shared workers with
- // a single process).
- int worker_render_frame_id;
- if (!WorkerServiceImpl::GetInstance()->GetRendererForWorker(
- info->GetChildID(), &origin_child_id, &worker_render_frame_id)) {
- origin_child_id = info->GetChildID();
- }
+ origin_child_id = info->GetChildID();
}
ResourceRequestDetails::~ResourceRequestDetails() {}
« no previous file with comments | « content/content_worker.gypi ('k') | content/public/browser/worker_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698