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

Unified Diff: trunk/src/content/browser/worker_host/worker_service_impl.h

Issue 15012025: Revert 199840 "Lower the priority of shared workers that aren't ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 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
Index: trunk/src/content/browser/worker_host/worker_service_impl.h
===================================================================
--- trunk/src/content/browser/worker_host/worker_service_impl.h (revision 199846)
+++ trunk/src/content/browser/worker_host/worker_service_impl.h (working copy)
@@ -11,7 +11,6 @@
#include "base/observer_list.h"
#include "base/threading/non_thread_safe.h"
#include "content/browser/worker_host/worker_process_host.h"
-#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/worker_service.h"
@@ -22,7 +21,6 @@
class ResourceContext;
class WorkerServiceObserver;
class WorkerStoragePartition;
-class WorkerPrioritySetter;
class CONTENT_EXPORT WorkerServiceImpl
: public NON_EXPORTED_BASE(WorkerService) {
@@ -74,8 +72,6 @@
WorkerProcessHost* process,
int worker_route_id);
- void NotifyWorkerProcessCreated();
-
// Used when we run each worker in a separate process.
static const int kMaxWorkersWhenSeparate;
static const int kMaxWorkersPerTabWhenSeparate;
@@ -126,8 +122,7 @@
const WorkerStoragePartition& worker_partition,
ResourceContext* resource_context);
- scoped_refptr<WorkerPrioritySetter> priority_setter_;
-
+ NotificationRegistrar registrar_;
int next_worker_route_id_;
WorkerProcessHost::Instances queued_workers_;

Powered by Google App Engine
This is Rietveld 408576698