Chromium Code Reviews| Index: content/public/renderer/content_renderer_client.h |
| diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h |
| index f2a854f75735738adacdcd120b69eb2fdcf1291c..1a34fdd8412eca062d1211886dfb730e750e9fa8 100644 |
| --- a/content/public/renderer/content_renderer_client.h |
| +++ b/content/public/renderer/content_renderer_client.h |
| @@ -29,6 +29,7 @@ class SkBitmap; |
| namespace base { |
| class FilePath; |
| class SingleThreadTaskRunner; |
| +class TimeDelta; |
| } |
| namespace blink { |
| @@ -136,6 +137,20 @@ class CONTENT_EXPORT ContentRendererClient { |
| virtual bool ShouldSuppressErrorPage(RenderFrame* render_frame, |
| const GURL& url); |
| + // Provides TaskScheduler initialization arguments. |max_background_threads| |
| + // and |max_foregound_threads| are the maximum number of threads for the |
| + // background pool and foreground pool, repectively. |background_reclaim_time| |
|
robliao
2016/11/15 20:31:51
s/repectively/respectively/ and below.
fdoray
2016/11/16 16:40:52
Done.
|
| + // and |foreground_reclaim_time| are the amount of time to wait before |
| + // reclaiming an idle thread in the background pool and foreground pool, |
| + // repectively. |redirect_sequenced_worker_pool| indicates whether tasks |
|
gab
2016/11/15 20:25:05
respectively
fdoray
2016/11/16 16:40:52
Done.
|
| + // posted to a SequencedWorkerPool should be redirected to TaskScheduler. |
| + virtual void GetTaskSchedulerInitializationArguments( |
| + int* max_background_threads, |
| + base::TimeDelta* background_reclaim_time, |
| + int* max_foreground_threads, |
| + base::TimeDelta* foreground_reclaim_time, |
| + bool* redirect_sequenced_worker_pool); |
| + |
| // Returns the information to display when a navigation error occurs. |
| // If |error_html| is not null then it may be set to a HTML page containing |
| // the details of the error and maybe links to more info. |