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

Unified Diff: dbus/util.h

Issue 510863002: dbus::ObjectManager: Add a match rule for properties before GetManagedObjects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Round 2 comments Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dbus/test_service.cc ('k') | dbus/util.cc » ('j') | dbus/util.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/util.h
diff --git a/dbus/util.h b/dbus/util.h
new file mode 100644
index 0000000000000000000000000000000000000000..b983b6fdb86e43101e2d50fd79e736073a07bab4
--- /dev/null
+++ b/dbus/util.h
@@ -0,0 +1,28 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef DBUS_UTIL_H_
+#define DBUS_UTIL_H_
+
+#include <string>
+
+#include "dbus/dbus_export.h"
+
+namespace dbus {
+
+// Returns the absolute name of a member by concatanating |interface_name| and
+// |member_name|. e.g.:
+// GetAbsoluteMemberName(
+// "org.freedesktop.DBus.Properties",
+// "PropertiesChanged")
+//
+// => "org.freedesktop.DBus.Properties.PropertiesChanged"
+//
+CHROME_DBUS_EXPORT std::string GetAbsoluteMemberName(
satorux1 2014/09/04 04:22:29 Thank you for creating this!
+ const std::string& interface_name,
+ const std::string& member_name);
+
+} // namespace dbus
+
+#endif // DBUS_UTIL_H_
« no previous file with comments | « dbus/test_service.cc ('k') | dbus/util.cc » ('j') | dbus/util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698