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

Unified Diff: storage/common/blob_storage/blob_item_bytes_request.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
« no previous file with comments | « storage/browser/blob/blob_data_item.cc ('k') | storage/common/blob_storage/blob_item_bytes_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/common/blob_storage/blob_item_bytes_request.h
diff --git a/storage/common/blob_storage/blob_item_bytes_request.h b/storage/common/blob_storage/blob_item_bytes_request.h
index 4031309fcacc0167a7080e0f30df4bd93daf95a0..b40c2e4ea2e9c9318b40af23270edafba030dbbf 100644
--- a/storage/common/blob_storage/blob_item_bytes_request.h
+++ b/storage/common/blob_storage/blob_item_bytes_request.h
@@ -65,21 +65,11 @@ struct STORAGE_COMMON_EXPORT BlobItemBytesRequest {
STORAGE_COMMON_EXPORT void PrintTo(const BlobItemBytesRequest& request,
std::ostream* os);
-#if defined(UNIT_TEST)
-STORAGE_COMMON_EXPORT inline bool operator==(const BlobItemBytesRequest& a,
- const BlobItemBytesRequest& b) {
- return a.request_number == b.request_number &&
- a.transport_strategy == b.transport_strategy &&
- a.renderer_item_index == b.renderer_item_index &&
- a.renderer_item_offset == b.renderer_item_offset && a.size == b.size &&
- a.handle_index == b.handle_index && a.handle_offset == b.handle_offset;
-}
+STORAGE_COMMON_EXPORT bool operator==(const BlobItemBytesRequest& a,
+ const BlobItemBytesRequest& b);
-STORAGE_COMMON_EXPORT inline bool operator!=(const BlobItemBytesRequest& a,
- const BlobItemBytesRequest& b) {
- return !(a == b);
-}
-#endif // defined(UNIT_TEST)
+STORAGE_COMMON_EXPORT bool operator!=(const BlobItemBytesRequest& a,
+ const BlobItemBytesRequest& b);
} // namespace storage
« no previous file with comments | « storage/browser/blob/blob_data_item.cc ('k') | storage/common/blob_storage/blob_item_bytes_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698