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

Unified Diff: content/browser/gpu/browser_gpu_channel_host_factory.h

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (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
Index: content/browser/gpu/browser_gpu_channel_host_factory.h
diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.h b/content/browser/gpu/browser_gpu_channel_host_factory.h
index c013558045735717541bcf8310130c24c7043920..4bc0b413153b8fd35230c09e390528a3045dc9fa 100644
--- a/content/browser/gpu/browser_gpu_channel_host_factory.h
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.h
@@ -24,12 +24,11 @@ class CONTENT_EXPORT BrowserGpuChannelHostFactory
static BrowserGpuChannelHostFactory* instance() { return instance_; }
// GpuChannelHostFactory implementation.
- virtual bool IsMainThread() override;
- virtual base::MessageLoop* GetMainLoop() override;
- virtual scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() override;
- virtual scoped_ptr<base::SharedMemory> AllocateSharedMemory(
- size_t size) override;
- virtual CreateCommandBufferResult CreateViewCommandBuffer(
+ bool IsMainThread() override;
+ base::MessageLoop* GetMainLoop() override;
+ scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() override;
+ scoped_ptr<base::SharedMemory> AllocateSharedMemory(size_t size) override;
+ CreateCommandBufferResult CreateViewCommandBuffer(
int32 surface_id,
const GPUCreateCommandBufferConfig& init_params,
int32 route_id) override;
@@ -58,7 +57,7 @@ class CONTENT_EXPORT BrowserGpuChannelHostFactory
class EstablishRequest;
BrowserGpuChannelHostFactory();
- virtual ~BrowserGpuChannelHostFactory();
+ ~BrowserGpuChannelHostFactory() override;
void GpuChannelEstablished();
void CreateViewCommandBufferOnIO(
« no previous file with comments | « content/browser/geolocation/wifi_data_provider_mac.cc ('k') | content/browser/gpu/browser_gpu_memory_buffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698