| OLD | NEW |
| 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 ASH_GPU_SUPPORT_STUB_H_ | 5 #ifndef ASH_COMMON_GPU_SUPPORT_STUB_H_ |
| 6 #define ASH_GPU_SUPPORT_STUB_H_ | 6 #define ASH_COMMON_GPU_SUPPORT_STUB_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/gpu_support.h" | 9 #include "ash/common/gpu_support.h" |
| 10 #include "base/compiler_specific.h" | |
| 11 #include "base/macros.h" | 10 #include "base/macros.h" |
| 12 | 11 |
| 13 namespace ash { | 12 namespace ash { |
| 14 | 13 |
| 15 // A GPUSupport object that does not depend on src/content. | 14 // A GPUSupport object that does not depend on src/content. |
| 16 class ASH_EXPORT GPUSupportStub : public GPUSupport { | 15 class ASH_EXPORT GPUSupportStub : public GPUSupport { |
| 17 public: | 16 public: |
| 18 GPUSupportStub(); | 17 GPUSupportStub(); |
| 19 ~GPUSupportStub() override; | 18 ~GPUSupportStub() override; |
| 20 | 19 |
| 21 private: | 20 private: |
| 22 // Overridden from GPUSupport: | 21 // Overridden from GPUSupport: |
| 23 bool IsPanelFittingDisabled() const override; | 22 bool IsPanelFittingDisabled() const override; |
| 24 void DisableGpuWatchdog() override; | 23 void DisableGpuWatchdog() override; |
| 25 void GetGpuProcessHandles( | 24 void GetGpuProcessHandles( |
| 26 const GetGpuProcessHandlesCallback& callback) const override; | 25 const GetGpuProcessHandlesCallback& callback) const override; |
| 27 | 26 |
| 28 DISALLOW_COPY_AND_ASSIGN(GPUSupportStub); | 27 DISALLOW_COPY_AND_ASSIGN(GPUSupportStub); |
| 29 }; | 28 }; |
| 30 | 29 |
| 31 } // namespace ash | 30 } // namespace ash |
| 32 | 31 |
| 33 #endif // ASH_GPU_SUPPORT_STUB_H_ | 32 #endif // ASH_COMMON_GPU_SUPPORT_STUB_H_ |
| OLD | NEW |