Index: mojo/shell/identity.cc |
diff --git a/mojo/shell/identity.cc b/mojo/shell/identity.cc |
index c0e12fb3b9a4536c400b4b21268fc2b75590c63d..2c05b3f7722460a95b261eb17791a96177d1fd9b 100644 |
--- a/mojo/shell/identity.cc |
+++ b/mojo/shell/identity.cc |
@@ -53,6 +53,11 @@ bool Identity::operator<(const Identity& other) const { |
return qualifier_ < other.qualifier_; |
} |
+bool Identity::operator==(const Identity& other) const { |
+ return other.url_ == url_ && other.qualifier_ == qualifier_ && |
+ other.filter_ == filter_; |
+} |
+ |
Identity CreateShellIdentity() { |
return Identity(GURL("mojo://shell/"), std::string(), |
GetPermissiveCapabilityFilter()); |