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

Side by Side Diff: gpu/command_buffer/service/gpu_service_test.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_SERVICE_TEST_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_SERVICE_TEST_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_GPU_SERVICE_TEST_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_GPU_SERVICE_TEST_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 #include "ui/gl/gl_mock.h" 12 #include "ui/gl/gl_mock.h"
13 13
14 namespace gfx { 14 namespace gfx {
15 class GLContextStubWithExtensions; 15 class GLContextStubWithExtensions;
16 } 16 }
17 17
18 namespace gpu { 18 namespace gpu {
19 namespace gles2 { 19 namespace gles2 {
20 20
21 // Base class for tests that need mock GL bindings. 21 // Base class for tests that need mock GL bindings.
22 class GpuServiceTest : public testing::Test { 22 class GpuServiceTest : public testing::Test {
23 public: 23 public:
24 GpuServiceTest(); 24 GpuServiceTest();
25 virtual ~GpuServiceTest(); 25 virtual ~GpuServiceTest();
26 26
27 protected: 27 protected:
28 void SetUpWithGLVersion(const char* gl_version, const char* gl_extensions); 28 void SetUpWithGLVersion(const char* gl_version, const char* gl_extensions);
29 virtual void SetUp() OVERRIDE; 29 virtual void SetUp() override;
30 virtual void TearDown() OVERRIDE; 30 virtual void TearDown() override;
31 31
32 scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; 32 scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_;
33 33
34 private: 34 private:
35 bool ran_setup_; 35 bool ran_setup_;
36 bool ran_teardown_; 36 bool ran_teardown_;
37 scoped_refptr<gfx::GLContextStubWithExtensions> context_; 37 scoped_refptr<gfx::GLContextStubWithExtensions> context_;
38 }; 38 };
39 39
40 } // namespace gles2 40 } // namespace gles2
41 } // namespace gpu 41 } // namespace gpu
42 42
43 #endif // GPU_COMMAND_BUFFER_SERVICE_MAILBOX_SYNCHRONIZER_H_ 43 #endif // GPU_COMMAND_BUFFER_SERVICE_MAILBOX_SYNCHRONIZER_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gpu_scheduler.h ('k') | gpu/command_buffer/service/gpu_state_tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698