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

Side by Side Diff: gpu/command_buffer/service/async_pixel_transfer_manager_stub.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 unified diff | Download patch
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 #include "gpu/command_buffer/service/async_pixel_transfer_manager_stub.h" 5 #include "gpu/command_buffer/service/async_pixel_transfer_manager_stub.h"
6 6
7 #include "gpu/command_buffer/service/async_pixel_transfer_delegate.h" 7 #include "gpu/command_buffer/service/async_pixel_transfer_delegate.h"
8 8
9 namespace gpu { 9 namespace gpu {
10 10
11 class AsyncPixelTransferDelegateStub : public AsyncPixelTransferDelegate { 11 class AsyncPixelTransferDelegateStub : public AsyncPixelTransferDelegate {
12 public: 12 public:
13 AsyncPixelTransferDelegateStub(); 13 AsyncPixelTransferDelegateStub();
14 virtual ~AsyncPixelTransferDelegateStub(); 14 virtual ~AsyncPixelTransferDelegateStub();
15 15
16 // Implement AsyncPixelTransferDelegate: 16 // Implement AsyncPixelTransferDelegate:
17 virtual void AsyncTexImage2D( 17 virtual void AsyncTexImage2D(
18 const AsyncTexImage2DParams& tex_params, 18 const AsyncTexImage2DParams& tex_params,
19 const AsyncMemoryParams& mem_params, 19 const AsyncMemoryParams& mem_params,
20 const base::Closure& bind_callback) OVERRIDE; 20 const base::Closure& bind_callback) override;
21 virtual void AsyncTexSubImage2D( 21 virtual void AsyncTexSubImage2D(
22 const AsyncTexSubImage2DParams& tex_params, 22 const AsyncTexSubImage2DParams& tex_params,
23 const AsyncMemoryParams& mem_params) OVERRIDE; 23 const AsyncMemoryParams& mem_params) override;
24 virtual bool TransferIsInProgress() OVERRIDE; 24 virtual bool TransferIsInProgress() override;
25 virtual void WaitForTransferCompletion() OVERRIDE; 25 virtual void WaitForTransferCompletion() override;
26 26
27 private: 27 private:
28 DISALLOW_COPY_AND_ASSIGN(AsyncPixelTransferDelegateStub); 28 DISALLOW_COPY_AND_ASSIGN(AsyncPixelTransferDelegateStub);
29 }; 29 };
30 30
31 AsyncPixelTransferDelegateStub::AsyncPixelTransferDelegateStub() {} 31 AsyncPixelTransferDelegateStub::AsyncPixelTransferDelegateStub() {}
32 32
33 AsyncPixelTransferDelegateStub::~AsyncPixelTransferDelegateStub() {} 33 AsyncPixelTransferDelegateStub::~AsyncPixelTransferDelegateStub() {}
34 34
35 void AsyncPixelTransferDelegateStub::AsyncTexImage2D( 35 void AsyncPixelTransferDelegateStub::AsyncTexImage2D(
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 } 82 }
83 83
84 AsyncPixelTransferDelegate* 84 AsyncPixelTransferDelegate*
85 AsyncPixelTransferManagerStub::CreatePixelTransferDelegateImpl( 85 AsyncPixelTransferManagerStub::CreatePixelTransferDelegateImpl(
86 gles2::TextureRef* ref, 86 gles2::TextureRef* ref,
87 const AsyncTexImage2DParams& define_params) { 87 const AsyncTexImage2DParams& define_params) {
88 return new AsyncPixelTransferDelegateStub(); 88 return new AsyncPixelTransferDelegateStub();
89 } 89 }
90 90
91 } // namespace gpu 91 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698