| Index: content/public/browser/worker_service_observer.h
|
| ===================================================================
|
| --- content/public/browser/worker_service_observer.h (revision 119868)
|
| +++ content/public/browser/worker_service_observer.h (working copy)
|
| @@ -6,23 +6,22 @@
|
| #define CONTENT_PUBLIC_BROWSER_WORKER_SERVICE_OBSERVER_H_
|
| #pragma once
|
|
|
| -#include "content/browser/worker_host/worker_process_host.h"
|
| +#include "base/process.h"
|
| +#include "base/string16.h"
|
|
|
| +class GURL;
|
| +
|
| namespace content {
|
|
|
| class WorkerServiceObserver {
|
| public:
|
| virtual ~WorkerServiceObserver() {}
|
|
|
| - virtual void WorkerCreated(
|
| - WorkerProcessHost* process,
|
| - const WorkerProcessHost::WorkerInstance& instance) = 0;
|
| - virtual void WorkerDestroyed(
|
| - WorkerProcessHost* process,
|
| - int worker_route_id) = 0;
|
| - virtual void WorkerContextStarted(
|
| - WorkerProcessHost* process,
|
| - int worker_route_id) = 0;
|
| + virtual void WorkerCreated(const GURL& url,
|
| + const string16& name,
|
| + int process_id,
|
| + int route_id) {}
|
| + virtual void WorkerDestroyed(int process_id, int route_id) {}
|
| };
|
|
|
| } // namespace content
|
|
|