| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_GPU_CONTENT_GPU_CLIENT_H_ | 5 #ifndef CONTENT_COMMON_GPU_CONTENT_GPU_CLIENT_H_ |
| 6 #define CONTENT_GPU_CONTENT_GPU_CLIENT_H_ | 6 #define CONTENT_COMMON_GPU_CONTENT_GPU_CLIENT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "content/common/content_client.h" | 9 #include "content/common/content_client.h" |
| 10 | 10 |
| 11 struct GPUInfo; | 11 struct GPUInfo; |
| 12 | 12 |
| 13 namespace content { | 13 namespace content { |
| 14 | 14 |
| 15 // Embedder API for participating in plugin logic. | 15 // Embedder API for participating in plugin logic. |
| 16 class ContentGpuClient { | 16 class ContentGpuClient { |
| 17 public: | 17 public: |
| 18 // Sets the data on the gpu to send along with crash reports. | 18 // Sets the data on the gpu to send along with crash reports. |
| 19 virtual void SetGpuInfo(const GPUInfo& gpu_info) {} | 19 virtual void SetGpuInfo(const GPUInfo& gpu_info) {} |
| 20 }; | 20 }; |
| 21 | 21 |
| 22 } // namespace content | 22 } // namespace content |
| 23 | 23 |
| 24 #endif // CONTENT_GPU_CONTENT_GPU_CLIENT_H_ | 24 #endif // CONTENT_COMMON_GPU_CONTENT_GPU_CLIENT_H_ |
| OLD | NEW |