Disable webaudio support on Android ARM by turning off use_openmax_dl_fft.
[chromium-blink-merge.git] / dbus / values_util.h
blobe34c7a039db31e611fccad4be2285e07a4a3423c
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 DBUS_VALUES_UTIL_H_
6 #define DBUS_VALUES_UTIL_H_
8 #include "dbus/dbus_export.h"
10 namespace base {
11 class Value;
14 namespace dbus {
16 class MessageReader;
17 class MessageWriter;
19 // Pops a value from |reader| as a base::Value.
20 // Returns NULL if an error occurs.
21 // Note: Integer values larger than int32 (including uint32) are converted to
22 // double. Non-string diciontary keys are converted to strings.
23 CHROME_DBUS_EXPORT base::Value* PopDataAsValue(MessageReader* reader);
25 // Appends a basic type value to |writer|.
26 CHROME_DBUS_EXPORT void AppendBasicTypeValueData(MessageWriter* writer,
27 const base::Value& value);
29 // Appends a basic type value to |writer| as a variant.
30 CHROME_DBUS_EXPORT void AppendBasicTypeValueDataAsVariant(
31 MessageWriter* writer,
32 const base::Value& value);
34 } // namespace dbus
36 #endif // DBUS_VALUES_UTIL_H_