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

Unified Diff: dbus/object_path.cc

Issue 9378039: dbus: add ObjectPath type (Closed) Base URL: http://git.chromium.org/git/chromium/src@master
Patch Set: add patch for cryptohome_client Created 8 years, 10 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/object_path.h ('k') | dbus/object_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/object_path.cc
diff --git a/dbus/object_path.cc b/dbus/object_path.cc
new file mode 100644
index 0000000000000000000000000000000000000000..2dda466dd23b3ac74a69e41dfcf33de1b0c7ae1a
--- /dev/null
+++ b/dbus/object_path.cc
@@ -0,0 +1,21 @@
+// Copyright (c) 2012 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.
+
+#include "dbus/object_path.h"
+
+namespace dbus {
+
+bool ObjectPath::operator<(const ObjectPath& that) const {
+ return value_ < that.value_;
+}
+
+bool ObjectPath::operator==(const ObjectPath& that) const {
+ return value_ == that.value_;
+}
+
+bool ObjectPath::operator!=(const ObjectPath& that) const {
+ return value_ != that.value_;
+}
+
+} // namespace dbus
« no previous file with comments | « dbus/object_path.h ('k') | dbus/object_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698