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

Unified Diff: extensions/utility/utility_handler.h

Issue 2697463002: Convert utility process extension Unpacker IPC to mojo (Closed)
Patch Set: Sync to ToT. 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
Index: extensions/utility/utility_handler.h
diff --git a/extensions/utility/utility_handler.h b/extensions/utility/utility_handler.h
index 2bc12f423acb050834b85d8bffeaadda76afffb3..2378dcd3e8815689a326141cf8cdd4cc30d474bc 100644
--- a/extensions/utility/utility_handler.h
+++ b/extensions/utility/utility_handler.h
@@ -7,17 +7,16 @@
#include <string>
-#include "base/callback.h"
#include "base/macros.h"
-namespace base {
-class FilePath;
-}
-
namespace IPC {
class Message;
}
+namespace service_manager {
+class InterfaceRegistry;
+}
+
namespace extensions {
// A handler for extensions-related IPC from within utility processes.
@@ -28,16 +27,15 @@ class UtilityHandler {
static void UtilityThreadStarted();
+ static void ExposeInterfacesToBrowser(
+ service_manager::InterfaceRegistry* registry,
+ bool running_elevated);
+
bool OnMessageReceived(const IPC::Message& message);
private:
// IPC message handlers.
void OnParseUpdateManifest(const std::string& xml);
- void OnUnzipToDir(const base::FilePath& zip_path, const base::FilePath& dir);
- void OnUnpackExtension(const base::FilePath& directory_path,
- const std::string& extension_id,
- int location,
- int creation_flags);
DISALLOW_COPY_AND_ASSIGN(UtilityHandler);
};

Powered by Google App Engine
This is Rietveld 408576698