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

Unified Diff: gpu/command_buffer/service/query_manager.cc

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 side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/query_manager.cc
diff --git a/gpu/command_buffer/service/query_manager.cc b/gpu/command_buffer/service/query_manager.cc
index 1d36c899871109a0b9038dd20169f2c57d2a9cac..fdc7d0a68b2a29aa067dca036db6a380b3f44885 100644
--- a/gpu/command_buffer/service/query_manager.cc
+++ b/gpu/command_buffer/service/query_manager.cc
@@ -34,7 +34,7 @@ class AsyncPixelTransferCompletionObserverImpl
cancelled_ = true;
}
- virtual void DidComplete(const AsyncMemoryParams& mem_params) OVERRIDE {
+ virtual void DidComplete(const AsyncMemoryParams& mem_params) override {
base::AutoLock locked(lock_);
if (!cancelled_) {
DCHECK(mem_params.buffer().get());
@@ -62,10 +62,10 @@ class AsyncPixelTransfersCompletedQuery
AsyncPixelTransfersCompletedQuery(
QueryManager* manager, GLenum target, int32 shm_id, uint32 shm_offset);
- virtual bool Begin() OVERRIDE;
- virtual bool End(base::subtle::Atomic32 submit_count) OVERRIDE;
- virtual bool Process() OVERRIDE;
- virtual void Destroy(bool have_context) OVERRIDE;
+ virtual bool Begin() override;
+ virtual bool End(base::subtle::Atomic32 submit_count) override;
+ virtual bool Process() override;
+ virtual void Destroy(bool have_context) override;
protected:
virtual ~AsyncPixelTransfersCompletedQuery();
@@ -139,10 +139,10 @@ class AllSamplesPassedQuery : public QueryManager::Query {
AllSamplesPassedQuery(
QueryManager* manager, GLenum target, int32 shm_id, uint32 shm_offset,
GLuint service_id);
- virtual bool Begin() OVERRIDE;
- virtual bool End(base::subtle::Atomic32 submit_count) OVERRIDE;
- virtual bool Process() OVERRIDE;
- virtual void Destroy(bool have_context) OVERRIDE;
+ virtual bool Begin() override;
+ virtual bool End(base::subtle::Atomic32 submit_count) override;
+ virtual bool Process() override;
+ virtual void Destroy(bool have_context) override;
protected:
virtual ~AllSamplesPassedQuery();
@@ -198,10 +198,10 @@ class CommandsIssuedQuery : public QueryManager::Query {
CommandsIssuedQuery(
QueryManager* manager, GLenum target, int32 shm_id, uint32 shm_offset);
- virtual bool Begin() OVERRIDE;
- virtual bool End(base::subtle::Atomic32 submit_count) OVERRIDE;
- virtual bool Process() OVERRIDE;
- virtual void Destroy(bool have_context) OVERRIDE;
+ virtual bool Begin() override;
+ virtual bool End(base::subtle::Atomic32 submit_count) override;
+ virtual bool Process() override;
+ virtual void Destroy(bool have_context) override;
protected:
virtual ~CommandsIssuedQuery();
@@ -245,10 +245,10 @@ class CommandLatencyQuery : public QueryManager::Query {
CommandLatencyQuery(
QueryManager* manager, GLenum target, int32 shm_id, uint32 shm_offset);
- virtual bool Begin() OVERRIDE;
- virtual bool End(base::subtle::Atomic32 submit_count) OVERRIDE;
- virtual bool Process() OVERRIDE;
- virtual void Destroy(bool have_context) OVERRIDE;
+ virtual bool Begin() override;
+ virtual bool End(base::subtle::Atomic32 submit_count) override;
+ virtual bool Process() override;
+ virtual void Destroy(bool have_context) override;
protected:
virtual ~CommandLatencyQuery();
@@ -291,10 +291,10 @@ class AsyncReadPixelsCompletedQuery
AsyncReadPixelsCompletedQuery(
QueryManager* manager, GLenum target, int32 shm_id, uint32 shm_offset);
- virtual bool Begin() OVERRIDE;
- virtual bool End(base::subtle::Atomic32 submit_count) OVERRIDE;
- virtual bool Process() OVERRIDE;
- virtual void Destroy(bool have_context) OVERRIDE;
+ virtual bool Begin() override;
+ virtual bool End(base::subtle::Atomic32 submit_count) override;
+ virtual bool Process() override;
+ virtual void Destroy(bool have_context) override;
protected:
void Complete();
@@ -351,10 +351,10 @@ class GetErrorQuery : public QueryManager::Query {
GetErrorQuery(
QueryManager* manager, GLenum target, int32 shm_id, uint32 shm_offset);
- virtual bool Begin() OVERRIDE;
- virtual bool End(base::subtle::Atomic32 submit_count) OVERRIDE;
- virtual bool Process() OVERRIDE;
- virtual void Destroy(bool have_context) OVERRIDE;
+ virtual bool Begin() override;
+ virtual bool End(base::subtle::Atomic32 submit_count) override;
+ virtual bool Process() override;
+ virtual void Destroy(bool have_context) override;
protected:
virtual ~GetErrorQuery();
@@ -398,10 +398,10 @@ class CommandsCompletedQuery : public QueryManager::Query {
uint32 shm_offset);
// Overridden from QueryManager::Query:
- virtual bool Begin() OVERRIDE;
- virtual bool End(base::subtle::Atomic32 submit_count) OVERRIDE;
- virtual bool Process() OVERRIDE;
- virtual void Destroy(bool have_context) OVERRIDE;
+ virtual bool Begin() override;
+ virtual bool End(base::subtle::Atomic32 submit_count) override;
+ virtual bool Process() override;
+ virtual void Destroy(bool have_context) override;
protected:
virtual ~CommandsCompletedQuery();
« no previous file with comments | « gpu/command_buffer/service/program_cache_unittest.cc ('k') | gpu/command_buffer/service/query_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698