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

Side by Side Diff: cc/scheduler/begin_frame_source.h

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years 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
« no previous file with comments | « cc/resources/video_resource_updater_unittest.cc ('k') | cc/scheduler/begin_frame_source.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CC_SCHEDULER_BEGIN_FRAME_SOURCE_H_ 5 #ifndef CC_SCHEDULER_BEGIN_FRAME_SOURCE_H_
6 #define CC_SCHEDULER_BEGIN_FRAME_SOURCE_H_ 6 #define CC_SCHEDULER_BEGIN_FRAME_SOURCE_H_
7 7
8 #include <stddef.h>
9 #include <stdint.h>
10
8 #include <set> 11 #include <set>
9 #include <string> 12 #include <string>
10 13
11 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/macros.h"
12 #include "base/trace_event/trace_event.h" 16 #include "base/trace_event/trace_event.h"
13 #include "cc/output/begin_frame_args.h" 17 #include "cc/output/begin_frame_args.h"
14 #include "cc/scheduler/delay_based_time_source.h" 18 #include "cc/scheduler/delay_based_time_source.h"
15 19
16 #ifdef NDEBUG 20 #ifdef NDEBUG
17 #define DEBUG_FRAMES(...) 21 #define DEBUG_FRAMES(...)
18 #else 22 #else
19 #define DEBUG_FRAMES(name, arg1_name, arg1_val, arg2_name, arg2_val) \ 23 #define DEBUG_FRAMES(name, arg1_name, arg1_val, arg2_name, arg2_val) \
20 TRACE_EVENT2(TRACE_DISABLED_BY_DEFAULT("cc.debug.scheduler.frames"), name, \ 24 TRACE_EVENT2(TRACE_DISABLED_BY_DEFAULT("cc.debug.scheduler.frames"), name, \
21 arg1_name, arg1_val, arg2_name, arg2_val); 25 arg1_name, arg1_val, arg2_name, arg2_val);
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 BeginFrameSource* active_source_; 295 BeginFrameSource* active_source_;
292 std::set<BeginFrameSource*> source_list_; 296 std::set<BeginFrameSource*> source_list_;
293 297
294 private: 298 private:
295 DISALLOW_COPY_AND_ASSIGN(BeginFrameSourceMultiplexer); 299 DISALLOW_COPY_AND_ASSIGN(BeginFrameSourceMultiplexer);
296 }; 300 };
297 301
298 } // namespace cc 302 } // namespace cc
299 303
300 #endif // CC_SCHEDULER_BEGIN_FRAME_SOURCE_H_ 304 #endif // CC_SCHEDULER_BEGIN_FRAME_SOURCE_H_
OLDNEW
« no previous file with comments | « cc/resources/video_resource_updater_unittest.cc ('k') | cc/scheduler/begin_frame_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698