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

Side by Side Diff: content/renderer/gpu/queue_message_swap_promise.cc

Issue 1178963003: Trace main thread commit in flow events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make OnCommit virtual and only LatencyInfoSwapPromise can call it to trace flow events. Created 5 years, 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/renderer/gpu/queue_message_swap_promise.h" 5 #include "content/renderer/gpu/queue_message_swap_promise.h"
6 6
7 #include "content/renderer/gpu/frame_swap_message_queue.h" 7 #include "content/renderer/gpu/frame_swap_message_queue.h"
8 #include "ipc/ipc_sync_message_filter.h" 8 #include "ipc/ipc_sync_message_filter.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 void QueueMessageSwapPromise::PromiseCompleted() { 67 void QueueMessageSwapPromise::PromiseCompleted() {
68 #if DCHECK_IS_ON() 68 #if DCHECK_IS_ON()
69 completed_ = true; 69 completed_ = true;
70 #endif 70 #endif
71 } 71 }
72 72
73 int64 QueueMessageSwapPromise::TraceId() const { 73 int64 QueueMessageSwapPromise::TraceId() const {
74 return 0; 74 return 0;
75 } 75 }
76 76
77 void QueueMessageSwapPromise::OnCommit() { return; };
78
77 } // namespace content 79 } // namespace content
OLDNEW
« cc/trees/layer_tree_host.h ('K') | « content/renderer/gpu/queue_message_swap_promise.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698