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

Unified Diff: storage/common/blob_storage/blob_item_bytes_response.h

Issue 1292523002: [BlobAsync] Patch 3: Renderer Classes & Logic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@async2
Patch Set: comments and test Created 5 years, 2 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
Index: storage/common/blob_storage/blob_item_bytes_response.h
diff --git a/storage/common/blob_storage/blob_item_bytes_response.h b/storage/common/blob_storage/blob_item_bytes_response.h
index f2aa9c70cebbf82a386f10ee90ac00a9d37e25a2..344cc7db5e82d5a4943ab22e93f5e9ccda3b11cc 100644
--- a/storage/common/blob_storage/blob_item_bytes_response.h
+++ b/storage/common/blob_storage/blob_item_bytes_response.h
@@ -37,21 +37,11 @@ struct STORAGE_COMMON_EXPORT BlobItemBytesResponse {
STORAGE_COMMON_EXPORT void PrintTo(const BlobItemBytesResponse& response,
std::ostream* os);
-#if defined(UNIT_TEST)
-STORAGE_COMMON_EXPORT inline bool operator==(const BlobItemBytesResponse& a,
- const BlobItemBytesResponse& b) {
- return a.request_number == b.request_number &&
- a.inline_data.size() == b.inline_data.size() &&
- std::equal(a.inline_data.begin(),
- a.inline_data.begin() + a.inline_data.size(),
- b.inline_data.begin());
-}
-
-STORAGE_COMMON_EXPORT inline bool operator!=(const BlobItemBytesResponse& a,
- const BlobItemBytesResponse& b) {
- return !(a == b);
-}
-#endif // defined(UNIT_TEST)
+STORAGE_COMMON_EXPORT bool operator==(const BlobItemBytesResponse& a,
+ const BlobItemBytesResponse& b);
+
+STORAGE_COMMON_EXPORT bool operator!=(const BlobItemBytesResponse& a,
+ const BlobItemBytesResponse& b);
} // namespace storage
« no previous file with comments | « storage/common/blob_storage/blob_item_bytes_request.cc ('k') | storage/common/blob_storage/blob_item_bytes_response.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698