| Index: components/sessions/core/tab_restore_service_client.h
|
| diff --git a/components/sessions/core/tab_restore_service_client.h b/components/sessions/core/tab_restore_service_client.h
|
| index e529751bb714387b9aff2c8db9c48cd0eee1af66..ce60f99f45c331d29315b2a68d63bbf5e2ec38c6 100644
|
| --- a/components/sessions/core/tab_restore_service_client.h
|
| +++ b/components/sessions/core/tab_restore_service_client.h
|
| @@ -12,6 +12,7 @@
|
|
|
| namespace base {
|
| class CancelableTaskTracker;
|
| +class SequencedWorkerPool;
|
| }
|
|
|
| namespace sessions {
|
| @@ -35,6 +36,13 @@ class TabRestoreServiceClient {
|
| public:
|
| virtual ~TabRestoreServiceClient() {}
|
|
|
| + // Returns whether a given URL should be tracked for restoring.
|
| + virtual bool ShouldTrackURLForRestore(const GURL& url) = 0;
|
| +
|
| + // Get the sequenced worker pool for running tasks on the backend thread as
|
| + // long as the system is not shutting down.
|
| + virtual base::SequencedWorkerPool* GetBlockingPool() = 0;
|
| +
|
| // Returns the path of the directory to save state into.
|
| virtual base::FilePath GetPathToSaveTo() = 0;
|
|
|
|
|