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

Unified Diff: content/public/browser/worker_service_observer.h

Issue 9317026: Hide WorkerProcessHost from chrome. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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/public/browser/worker_service.h ('k') | content/shell/shell_content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « content/public/browser/worker_service.h ('k') | content/shell/shell_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698