Commit 137c61be authored by Yuta Kitamura's avatar Yuta Kitamura Committed by Commit Bot

Allow base::Location in Blink.

We'd like to use base::Location and FROM_HERE in Blink instead of
blink::WebTraceLocation and BLINK_FROM_HERE.

Regarding a DEPS change in public/platform/scheduler, the only reference
of those names in public/ is in that directory, so I updated the DEPS
file there instead of the one in public/.

Bug: 794845
Change-Id: I4249abcb727186281229f41a0c81df649de8fbf7
Reviewed-on: https://chromium-review.googlesource.com/826924Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Reviewed-by: default avatarTaiju Tsuiki <tzik@chromium.org>
Reviewed-by: default avatarAlexander Timin <altimin@chromium.org>
Commit-Queue: Yuta Kitamura <yutak@chromium.org>
Cr-Commit-Position: refs/heads/master@{#524359}
parent 02895c1a
...@@ -2,6 +2,7 @@ include_rules = [ ...@@ -2,6 +2,7 @@ include_rules = [
"+base/callback.h", "+base/callback.h",
"+base/callback_forward.h", "+base/callback_forward.h",
"+base/debug", "+base/debug",
"+base/location.h",
"+base/macros.h", "+base/macros.h",
"+base/memory/weak_ptr.h", "+base/memory/weak_ptr.h",
"+base/gtest_prod_util.h", "+base/gtest_prod_util.h",
......
...@@ -31,6 +31,7 @@ _CONFIG = [ ...@@ -31,6 +31,7 @@ _CONFIG = [
# //base constructs that are allowed everywhere # //base constructs that are allowed everywhere
'base::AdoptRef', 'base::AdoptRef',
'base::Location',
'base::MakeRefCounted', 'base::MakeRefCounted',
'base::Optional', 'base::Optional',
'base::SingleThreadTaskRunner', 'base::SingleThreadTaskRunner',
......
include_rules = [ include_rules = [
"+base/bind.h", "+base/bind.h",
"+base/callback.h", "+base/callback.h",
"+base/location.h",
"+base/macros.h", "+base/macros.h",
"+base/memory/ptr_util.h", "+base/memory/ptr_util.h",
"+base/memory/ref_counted.h", "+base/memory/ref_counted.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