summaryrefslogtreecommitdiffstats
path: root/cc/scheduler/begin_frame_source.cc
diff options
context:
space:
mode:
authorssid <ssid@chromium.org>2015-02-09 09:55:20 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-09 17:55:59 +0000
commit911e40ef1f033735fdfe95a411926a1b998ddbfc (patch)
treeefb6ddfd813e4bc47a7927dcd14698af7377a795 /cc/scheduler/begin_frame_source.cc
parent33f729bc81c813e037144676b47794d9ebfca280 (diff)
downloadchromium_src-911e40ef1f033735fdfe95a411926a1b998ddbfc.zip
chromium_src-911e40ef1f033735fdfe95a411926a1b998ddbfc.tar.gz
chromium_src-911e40ef1f033735fdfe95a411926a1b998ddbfc.tar.bz2
mechanical rename of base::debug -> base::trace_event for /cc
This is the last stage of the trace_event directory restructuring. This is part of a set of 3 CLs which is moving tracing clients to use the new base::trace_debug namespace. See crrev.com/837303004 and the related bug for motivations. BUG=451032 TBR=nduca@chromium.org Review URL: https://codereview.chromium.org/879913002 Cr-Commit-Position: refs/heads/master@{#315335}
Diffstat (limited to 'cc/scheduler/begin_frame_source.cc')
-rw-r--r--cc/scheduler/begin_frame_source.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/cc/scheduler/begin_frame_source.cc b/cc/scheduler/begin_frame_source.cc
index 9b200e9..d9bba87 100644
--- a/cc/scheduler/begin_frame_source.cc
+++ b/cc/scheduler/begin_frame_source.cc
@@ -53,7 +53,7 @@ void BeginFrameObserverMixIn::OnBeginFrame(const BeginFrameArgs& args) {
}
void BeginFrameObserverMixIn::AsValueInto(
- base::debug::TracedValue* dict) const {
+ base::trace_event::TracedValue* dict) const {
dict->BeginDictionary("last_begin_frame_args_");
last_begin_frame_args_.AsValueInto(dict);
dict->EndDictionary();
@@ -117,7 +117,8 @@ void BeginFrameSourceMixIn::CallOnBeginFrame(const BeginFrameArgs& args) {
}
// Tracing support
-void BeginFrameSourceMixIn::AsValueInto(base::debug::TracedValue* dict) const {
+void BeginFrameSourceMixIn::AsValueInto(
+ base::trace_event::TracedValue* dict) const {
// As the observer might try to trace the source, prevent an infinte loop
// from occuring.
if (inside_as_value_into_) {
@@ -198,7 +199,7 @@ void BackToBackBeginFrameSource::DidFinishFrame(size_t remaining_frames) {
// Tracing support
void BackToBackBeginFrameSource::AsValueInto(
- base::debug::TracedValue* dict) const {
+ base::trace_event::TracedValue* dict) const {
dict->SetString("type", "BackToBackBeginFrameSource");
BeginFrameSourceMixIn::AsValueInto(dict);
dict->SetBoolean("send_begin_frame_posted_", send_begin_frame_posted_);
@@ -270,7 +271,7 @@ bool SyntheticBeginFrameSource::NeedsBeginFrames() const {
// Tracing support
void SyntheticBeginFrameSource::AsValueInto(
- base::debug::TracedValue* dict) const {
+ base::trace_event::TracedValue* dict) const {
dict->SetString("type", "SyntheticBeginFrameSource");
BeginFrameSourceMixIn::AsValueInto(dict);
@@ -439,7 +440,7 @@ void BeginFrameSourceMultiplexer::DidFinishFrame(size_t remaining_frames) {
// Tracing support
void BeginFrameSourceMultiplexer::AsValueInto(
- base::debug::TracedValue* dict) const {
+ base::trace_event::TracedValue* dict) const {
dict->SetString("type", "BeginFrameSourceMultiplexer");
dict->SetInteger("minimum_interval_us", minimum_interval_.InMicroseconds());