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

Side by Side Diff: cc/debug/rendering_stats.h

Issue 1717283003: tracing: Make ConvertableToTraceFormat move-only scoped_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #ifndef CC_DEBUG_RENDERING_STATS_H_ 5 #ifndef CC_DEBUG_RENDERING_STATS_H_
6 #define CC_DEBUG_RENDERING_STATS_H_ 6 #define CC_DEBUG_RENDERING_STATS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 int64_t checkerboarded_no_recording_content_area; 51 int64_t checkerboarded_no_recording_content_area;
52 int64_t checkerboarded_needs_raster_content_area; 52 int64_t checkerboarded_needs_raster_content_area;
53 53
54 TimeDeltaList draw_duration; 54 TimeDeltaList draw_duration;
55 TimeDeltaList draw_duration_estimate; 55 TimeDeltaList draw_duration_estimate;
56 TimeDeltaList begin_main_frame_to_commit_duration; 56 TimeDeltaList begin_main_frame_to_commit_duration;
57 TimeDeltaList begin_main_frame_to_commit_duration_estimate; 57 TimeDeltaList begin_main_frame_to_commit_duration_estimate;
58 TimeDeltaList commit_to_activate_duration; 58 TimeDeltaList commit_to_activate_duration;
59 TimeDeltaList commit_to_activate_duration_estimate; 59 TimeDeltaList commit_to_activate_duration_estimate;
60 60
61 scoped_refptr<base::trace_event::ConvertableToTraceFormat> AsTraceableData() 61 scoped_ptr<base::trace_event::ConvertableToTraceFormat> AsTraceableData()
62 const; 62 const;
63 void Add(const RenderingStats& other); 63 void Add(const RenderingStats& other);
64 }; 64 };
65 65
66 } // namespace cc 66 } // namespace cc
67 67
68 #endif // CC_DEBUG_RENDERING_STATS_H_ 68 #endif // CC_DEBUG_RENDERING_STATS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698