Index: extensions/browser/serial_extension_host_queue.h |
diff --git a/extensions/browser/serial_extension_host_queue.h b/extensions/browser/serial_extension_host_queue.h |
index 794ff6061f50f0b215e0e68b0905e9e9df235ca8..29cf88cde2f78308a0dd54d7e1e5395bdb3d9d61 100644 |
--- a/extensions/browser/serial_extension_host_queue.h |
+++ b/extensions/browser/serial_extension_host_queue.h |
@@ -13,11 +13,11 @@ |
namespace extensions { |
-class ExtensionHost; |
+class DelayedStartRenderHost; |
-// An ExtensionHostQueue which initializes ExtensionHosts in the order they're |
-// Add()ed, with simple rate limiting logic that re-posts each task to the UI |
-// thread, to avoid clogging it for a long period of time. |
+// An ExtensionHostQueue which initializes DelayedStartRenderHosts in the order |
+// they're Add()ed, with simple rate limiting logic that re-posts each task to |
+// the UI thread, to avoid clogging it for a long period of time. |
class SerialExtensionHostQueue : public ExtensionHostQueue { |
public: |
SerialExtensionHostQueue(); |
@@ -25,21 +25,22 @@ class SerialExtensionHostQueue : public ExtensionHostQueue { |
private: |
// ExtensionHostQueue: |
- void Add(ExtensionHost* host) override; |
- void Remove(ExtensionHost* host) override; |
+ void Add(DelayedStartRenderHost* host) override; |
+ void Remove(DelayedStartRenderHost* host) override; |
- // Queues up a delayed task to process the next ExtensionHost in the queue. |
+ // Queues up a delayed task to process the next DelayedStartRenderHost in |
+ // the queue. |
void PostTask(); |
// Creates the RenderView for the next host in the queue. |
void ProcessOneHost(); |
// True if this queue is currently in the process of starting an |
- // ExtensionHost. |
+ // DelayedStartRenderHost. |
bool pending_create_; |
- // The list of ExtensionHosts waiting to be started. |
- std::list<ExtensionHost*> queue_; |
+ // The list of DelayedStartRenderHosts waiting to be started. |
+ std::list<DelayedStartRenderHost*> queue_; |
base::WeakPtrFactory<SerialExtensionHostQueue> ptr_factory_; |