Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1203)

Unified Diff: chrome/utility/extensions/extensions_handler.cc

Issue 2699663003: Convert utility process extension ParseUpdate IPC to mojo (Closed)
Patch Set: Extensions review comments. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/utility/extensions/extensions_handler.h ('k') | extensions/browser/updater/extension_downloader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/extensions/extensions_handler.cc
diff --git a/chrome/utility/extensions/extensions_handler.cc b/chrome/utility/extensions/extensions_handler.cc
index b42c74ef339fa1ed4350b24900c7e14dae39f104..b1567175ccabb7f93adca7420624106924576ce7 100644
--- a/chrome/utility/extensions/extensions_handler.cc
+++ b/chrome/utility/extensions/extensions_handler.cc
@@ -9,22 +9,15 @@
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/path_service.h"
-#include "build/build_config.h"
-#include "chrome/common/chrome_utility_messages.h"
#include "chrome/common/extensions/chrome_extensions_client.h"
#include "chrome/common/extensions/chrome_utility_extensions_messages.h"
#include "chrome/common/extensions/media_parser.mojom.h"
#include "chrome/common/extensions/removable_storage_writer.mojom.h"
#include "chrome/common/media_galleries/metadata_types.h"
-#include "chrome/utility/chrome_content_utility_client.h"
#include "chrome/utility/image_writer/image_writer_handler.h"
#include "chrome/utility/media_galleries/ipc_data_source.h"
#include "chrome/utility/media_galleries/media_metadata_parser.h"
-#include "content/public/common/content_paths.h"
#include "content/public/utility/utility_thread.h"
-#include "extensions/common/extension.h"
-#include "extensions/common/extension_utility_messages.h"
-#include "extensions/utility/unpacker.h"
#include "media/base/media.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
#include "services/service_manager/public/cpp/interface_registry.h"
@@ -180,8 +173,7 @@ ExtensionsHandler::~ExtensionsHandler() = default;
// static
void ExtensionsHandler::PreSandboxStartup() {
- // Initialize media libraries for media file validation.
- media::InitializeMediaLibrary();
+ media::InitializeMediaLibrary(); // Used for media file validation.
}
// static
@@ -224,7 +216,7 @@ bool ExtensionsHandler::OnMessageReceived(const IPC::Message& message) {
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
- return handled || utility_handler_.OnMessageReceived(message);
+ return handled;
}
#if defined(OS_WIN)
« no previous file with comments | « chrome/utility/extensions/extensions_handler.h ('k') | extensions/browser/updater/extension_downloader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698