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

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

Issue 628443002: replace OVERRIDE and FINAL with override and final in cc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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
« no previous file with comments | « cc/debug/picture_record_benchmark.h ('k') | cc/debug/rasterize_and_record_benchmark_impl.h » ('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_RASTERIZE_AND_RECORD_BENCHMARK_H_ 5 #ifndef CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_H_
6 #define CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_H_ 6 #define CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_H_
7 7
8 #include <map> 8 #include <map>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 12 matching lines...) Expand all
23 class LayerTreeHost; 23 class LayerTreeHost;
24 class Layer; 24 class Layer;
25 class RasterizeAndRecordBenchmark : public MicroBenchmark { 25 class RasterizeAndRecordBenchmark : public MicroBenchmark {
26 public: 26 public:
27 explicit RasterizeAndRecordBenchmark( 27 explicit RasterizeAndRecordBenchmark(
28 scoped_ptr<base::Value> value, 28 scoped_ptr<base::Value> value,
29 const MicroBenchmark::DoneCallback& callback); 29 const MicroBenchmark::DoneCallback& callback);
30 virtual ~RasterizeAndRecordBenchmark(); 30 virtual ~RasterizeAndRecordBenchmark();
31 31
32 // Implements MicroBenchmark interface. 32 // Implements MicroBenchmark interface.
33 virtual void DidUpdateLayers(LayerTreeHost* host) OVERRIDE; 33 virtual void DidUpdateLayers(LayerTreeHost* host) override;
34 virtual void RunOnLayer(PictureLayer* layer) OVERRIDE; 34 virtual void RunOnLayer(PictureLayer* layer) override;
35 35
36 virtual scoped_ptr<MicroBenchmarkImpl> CreateBenchmarkImpl( 36 virtual scoped_ptr<MicroBenchmarkImpl> CreateBenchmarkImpl(
37 scoped_refptr<base::MessageLoopProxy> origin_loop) OVERRIDE; 37 scoped_refptr<base::MessageLoopProxy> origin_loop) override;
38 38
39 private: 39 private:
40 void Run(Layer* layer); 40 void Run(Layer* layer);
41 41
42 void RecordRasterResults(scoped_ptr<base::Value> results); 42 void RecordRasterResults(scoped_ptr<base::Value> results);
43 43
44 struct RecordResults { 44 struct RecordResults {
45 RecordResults(); 45 RecordResults();
46 ~RecordResults(); 46 ~RecordResults();
47 47
(...skipping 10 matching lines...) Expand all
58 bool main_thread_benchmark_done_; 58 bool main_thread_benchmark_done_;
59 59
60 LayerTreeHost* host_; 60 LayerTreeHost* host_;
61 61
62 base::WeakPtrFactory<RasterizeAndRecordBenchmark> weak_ptr_factory_; 62 base::WeakPtrFactory<RasterizeAndRecordBenchmark> weak_ptr_factory_;
63 }; 63 };
64 64
65 } // namespace cc 65 } // namespace cc
66 66
67 #endif // CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_H_ 67 #endif // CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_H_
OLDNEW
« no previous file with comments | « cc/debug/picture_record_benchmark.h ('k') | cc/debug/rasterize_and_record_benchmark_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698