Index: extensions/utility/utility_handler.h |
diff --git a/extensions/utility/utility_handler.h b/extensions/utility/utility_handler.h |
index 2378dcd3e8815689a326141cf8cdd4cc30d474bc..dac0b62fc52d3f75fb79312e3701a4da67003b8e 100644 |
--- a/extensions/utility/utility_handler.h |
+++ b/extensions/utility/utility_handler.h |
@@ -5,39 +5,19 @@ |
#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(); |
- |
+// Handler for extensions-related utility process services. |
+struct UtilityHandler { |
static void UtilityThreadStarted(); |
Sam McNally
2017/03/20 04:22:06
These should be functions.
Noel Gordon
2017/03/20 05:53:57
They are functions, so perhaps you're asking about
Sam McNally
2017/03/20 05:56:26
https://google.github.io/styleguide/cppguide.html#
Noel Gordon
2017/03/20 11:32:53
Done, moved these helpers into namespace utility_h
|
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); |
- |
- DISALLOW_COPY_AND_ASSIGN(UtilityHandler); |
}; |
} // namespace extensions |