| Index: content/public/utility/content_utility_client.h
|
| diff --git a/content/public/utility/content_utility_client.h b/content/public/utility/content_utility_client.h
|
| index 8a333e7ed7dbdfdf468d1a1c87367db2a0830bd7..b326eae140cfd24c9ac70c321a9bcf98c3aa3f79 100644
|
| --- a/content/public/utility/content_utility_client.h
|
| +++ b/content/public/utility/content_utility_client.h
|
| @@ -5,8 +5,18 @@
|
| #ifndef CONTENT_PUBLIC_UTILITY_CONTENT_UTILITY_CLIENT_H_
|
| #define CONTENT_PUBLIC_UTILITY_CONTENT_UTILITY_CLIENT_H_
|
|
|
| +#include <map>
|
| +
|
| +#include "base/callback_forward.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "content/public/common/content_client.h"
|
|
|
| +class GURL;
|
| +
|
| +namespace mojo {
|
| +class ApplicationDelegate;
|
| +}
|
| +
|
| namespace content {
|
|
|
| class ServiceRegistry;
|
| @@ -14,6 +24,9 @@ class ServiceRegistry;
|
| // Embedder API for participating in renderer logic.
|
| class CONTENT_EXPORT ContentUtilityClient {
|
| public:
|
| + using StaticMojoApplicationMap =
|
| + std::map<GURL, base::Callback<scoped_ptr<mojo::ApplicationDelegate>()>>;
|
| +
|
| virtual ~ContentUtilityClient() {}
|
|
|
| // Notifies us that the UtilityThread has been created.
|
| @@ -24,6 +37,9 @@ class CONTENT_EXPORT ContentUtilityClient {
|
|
|
| // Registers Mojo services.
|
| virtual void RegisterMojoServices(ServiceRegistry* registry) {}
|
| +
|
| + // Registers Mojo applications.
|
| + virtual void RegisterMojoApplications(StaticMojoApplicationMap* apps) {}
|
| };
|
|
|
| } // namespace content
|
|
|