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

Unified Diff: extensions/utility/utility_handler.h

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 | « extensions/test/test_content_utility_client.cc ('k') | extensions/utility/utility_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/utility/utility_handler.h
diff --git a/extensions/utility/utility_handler.h b/extensions/utility/utility_handler.h
index 2378dcd3e8815689a326141cf8cdd4cc30d474bc..92d514ed6f6d287305f61ab9098c1a94f1a62961 100644
--- a/extensions/utility/utility_handler.h
+++ b/extensions/utility/utility_handler.h
@@ -5,40 +5,20 @@
#ifndef EXTENSIONS_UTILITY_UTILITY_HANDLER_H_
#define EXTENSIONS_UTILITY_UTILITY_HANDLER_H_
-#include <string>
-
-#include "base/macros.h"
-
-namespace IPC {
-class Message;
-}
-
namespace service_manager {
class InterfaceRegistry;
}
namespace extensions {
-// A handler for extensions-related IPC from within utility processes.
-class UtilityHandler {
- public:
- UtilityHandler();
- ~UtilityHandler();
-
- static void UtilityThreadStarted();
-
- static void ExposeInterfacesToBrowser(
- service_manager::InterfaceRegistry* registry,
- bool running_elevated);
+namespace utility_handler {
- bool OnMessageReceived(const IPC::Message& message);
+void UtilityThreadStarted();
- private:
- // IPC message handlers.
- void OnParseUpdateManifest(const std::string& xml);
+void ExposeInterfacesToBrowser(service_manager::InterfaceRegistry* registry,
+ bool running_elevated);
- DISALLOW_COPY_AND_ASSIGN(UtilityHandler);
-};
+} // namespace utility_handler
} // namespace extensions
« no previous file with comments | « extensions/test/test_content_utility_client.cc ('k') | extensions/utility/utility_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698