1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef EXTENSIONS_UTILITY_UTILITY_HANDLER_
6 #define EXTENSIONS_UTILITY_UTILITY_HANDLER_
10 #include "base/macros.h"
16 namespace extensions
{
18 // A handler for extensions-related IPC from within utility processes.
19 class UtilityHandler
{
24 static void UtilityThreadStarted();
26 bool OnMessageReceived(const IPC::Message
& message
);
29 // IPC message handlers.
30 void OnParseUpdateManifest(const std::string
& xml
);
32 DISALLOW_COPY_AND_ASSIGN(UtilityHandler
);
35 } // namespace extensions
37 #endif // EXTENSIONS_UTILITY_UTILITY_HANDLER_