OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_PUBLIC_BROWSER_GPU_SERVICE_REGISTRY_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_GPU_INTERFACE_REGISTRY_H_ |
6 #define CONTENT_PUBLIC_BROWSER_GPU_SERVICE_REGISTRY_H_ | 6 #define CONTENT_PUBLIC_BROWSER_GPU_INTERFACE_REGISTRY_H_ |
7 | 7 |
8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
| 11 |
11 class ServiceRegistry; | 12 class ServiceRegistry; |
12 | 13 |
13 // Get ServiceRegistry registered via ContentGpuClient::RegisterMojoServices(). | 14 // Get ServiceRegistry registered via |
| 15 // ContentGpuClient::RegisterMojoInterfaces(). |
14 // This must be called on IO thread. | 16 // This must be called on IO thread. |
15 CONTENT_EXPORT ServiceRegistry* GetGpuServiceRegistry(); | 17 CONTENT_EXPORT ServiceRegistry* GetGpuServiceRegistry(); |
16 | 18 |
17 } // namespace content | 19 } // namespace content |
18 | 20 |
19 #endif // CONTENT_PUBLIC_BROWSER_GPU_SERVICE_REGISTRY_H_ | 21 #endif // CONTENT_PUBLIC_BROWSER_GPU_INTERFACE_REGISTRY_H_ |
OLD | NEW |