Chromium Code Reviews| Index: chrome/browser/worker_host/worker_process_host.h |
| diff --git a/chrome/browser/worker_host/worker_process_host.h b/chrome/browser/worker_host/worker_process_host.h |
| index ad4150b22a24e7086d725740ca5b5e61a3da4145..dad567564d63f0ab450cac792839c5771eaefb22 100644 |
| --- a/chrome/browser/worker_host/worker_process_host.h |
| +++ b/chrome/browser/worker_host/worker_process_host.h |
| @@ -21,6 +21,7 @@ class WorkerProcessHost : public ChildProcessHost { |
| public: |
| WorkerInstance(const GURL& url, |
| bool is_shared, |
| + bool is_off_the_record, |
| const string16& name, |
| int renderer_id, |
| int render_view_route_id, |
| @@ -41,7 +42,8 @@ class WorkerProcessHost : public ChildProcessHost { |
| // Checks if this WorkerInstance matches the passed url/name params |
| // (per the comparison algorithm in the WebWorkers spec). This API only |
| // applies to shared workers. |
| - bool Matches(const GURL& url, const string16& name) const; |
| + bool Matches( |
| + const GURL& url, const string16& name, bool off_the_record) const; |
| // Adds a document to a shared worker's document set. |
| void AddToDocumentSet(IPC::Message::Sender* parent, |
| @@ -70,6 +72,7 @@ class WorkerProcessHost : public ChildProcessHost { |
| // Accessors |
| bool is_shared() const { return shared_; } |
| + bool is_off_the_record() const { return off_the_record_; } |
|
jam
2009/11/25 23:30:46
nit: I should have mentioned this last time, but s
|
| bool is_closed() const { return closed_; } |
| void set_closed(bool closed) { closed_ = closed; } |
| const GURL& url() const { return url_; } |
| @@ -86,6 +89,7 @@ class WorkerProcessHost : public ChildProcessHost { |
| typedef std::list<SenderInfo> SenderList; |
| GURL url_; |
| bool shared_; |
| + bool off_the_record_; |
| bool closed_; |
| string16 name_; |
| int renderer_id_; |