Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: cc/trees/proxy.cc

Issue 270703004: Making BeginFrameArgs work with TRACE_EVENT system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using AsValue rather than StateAsValue. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/trees/proxy.h" 5 #include "cc/trees/proxy.h"
6 6
7 #include "base/message_loop/message_loop_proxy.h" 7 #include "base/message_loop/message_loop_proxy.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 9
10 namespace cc { 10 namespace cc {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 impl_task_runner_(impl_task_runner), 70 impl_task_runner_(impl_task_runner),
71 impl_thread_is_overridden_(false), 71 impl_thread_is_overridden_(false),
72 is_main_thread_blocked_(false) { 72 is_main_thread_blocked_(false) {
73 #endif 73 #endif
74 } 74 }
75 75
76 Proxy::~Proxy() { 76 Proxy::~Proxy() {
77 DCHECK(IsMainThread()); 77 DCHECK(IsMainThread());
78 } 78 }
79 79
80 scoped_ptr<base::Value> Proxy::SchedulerStateAsValueForTesting() { 80 scoped_ptr<base::Value> Proxy::SchedulerAsValueForTesting() {
81 return make_scoped_ptr(base::Value::CreateNullValue()); 81 return make_scoped_ptr(base::Value::CreateNullValue());
82 } 82 }
83 83
84 } // namespace cc 84 } // namespace cc
OLDNEW
« cc/debug/traced_value.h ('K') | « cc/trees/proxy.h ('k') | cc/trees/thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698