| Index: content/browser/service_worker/embedded_worker_instance.h
|
| diff --git a/content/browser/service_worker/embedded_worker_instance.h b/content/browser/service_worker/embedded_worker_instance.h
|
| index 3152613ed3880f16bb4257d6a749902629d2d872..2054db87776bbaca59c169e8873c47a3139d3a5d 100644
|
| --- a/content/browser/service_worker/embedded_worker_instance.h
|
| +++ b/content/browser/service_worker/embedded_worker_instance.h
|
| @@ -136,6 +136,7 @@ class CONTENT_EXPORT EmbeddedWorkerInstance {
|
| DCHECK_EQ(EmbeddedWorkerStatus::STARTING, status());
|
| return starting_phase_;
|
| }
|
| + int restart_count() const { return restart_count_; }
|
| int process_id() const;
|
| int thread_id() const { return thread_id_; }
|
| // This should be called only when the worker instance has a valid process,
|
| @@ -296,6 +297,7 @@ class CONTENT_EXPORT EmbeddedWorkerInstance {
|
|
|
| EmbeddedWorkerStatus status_;
|
| StartingPhase starting_phase_;
|
| + int restart_count_;
|
|
|
| // Current running information.
|
| std::unique_ptr<EmbeddedWorkerInstance::WorkerProcessHandle> process_handle_;
|
|
|