diff options
author | benchan <benchan@chromium.org> | 2014-08-25 04:16:56 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-25 11:17:48 +0000 |
commit | 5d15ab5892635c504e8efff9c81e4dd8dc3de492 (patch) | |
tree | 3b2bc36d6ce3d2811c341744ac08929b2a2dbedd /dbus/message.cc | |
parent | a82dcc326db83837d52a65ab58e8c226a764d79a (diff) | |
download | chromium_src-5d15ab5892635c504e8efff9c81e4dd8dc3de492.zip chromium_src-5d15ab5892635c504e8efff9c81e4dd8dc3de492.tar.gz chromium_src-5d15ab5892635c504e8efff9c81e4dd8dc3de492.tar.bz2 |
Undo a rename of dbus::Message::GetSignature.
dbus::Message::GetSignature() was incorrectly renamed to
dbus::Message::GetDataSigature() in
https://codereview.chromium.org/502793002. This CL undoes that.
BUG=None
TEST=dbus_unittests
Review URL: https://codereview.chromium.org/494263003
Cr-Commit-Position: refs/heads/master@{#291660}
Diffstat (limited to 'dbus/message.cc')
-rw-r--r-- | dbus/message.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbus/message.cc b/dbus/message.cc index a7310f3..ddcf85f 100644 --- a/dbus/message.cc +++ b/dbus/message.cc @@ -262,7 +262,7 @@ std::string Message::ToString() { AppendStringHeader("member", GetMember(), &headers); AppendStringHeader("error_name", GetErrorName(), &headers); AppendStringHeader("sender", GetSender(), &headers); - AppendStringHeader("signature", GetDataSignature(), &headers); + AppendStringHeader("signature", GetSignature(), &headers); AppendUint32Header("serial", GetSerial(), &headers); AppendUint32Header("reply_serial", GetReplySerial(), &headers); @@ -333,7 +333,7 @@ std::string Message::GetSender() { return sender ? sender : ""; } -std::string Message::GetDataSignature() { +std::string Message::GetSignature() { const char* signature = dbus_message_get_signature(raw_message_); return signature ? signature : ""; } |