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

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

Issue 8399007: Removing dedicated worker-related IPC codei (first round). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: CR feedback Created 9 years, 2 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: content/browser/worker_host/worker_process_host.h
diff --git a/content/browser/worker_host/worker_process_host.h b/content/browser/worker_host/worker_process_host.h
index 008a595a3473c9443d0377659ed0f1f54750dc44..c89839f37c67c971544beca06b5013c951c4a5d7 100644
--- a/content/browser/worker_host/worker_process_host.h
+++ b/content/browser/worker_host/worker_process_host.h
@@ -36,11 +36,9 @@ class WorkerProcessHost : public BrowserChildProcessHost {
class WorkerInstance {
public:
WorkerInstance(const GURL& url,
- bool shared,
const string16& name,
int worker_route_id,
int parent_process_id,
- int parent_appcache_host_id,
int64 main_resource_appcache_id,
const content::ResourceContext* resource_context);
// Used for pending instances. Rest of the parameters are ignored.
@@ -82,14 +80,12 @@ class WorkerProcessHost : public BrowserChildProcessHost {
};
// Accessors
- bool shared() const { return shared_; }
bool closed() const { return closed_; }
void set_closed(bool closed) { closed_ = closed; }
const GURL& url() const { return url_; }
const string16 name() const { return name_; }
int worker_route_id() const { return worker_route_id_; }
int parent_process_id() const { return parent_process_id_; }
- int parent_appcache_host_id() const { return parent_appcache_host_id_; }
int64 main_resource_appcache_id() const {
return main_resource_appcache_id_;
}
@@ -103,12 +99,10 @@ class WorkerProcessHost : public BrowserChildProcessHost {
private:
// Set of all filters (clients) associated with this worker.
GURL url_;
- bool shared_;
bool closed_;
string16 name_;
int worker_route_id_;
int parent_process_id_;
- int parent_appcache_host_id_;
int64 main_resource_appcache_id_;
FilterList filters_;
scoped_refptr<WorkerDocumentSet> worker_document_set_;
« no previous file with comments | « content/browser/debugger/worker_devtools_manager.cc ('k') | content/browser/worker_host/worker_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698