Index: content/browser/worker_host/worker_document_set.h |
diff --git a/content/browser/worker_host/worker_document_set.h b/content/browser/worker_host/worker_document_set.h |
index e8d0e667b16c9c8cfa7b68be9bb769710c9de421..e497aa80e5376878d30b2181a4d5b993bdb002d8 100644 |
--- a/content/browser/worker_host/worker_document_set.h |
+++ b/content/browser/worker_host/worker_document_set.h |
@@ -64,6 +64,10 @@ class WorkerDocumentSet : public base::RefCounted<WorkerDocumentSet> { |
bool Contains(BrowserMessageFilter* parent, |
unsigned long long document_id) const; |
+ // Checks to see if the document set contains any documents which is |
+ // associated with other renderer process than worker_process_id. |
+ bool ContainsExternalRenderer(int worker_process_id) const; |
+ |
// Removes a specific document from a worker's document set when that document |
// is detached. |
void Remove(BrowserMessageFilter* parent, unsigned long long document_id); |