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

Unified Diff: extensions/browser/extension_host_queue.h

Issue 933423003: Make BackgroundContentsService start up BackgroundContents with a delay, as for ExtensionHosts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: edulcni# Created 5 years, 10 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 | « extensions/browser/extension_host_delegate.h ('k') | extensions/browser/serial_extension_host_queue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_host_queue.h
diff --git a/extensions/browser/extension_host_queue.h b/extensions/browser/extension_host_queue.h
index 4c9cb5bfa000432ea7adaee1e21402b2f9e33e5b..420800bf240783dbd6b734015e0ca4194411d6d3 100644
--- a/extensions/browser/extension_host_queue.h
+++ b/extensions/browser/extension_host_queue.h
@@ -7,7 +7,7 @@
namespace extensions {
-class ExtensionHost;
+class DeferredStartRenderHost;
// An interface for a queue of ExtensionHosts waiting for initialization.
// This is used to implement different throttling strategies.
@@ -16,11 +16,11 @@ class ExtensionHostQueue {
virtual ~ExtensionHostQueue() {}
// Adds a host to the queue for RenderView creation.
- virtual void Add(ExtensionHost* host) = 0;
+ virtual void Add(DeferredStartRenderHost* host) = 0;
// Removes a host from the queue (for example, it may be deleted before
// having a chance to start).
- virtual void Remove(ExtensionHost* host) = 0;
+ virtual void Remove(DeferredStartRenderHost* host) = 0;
};
} // namespace extensions
« no previous file with comments | « extensions/browser/extension_host_delegate.h ('k') | extensions/browser/serial_extension_host_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698