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

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

Issue 9052007: Create an API around WorkerService that chrome consumes. Rename the existing WorkerService to Wor... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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/renderer_host/resource_request_details.cc
===================================================================
--- content/browser/renderer_host/resource_request_details.cc (revision 115981)
+++ content/browser/renderer_host/resource_request_details.cc (working copy)
@@ -6,8 +6,10 @@
#include "content/browser/renderer_host/resource_dispatcher_host.h"
#include "content/browser/renderer_host/resource_dispatcher_host_request_info.h"
-#include "content/browser/worker_host/worker_service.h"
+#include "content/browser/worker_host/worker_service_impl.h"
+using content::WorkerServiceImpl;
+
ResourceRequestDetails::ResourceRequestDetails(const net::URLRequest* request,
int cert_id)
: url_(request->url()),
@@ -32,7 +34,7 @@
// the first one (works for dedicated workers and shared workers with
// a single process).
int temp;
- if (!WorkerService::GetInstance()->GetRendererForWorker(
+ if (!WorkerServiceImpl::GetInstance()->GetRendererForWorker(
info->child_id(), &origin_child_id_, &temp)) {
origin_child_id_ = info->child_id();
}
« no previous file with comments | « content/browser/renderer_host/resource_dispatcher_host.cc ('k') | content/browser/worker_host/worker_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698