Index: url/gurl.cc |
diff --git a/url/gurl.cc b/url/gurl.cc |
index b5801254069eb3e50d749c94fe9a082fd9a701af..46ca408da9c9c55f1e919365dab03db5038aedff 100644 |
--- a/url/gurl.cc |
+++ b/url/gurl.cc |
@@ -177,6 +177,22 @@ const std::string& GURL::spec() const { |
return EmptyStringForGURL(); |
} |
+bool GURL::operator==(const GURL& other) const { |
+ return spec_ == other.spec_; |
+} |
+ |
+bool GURL::operator!=(const GURL& other) const { |
+ return spec_ != other.spec_; |
+} |
+ |
+bool GURL::operator<(const GURL& other) const { |
+ return spec_ < other.spec_; |
+} |
+ |
+bool GURL::operator>(const GURL& other) const { |
+ return spec_ > other.spec_; |
+} |
+ |
GURL GURL::Resolve(const std::string& relative) const { |
return ResolveWithCharsetConverter(relative, NULL); |
} |