1 // Copyright (c) 2012 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 CHROMEOS_DBUS_IBUS_MOCK_IBUS_ENGINE_FACTORY_SERVICE_H_
6 #define CHROMEOS_DBUS_IBUS_MOCK_IBUS_ENGINE_FACTORY_SERVICE_H_
9 #include "base/basictypes.h"
10 #include "chromeos/dbus/ibus/ibus_engine_factory_service.h"
13 class MockIBusEngineFactoryService
: public IBusEngineFactoryService
{
15 MockIBusEngineFactoryService();
16 virtual ~MockIBusEngineFactoryService();
18 virtual void SetCreateEngineHandler(
19 const std::string
& engine_id
,
20 const CreateEngineHandler
& create_engine_handler
) OVERRIDE
;
21 virtual void UnsetCreateEngineHandler(
22 const std::string
& engine_id
) OVERRIDE
;
24 DISALLOW_COPY_AND_ASSIGN(MockIBusEngineFactoryService
);
27 } // namespace chromeos
29 #endif // CHROMEOS_DBUS_IBUS_MOCK_IBUS_ENGINE_FACTORY_SERVICE_H_