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

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

Issue 2699663003: Convert utility process extension ParseUpdate IPC to mojo (Closed)
Patch Set: Sync to ToT, see if git apply issue and try jobs are happy. Created 3 years, 10 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 5c939702c3324759f74d2d3aa2a16919edd526c8..e11a4a6b5b3effc358f7912897f25d2fd7006239 100644
--- a/chrome/utility/extensions/extensions_handler.cc
+++ b/chrome/utility/extensions/extensions_handler.cc
@@ -9,21 +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"
@@ -180,8 +174,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 +217,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