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

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

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
« no previous file with comments | « content/browser/worker_host/worker_service_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/worker_host/worker_service_observer.h
===================================================================
--- content/browser/worker_host/worker_service_observer.h (revision 115981)
+++ content/browser/worker_host/worker_service_observer.h (working copy)
@@ -1,27 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_WORKER_HOST_WORKER_SERVICE_OBSERVER_H_
-#define CONTENT_BROWSER_WORKER_HOST_WORKER_SERVICE_OBSERVER_H_
-#pragma once
-
-#include "content/browser/worker_host/worker_process_host.h"
-
-class WorkerServiceObserver {
- public:
- 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;
-
- protected:
- virtual ~WorkerServiceObserver() {}
-};
-
-#endif // CONTENT_BROWSER_WORKER_HOST_WORKER_SERVICE_OBSERVER_H_
« no previous file with comments | « content/browser/worker_host/worker_service_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698