Index: storage/browser/blob/blob_data_builder.h |
diff --git a/storage/browser/blob/blob_data_builder.h b/storage/browser/blob/blob_data_builder.h |
index 096018801787f7a3c1f065274ea0d7edd898e76c..5600ca8eab80a80bc960271c57edd57c0a69e50e 100644 |
--- a/storage/browser/blob/blob_data_builder.h |
+++ b/storage/browser/blob/blob_data_builder.h |
@@ -165,6 +165,10 @@ inline bool operator==(const BlobDataSnapshot& a, const BlobDataBuilder& b) { |
return true; |
} |
+inline bool operator==(const BlobDataBuilder& a, const BlobDataSnapshot& b) { |
+ return b == a; |
+} |
+ |
inline bool operator!=(const BlobDataSnapshot& a, const BlobDataBuilder& b) { |
return !(a == b); |
} |
@@ -173,6 +177,10 @@ inline bool operator!=(const BlobDataBuilder& a, const BlobDataBuilder& b) { |
return !(a == b); |
} |
+inline bool operator!=(const BlobDataBuilder& a, const BlobDataSnapshot& b) { |
+ return b != a; |
+} |
+ |
#endif // defined(UNIT_TEST) |
} // namespace storage |