Commit c4e3de1e authored by Yuta Kitamura's avatar Yuta Kitamura Committed by Commit Bot

Allow #include of base/single_thread_task_runner.h in Blink.

The use of base::SingleThreadTaskRunner is already allowed according
to audit-non-blink-usage.py, but #include of the header was not
allowed except in Source/platform/.

This patch allows the include in the other places of Source/.

base::SingleThreadTaskRunner will be used much more frequently in
Blink, after we finish the conversion of WebTaskRunner. This change
prepares for it.

Bug: 763980, 794845
Change-Id: Iab0ed63f23efdfcb05df0b219bbed98e53f36f9c
Reviewed-on: https://chromium-review.googlesource.com/888300Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532093}
parent c6330843
...@@ -8,6 +8,7 @@ include_rules = [ ...@@ -8,6 +8,7 @@ include_rules = [
"+base/macros.h", "+base/macros.h",
"+base/memory/ptr_util.h", "+base/memory/ptr_util.h",
"+base/memory/weak_ptr.h", "+base/memory/weak_ptr.h",
"+base/single_thread_task_runner.h",
"+base/time/time.h", "+base/time/time.h",
"+build", "+build",
"+services/service_manager/public/cpp/connector.h", "+services/service_manager/public/cpp/connector.h",
......
...@@ -21,7 +21,6 @@ include_rules = [ ...@@ -21,7 +21,6 @@ include_rules = [
"+base/numerics/safe_conversions.h", "+base/numerics/safe_conversions.h",
"+base/rand_util.h", "+base/rand_util.h",
"+base/run_loop.h", "+base/run_loop.h",
"+base/single_thread_task_runner.h",
"+base/strings/string_util.h", "+base/strings/string_util.h",
"+base/strings/stringprintf.h", "+base/strings/stringprintf.h",
"+base/synchronization/waitable_event.h", "+base/synchronization/waitable_event.h",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment