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

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

Issue 178473016: Add WorkerDocumentSet::ContainsExternalRenderer(int worker_process_id) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « no previous file | content/browser/worker_host/worker_document_set.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | content/browser/worker_host/worker_document_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698