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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host.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_dispatcher_host.cc
===================================================================
--- content/browser/renderer_host/resource_dispatcher_host.cc (revision 115981)
+++ content/browser/renderer_host/resource_dispatcher_host.cc (working copy)
@@ -47,7 +47,7 @@
#include "content/browser/resource_context.h"
#include "content/browser/ssl/ssl_client_auth_handler.h"
#include "content/browser/ssl/ssl_manager.h"
-#include "content/browser/worker_host/worker_service.h"
+#include "content/browser/worker_host/worker_service_impl.h"
#include "content/common/resource_messages.h"
#include "content/common/view_messages.h"
#include "content/public/browser/browser_thread.h"
@@ -88,6 +88,7 @@
using content::GlobalRequestID;
using content::ResourceResponse;
using content::WebContents;
+using content::WorkerServiceImpl;
using webkit_blob::DeletableFileReference;
// ----------------------------------------------------------------------------
@@ -1909,7 +1910,7 @@
if (info->process_type() == content::PROCESS_TYPE_WORKER) {
// Need to display some related UI for this network request - pick an
// arbitrary parent to do so.
- if (!WorkerService::GetInstance()->GetRendererForWorker(
+ if (!WorkerServiceImpl::GetInstance()->GetRendererForWorker(
info->child_id(), render_process_host_id, render_view_host_id)) {
*render_process_host_id = -1;
*render_view_host_id = -1;
« no previous file with comments | « content/browser/debugger/worker_devtools_message_filter.cc ('k') | content/browser/renderer_host/resource_request_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698