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

Unified Diff: dbus/bus.h

Issue 11199007: Add sender verification of D-Bus signals. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: address comments. Created 8 years, 2 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 | « no previous file | dbus/dbus.gyp » ('j') | dbus/end_to_end_async_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/bus.h
diff --git a/dbus/bus.h b/dbus/bus.h
index 6f31b37ab76331ecc744c54d89518702aacddde5..ddcafa286900f16e778e5324df3dc1129c91c64c 100644
--- a/dbus/bus.h
+++ b/dbus/bus.h
@@ -441,6 +441,11 @@ class Bus : public base::RefCountedThreadSafe<Bus> {
// Returns true if the bus is connected to D-Bus.
bool is_connected() { return connection_ != NULL; }
+ // Processes the all incoming data to the connection, if any.
+ //
+ // BLOCKING CALL.
+ void ProcessAllIncomingDataIfAny();
satorux1 2012/10/25 08:56:23 No need to expose, right?
Haruki Sato 2012/10/26 05:03:24 Done. Thanks.
+
protected:
// This is protected, so we can define sub classes.
virtual ~Bus();
@@ -464,11 +469,6 @@ class Bus : public base::RefCountedThreadSafe<Bus> {
const std::string& service_name,
bool success);
- // Processes the all incoming data to the connection, if any.
- //
- // BLOCKING CALL.
- void ProcessAllIncomingDataIfAny();
-
// Called when a watch object is added. Used to start monitoring the
// file descriptor used for D-Bus communication.
dbus_bool_t OnAddWatch(DBusWatch* raw_watch);
« no previous file with comments | « no previous file | dbus/dbus.gyp » ('j') | dbus/end_to_end_async_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698