| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UTILITY_CONTENT_UTILITY_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_UTILITY_CONTENT_UTILITY_CLIENT_H_ |
| 6 #define CONTENT_PUBLIC_UTILITY_CONTENT_UTILITY_CLIENT_H_ | 6 #define CONTENT_PUBLIC_UTILITY_CONTENT_UTILITY_CLIENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| 11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
| 12 #include "content/public/common/content_client.h" | 12 #include "content/public/common/content_client.h" |
| 13 #include "content/public/common/service_info.h" | 13 #include "content/public/common/service_info.h" |
| 14 | 14 |
| 15 class GURL; | |
| 16 | |
| 17 namespace service_manager { | 15 namespace service_manager { |
| 18 class InterfaceRegistry; | 16 class InterfaceRegistry; |
| 19 class Service; | 17 class Service; |
| 20 } | 18 } |
| 21 | 19 |
| 22 namespace content { | 20 namespace content { |
| 23 | 21 |
| 24 // Embedder API for participating in renderer logic. | 22 // Embedder API for participating in renderer logic. |
| 25 class CONTENT_EXPORT ContentUtilityClient { | 23 class CONTENT_EXPORT ContentUtilityClient { |
| 26 public: | 24 public: |
| (...skipping 11 matching lines...) Expand all Loading... |
| 38 // browser process via |registry|. | 36 // browser process via |registry|. |
| 39 virtual void ExposeInterfacesToBrowser( | 37 virtual void ExposeInterfacesToBrowser( |
| 40 service_manager::InterfaceRegistry* registry) {} | 38 service_manager::InterfaceRegistry* registry) {} |
| 41 | 39 |
| 42 virtual void RegisterServices(StaticServiceMap* services) {} | 40 virtual void RegisterServices(StaticServiceMap* services) {} |
| 43 }; | 41 }; |
| 44 | 42 |
| 45 } // namespace content | 43 } // namespace content |
| 46 | 44 |
| 47 #endif // CONTENT_PUBLIC_UTILITY_CONTENT_UTILITY_CLIENT_H_ | 45 #endif // CONTENT_PUBLIC_UTILITY_CONTENT_UTILITY_CLIENT_H_ |
| OLD | NEW |