Separate Simple Backend creation from initialization.
[chromium-blink-merge.git] / chromeos / dbus / ibus / mock_ibus_engine_factory_service.h
blob1436177661502f4e5ce7028dbec28c625de6d51f
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_
8 #include <string>
9 #include "base/basictypes.h"
10 #include "chromeos/dbus/ibus/ibus_engine_factory_service.h"
12 namespace chromeos {
13 class MockIBusEngineFactoryService : public IBusEngineFactoryService {
14 public:
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_