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_CONFIG_CLIENT_H_
6 #define CHROMEOS_DBUS_IBUS_MOCK_IBUS_CONFIG_CLIENT_H_
11 #include "chromeos/dbus/ibus/ibus_config_client.h"
15 class MockIBusConfigClient
: public IBusConfigClient
{
17 MockIBusConfigClient();
18 virtual ~MockIBusConfigClient();
19 virtual void InitializeAsync(const OnIBusConfigReady
& onready
) OVERRIDE
;
21 virtual void SetStringValue(const std::string
& key
,
22 const std::string
& section
,
23 const std::string
& value
,
24 const ErrorCallback
& error_callback
) OVERRIDE
;
26 virtual void SetIntValue(const std::string
& key
,
27 const std::string
& section
,
29 const ErrorCallback
& error_callback
) OVERRIDE
;
31 virtual void SetBoolValue(const std::string
& key
,
32 const std::string
& section
,
34 const ErrorCallback
& error_callback
) OVERRIDE
;
36 virtual void SetStringListValue(const std::string
& key
,
37 const std::string
& section
,
38 const std::vector
<std::string
>& value
,
39 const ErrorCallback
& error_callback
) OVERRIDE
;
42 DISALLOW_COPY_AND_ASSIGN(MockIBusConfigClient
);
45 } // namespace chromeos
47 #endif // CHROMEOS_DBUS_IBUS_MOCK_IBUS_CONFIG_CLIENT_H_