Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Side by Side Diff: dbus/values_util.h

Issue 9702094: Add dbus::PopDataAsValue (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix typo Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « dbus/dbus.gyp ('k') | dbus/values_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef DBUS_VALUES_UTIL_H_
6 #define DBUS_VALUES_UTIL_H_
7 #pragma once
8
9 namespace base {
10 class Value;
11 }
12
13 namespace dbus {
14
15 class MessageReader;
16
17 // Pops a value from |reader| as a base::Value.
18 // Returns NULL if an error occurs.
19 // Note: Integer values larger than int32 (including uint32) are converted to
20 // double. Non-string diciontary keys are converted to strings.
21 base::Value* PopDataAsValue(MessageReader* reader);
22
23 } // namespace dbus
24
25 #endif // DBUS_VALUES_UTIL_H_
OLDNEW
« no previous file with comments | « dbus/dbus.gyp ('k') | dbus/values_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698