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

Unified Diff: dbus/object_proxy.h

Issue 8681002: dbus: Fix a bug where we were emitting spurious error messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 9 years, 1 month 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/end_to_end_async_unittest.cc ('k') | dbus/object_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/object_proxy.h
diff --git a/dbus/object_proxy.h b/dbus/object_proxy.h
index dcba44dd00661a96a68ce9b68ba405f4dff58002..ef453054915786accb66d82268a22506b6a69240 100644
--- a/dbus/object_proxy.h
+++ b/dbus/object_proxy.h
@@ -9,8 +9,8 @@
#include <dbus/dbus.h>
#include <map>
+#include <set>
#include <string>
-#include <vector>
#include "base/callback.h"
#include "base/memory/ref_counted.h"
@@ -192,7 +192,7 @@ class ObjectProxy : public base::RefCountedThreadSafe<ObjectProxy> {
typedef std::map<std::string, SignalCallback> MethodTable;
MethodTable method_table_;
- std::vector<std::string> match_rules_;
+ std::set<std::string> match_rules_;
DISALLOW_COPY_AND_ASSIGN(ObjectProxy);
};
« no previous file with comments | « dbus/end_to_end_async_unittest.cc ('k') | dbus/object_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698