| Index: chrome/utility/extensions/extensions_handler.h
|
| diff --git a/chrome/utility/extensions/extensions_handler.h b/chrome/utility/extensions/extensions_handler.h
|
| index 4098d77a708172a9d3f2c9f5b6b6d586b16dbd59..9b9efa13dfab64169cfc04f80e18925cbd507c42 100644
|
| --- a/chrome/utility/extensions/extensions_handler.h
|
| +++ b/chrome/utility/extensions/extensions_handler.h
|
| @@ -22,16 +22,27 @@
|
|
|
| class ChromeContentUtilityClient;
|
|
|
| +namespace service_manager {
|
| +class InterfaceRegistry;
|
| +}
|
| +
|
| namespace extensions {
|
|
|
| // Dispatches IPCs for Chrome extensions utility messages.
|
| class ExtensionsHandler : public UtilityMessageHandler {
|
| public:
|
| - explicit ExtensionsHandler(ChromeContentUtilityClient* utility_client);
|
| + ExtensionsHandler();
|
| ~ExtensionsHandler() override;
|
|
|
| static void PreSandboxStartup();
|
|
|
| + // TODO(noel): consider moving this API to the UtilityMessageHandler
|
| + // interface.
|
| + static void ExposeInterfacesToBrowser(
|
| + service_manager::InterfaceRegistry* registry,
|
| + ChromeContentUtilityClient* utility_client,
|
| + bool running_elevated);
|
| +
|
| // UtilityMessageHandler:
|
| bool OnMessageReceived(const IPC::Message& message) override;
|
|
|
| @@ -40,10 +51,6 @@ class ExtensionsHandler : public UtilityMessageHandler {
|
| void OnCheckMediaFile(int64_t milliseconds_of_decoding,
|
| const IPC::PlatformFileForTransit& media_file);
|
|
|
| - void OnParseMediaMetadata(const std::string& mime_type,
|
| - int64_t total_size,
|
| - bool get_attached_images);
|
| -
|
| #if defined(OS_WIN)
|
| void OnParseITunesPrefXml(const std::string& itunes_xml_data);
|
| #endif // defined(OS_WIN)
|
| @@ -66,9 +73,6 @@ class ExtensionsHandler : public UtilityMessageHandler {
|
|
|
| UtilityHandler utility_handler_;
|
|
|
| - // The client that owns this.
|
| - ChromeContentUtilityClient* const utility_client_;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(ExtensionsHandler);
|
| };
|
|
|
|
|