OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chromeos/dbus/ibus/mock_ibus_config_client.h" | 5 #include "chromeos/dbus/ibus/mock_ibus_config_client.h" |
6 | 6 |
| 7 #include <vector> |
| 8 |
7 namespace chromeos { | 9 namespace chromeos { |
8 | 10 |
9 MockIBusConfigClient::MockIBusConfigClient() { | 11 MockIBusConfigClient::MockIBusConfigClient() { |
10 } | 12 } |
11 | 13 |
12 MockIBusConfigClient::~MockIBusConfigClient() {} | 14 MockIBusConfigClient::~MockIBusConfigClient() {} |
13 | 15 |
| 16 void MockIBusConfigClient::InitializeAsync(const OnIBusConfigReady& onready) { |
| 17 } |
| 18 |
14 void MockIBusConfigClient::SetStringValue(const std::string& key, | 19 void MockIBusConfigClient::SetStringValue(const std::string& key, |
15 const std::string& section, | 20 const std::string& section, |
16 const std::string& value, | 21 const std::string& value, |
17 const ErrorCallback& error_callback) { | 22 const ErrorCallback& error_callback) { |
18 } | 23 } |
19 | 24 |
20 void MockIBusConfigClient::SetIntValue(const std::string& key, | 25 void MockIBusConfigClient::SetIntValue(const std::string& key, |
21 const std::string& section, | 26 const std::string& section, |
22 int value, | 27 int value, |
23 const ErrorCallback& error_callback) { | 28 const ErrorCallback& error_callback) { |
24 } | 29 } |
25 | 30 |
26 void MockIBusConfigClient::SetBoolValue(const std::string& key, | 31 void MockIBusConfigClient::SetBoolValue(const std::string& key, |
27 const std::string& section, | 32 const std::string& section, |
28 bool value, | 33 bool value, |
29 const ErrorCallback& error_callback) { | 34 const ErrorCallback& error_callback) { |
30 } | 35 } |
31 | 36 |
32 void MockIBusConfigClient::SetStringListValue( | 37 void MockIBusConfigClient::SetStringListValue( |
33 const std::string& key, | 38 const std::string& key, |
34 const std::string& section, | 39 const std::string& section, |
35 const std::vector<std::string>& value, | 40 const std::vector<std::string>& value, |
36 const ErrorCallback& error_callback) { | 41 const ErrorCallback& error_callback) { |
37 } | 42 } |
38 | 43 |
39 } // namespace chromeos | 44 } // namespace chromeos |
OLD | NEW |