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

Side by Side Diff: cc/debug/micro_benchmark_controller_impl.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/debug/micro_benchmark_controller.h ('k') | cc/debug/picture_debug_util.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_MICRO_BENCHMARK_CONTROLLER_IMPL_H_ 5 #ifndef CC_DEBUG_MICRO_BENCHMARK_CONTROLLER_IMPL_H_
6 #define CC_DEBUG_MICRO_BENCHMARK_CONTROLLER_IMPL_H_ 6 #define CC_DEBUG_MICRO_BENCHMARK_CONTROLLER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/macros.h"
12 #include "cc/debug/micro_benchmark_impl.h" 12 #include "cc/debug/micro_benchmark_impl.h"
13 13
14 namespace cc { 14 namespace cc {
15 15
16 class LayerTreeHostImpl; 16 class LayerTreeHostImpl;
17 class CC_EXPORT MicroBenchmarkControllerImpl { 17 class CC_EXPORT MicroBenchmarkControllerImpl {
18 public: 18 public:
19 explicit MicroBenchmarkControllerImpl(LayerTreeHostImpl* host); 19 explicit MicroBenchmarkControllerImpl(LayerTreeHostImpl* host);
20 ~MicroBenchmarkControllerImpl(); 20 ~MicroBenchmarkControllerImpl();
21 21
22 void DidCompleteCommit(); 22 void DidCompleteCommit();
23 23
24 void ScheduleRun(scoped_ptr<MicroBenchmarkImpl> benchmark); 24 void ScheduleRun(scoped_ptr<MicroBenchmarkImpl> benchmark);
25 25
26 private: 26 private:
27 void CleanUpFinishedBenchmarks(); 27 void CleanUpFinishedBenchmarks();
28 28
29 LayerTreeHostImpl* host_; 29 LayerTreeHostImpl* host_;
30 std::vector<scoped_ptr<MicroBenchmarkImpl>> benchmarks_; 30 std::vector<scoped_ptr<MicroBenchmarkImpl>> benchmarks_;
31 31
32 DISALLOW_COPY_AND_ASSIGN(MicroBenchmarkControllerImpl); 32 DISALLOW_COPY_AND_ASSIGN(MicroBenchmarkControllerImpl);
33 }; 33 };
34 34
35 } // namespace cc 35 } // namespace cc
36 36
37 #endif // CC_DEBUG_MICRO_BENCHMARK_CONTROLLER_IMPL_H_ 37 #endif // CC_DEBUG_MICRO_BENCHMARK_CONTROLLER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/debug/micro_benchmark_controller.h ('k') | cc/debug/picture_debug_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698