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

Side by Side Diff: cc/debug/traced_picture.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/rasterize_and_record_benchmark_impl.cc ('k') | cc/debug/unittest_only_benchmark.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_TRACED_PICTURE_H_ 5 #ifndef CC_DEBUG_TRACED_PICTURE_H_
6 #define CC_DEBUG_TRACED_PICTURE_H_ 6 #define CC_DEBUG_TRACED_PICTURE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "cc/resources/picture.h" 12 #include "cc/resources/picture.h"
13 13
14 namespace cc { 14 namespace cc {
15 15
16 class TracedPicture : public base::debug::ConvertableToTraceFormat { 16 class TracedPicture : public base::debug::ConvertableToTraceFormat {
17 public: 17 public:
18 explicit TracedPicture(scoped_refptr<const Picture>); 18 explicit TracedPicture(scoped_refptr<const Picture>);
19 19
20 static scoped_refptr<base::debug::ConvertableToTraceFormat> 20 static scoped_refptr<base::debug::ConvertableToTraceFormat>
21 AsTraceablePicture(const Picture* picture); 21 AsTraceablePicture(const Picture* picture);
22 22
23 static scoped_refptr<base::debug::ConvertableToTraceFormat> 23 static scoped_refptr<base::debug::ConvertableToTraceFormat>
24 AsTraceablePictureAlias(const Picture* original); 24 AsTraceablePictureAlias(const Picture* original);
25 25
26 virtual void AppendAsTraceFormat(std::string* out) const OVERRIDE; 26 virtual void AppendAsTraceFormat(std::string* out) const override;
27 27
28 private: 28 private:
29 virtual ~TracedPicture(); 29 virtual ~TracedPicture();
30 30
31 void AppendPicture(std::string* out) const; 31 void AppendPicture(std::string* out) const;
32 void AppendPictureAlias(std::string* out) const; 32 void AppendPictureAlias(std::string* out) const;
33 33
34 scoped_refptr<const Picture> picture_; 34 scoped_refptr<const Picture> picture_;
35 bool is_alias_; 35 bool is_alias_;
36 36
37 DISALLOW_COPY_AND_ASSIGN(TracedPicture); 37 DISALLOW_COPY_AND_ASSIGN(TracedPicture);
38 }; 38 };
39 39
40 } // namespace cc 40 } // namespace cc
41 41
42 #endif // CC_DEBUG_TRACED_PICTURE_H_ 42 #endif // CC_DEBUG_TRACED_PICTURE_H_
OLDNEW
« no previous file with comments | « cc/debug/rasterize_and_record_benchmark_impl.cc ('k') | cc/debug/unittest_only_benchmark.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698