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

Unified Diff: content/common/gpu/client/gpu_channel_host.h

Issue 671663002: Standardize usage of virtual/override/final in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « content/common/gpu/client/gl_helper_scaling.cc ('k') | content/common/gpu/client/gpu_memory_buffer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/client/gpu_channel_host.h
diff --git a/content/common/gpu/client/gpu_channel_host.h b/content/common/gpu/client/gpu_channel_host.h
index d20d5222bfa52535ad051b5bd3848091bbdcbb0e..ad56d18d85a13aca16672a2eb0d79794a3808277 100644
--- a/content/common/gpu/client/gpu_channel_host.h
+++ b/content/common/gpu/client/gpu_channel_host.h
@@ -101,7 +101,7 @@ class GpuChannelHost : public IPC::Sender,
const gpu::GPUInfo& gpu_info() const { return gpu_info_; }
// IPC::Sender implementation:
- virtual bool Send(IPC::Message* msg) override;
+ bool Send(IPC::Message* msg) override;
// Create and connect to a command buffer in the GPU process.
CommandBufferProxyImpl* CreateViewCommandBuffer(
@@ -166,7 +166,7 @@ class GpuChannelHost : public IPC::Sender,
GpuChannelHost(GpuChannelHostFactory* factory,
const gpu::GPUInfo& gpu_info,
cc::GpuMemoryBufferManager* gpu_memory_buffer_manager);
- virtual ~GpuChannelHost();
+ ~GpuChannelHost() override;
void Connect(const IPC::ChannelHandle& channel_handle,
base::WaitableEvent* shutdown_event);
@@ -186,8 +186,8 @@ class GpuChannelHost : public IPC::Sender,
// IPC::MessageFilter implementation
// (called on the IO thread):
- virtual bool OnMessageReceived(const IPC::Message& msg) override;
- virtual void OnChannelError() override;
+ bool OnMessageReceived(const IPC::Message& msg) override;
+ void OnChannelError() override;
// The following methods can be called on any thread.
@@ -195,7 +195,7 @@ class GpuChannelHost : public IPC::Sender,
bool IsLost() const;
private:
- virtual ~MessageFilter();
+ ~MessageFilter() override;
// Threading notes: |listeners_| is only accessed on the IO thread. Every
// other field is protected by |lock_|.
« no previous file with comments | « content/common/gpu/client/gl_helper_scaling.cc ('k') | content/common/gpu/client/gpu_memory_buffer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698