Christopher Wiley | a4915c4 | 2014-03-27 14:45:37 -0700 | [diff] [blame] | 1 | // Copyright 2014 The Chromium OS 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. |
| 4 | |
| 5 | #ifndef BUFFET_DBUS_UTILS_H_ |
| 6 | #define BUFFET_DBUS_UTILS_H_ |
| 7 | |
| 8 | #include <string> |
| 9 | |
| 10 | #include <base/memory/scoped_ptr.h> |
| 11 | #include <dbus/message.h> |
| 12 | |
| 13 | namespace buffet { |
| 14 | |
| 15 | namespace dbus_utils { |
| 16 | |
| 17 | scoped_ptr<dbus::Response> GetBadArgsError(dbus::MethodCall* method_call, |
| 18 | const std::string& message); |
| 19 | |
| 20 | } // namespace dbus_utils |
| 21 | |
| 22 | } // namespace buffet |
| 23 | |
| 24 | #endif // BUFFET_DBUS_UTILS_H_ |
| 25 | |