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

Side by Side Diff: gpu/command_buffer/service/gpu_tracer.h

Issue 629913002: Replacing the OVERRIDE with override and FINAL with final in gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Included autogen python file for OVERRIDE 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 // This file contains the GPUTrace class. 5 // This file contains the GPUTrace class.
6 #ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_TRACER_H_ 6 #ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_TRACER_H_
7 #define GPU_COMMAND_BUFFER_SERVICE_GPU_TRACER_H_ 7 #define GPU_COMMAND_BUFFER_SERVICE_GPU_TRACER_H_
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 protected: 110 protected:
111 virtual ~Outputter() {} 111 virtual ~Outputter() {}
112 friend class base::RefCounted<Outputter>; 112 friend class base::RefCounted<Outputter>;
113 }; 113 };
114 114
115 class TraceOutputter : public Outputter { 115 class TraceOutputter : public Outputter {
116 public: 116 public:
117 static scoped_refptr<TraceOutputter> Create(const std::string& name); 117 static scoped_refptr<TraceOutputter> Create(const std::string& name);
118 virtual void Trace(const std::string& name, 118 virtual void Trace(const std::string& name,
119 int64 start_time, 119 int64 start_time,
120 int64 end_time) OVERRIDE; 120 int64 end_time) override;
121 121
122 protected: 122 protected:
123 friend class base::RefCounted<Outputter>; 123 friend class base::RefCounted<Outputter>;
124 explicit TraceOutputter(const std::string& name); 124 explicit TraceOutputter(const std::string& name);
125 virtual ~TraceOutputter(); 125 virtual ~TraceOutputter();
126 126
127 base::Thread named_thread_; 127 base::Thread named_thread_;
128 uint64 local_trace_id_; 128 uint64 local_trace_id_;
129 129
130 DISALLOW_COPY_AND_ASSIGN(TraceOutputter); 130 DISALLOW_COPY_AND_ASSIGN(TraceOutputter);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 GLuint queries_[2]; 165 GLuint queries_[2];
166 166
167 DISALLOW_COPY_AND_ASSIGN(GPUTrace); 167 DISALLOW_COPY_AND_ASSIGN(GPUTrace);
168 }; 168 };
169 169
170 } // namespace gles2 170 } // namespace gles2
171 } // namespace gpu 171 } // namespace gpu
172 172
173 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_TRACER_H_ 173 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_TRACER_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gpu_state_tracer.cc ('k') | gpu/command_buffer/service/gpu_tracer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698