| Index: chrome/browser/task_management/providers/web_contents/renderer_task.h
|
| diff --git a/chrome/browser/task_management/providers/web_contents/renderer_task.h b/chrome/browser/task_management/providers/web_contents/renderer_task.h
|
| index 0a9bdeb5a6d19206a52bcadfd6386022ad68999c..9d7dfb73a11691fe0b7546dd90185a0450554119 100644
|
| --- a/chrome/browser/task_management/providers/web_contents/renderer_task.h
|
| +++ b/chrome/browser/task_management/providers/web_contents/renderer_task.h
|
| @@ -54,7 +54,10 @@ class RendererTask : public Task,
|
| int64_t refresh_flags) override;
|
| Type GetType() const override;
|
| int GetChildProcessUniqueID() const override;
|
| + void GetTerminationStatus(base::TerminationStatus* out_status,
|
| + int* out_error_code) const override;
|
| base::string16 GetProfileName() const override;
|
| + int GetTabId() const override;
|
| int64_t GetV8MemoryAllocated() const override;
|
| int64_t GetV8MemoryUsed() const override;
|
| bool ReportsWebCacheStats() const override;
|
| @@ -67,6 +70,14 @@ class RendererTask : public Task,
|
| bool icon_url_changed,
|
| const gfx::Image& image) override;
|
|
|
| + void set_termination_status(base::TerminationStatus status) {
|
| + termination_status_ = status;
|
| + }
|
| +
|
| + void set_termination_error_code(int error_code) {
|
| + termination_error_code_ = error_code;
|
| + }
|
| +
|
| protected:
|
| // Returns the title of the given |web_contents|.
|
| static base::string16 GetTitleFromWebContents(
|
| @@ -114,6 +125,9 @@ class RendererTask : public Task,
|
| // host.
|
| const base::string16 profile_name_;
|
|
|
| + base::TerminationStatus termination_status_;
|
| + int termination_error_code_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(RendererTask);
|
| };
|
|
|
|
|