Chromium Code Reviews| Index: base/task_scheduler/post_task.h |
| diff --git a/base/task_scheduler/post_task.h b/base/task_scheduler/post_task.h |
| index 70aebd51c402ac15ee132d75fc8d886d2dfe1f49..59bf8f5aaea4822e9fa106f259f88c9811e6ce9f 100644 |
| --- a/base/task_scheduler/post_task.h |
| +++ b/base/task_scheduler/post_task.h |
| @@ -7,8 +7,12 @@ |
| #include "base/base_export.h" |
| #include "base/callback_forward.h" |
| -#include "base/location.h" |
| #include "base/memory/ref_counted.h" |
| + |
| +// To avoid redundant includes: users may omit including the following headers |
|
robliao
2016/11/02 17:06:25
https://google.github.io/styleguide/cppguide.html#
gab
2016/11/02 18:18:33
Done.
|
| +// if they are using their provided data types solely in direct interactions |
| +// with the post_task.h API. |
| +#include "base/location.h" |
| #include "base/sequenced_task_runner.h" |
| #include "base/single_thread_task_runner.h" |
| #include "base/task_runner.h" |