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

Unified Diff: content/browser/loader/upload_data_stream_builder_unittest.cc

Issue 2605293002: Add WARN_UNUSED_RESULT to base::Time methods that return bool. (Closed)
Patch Set: Add comment to PexeDownloader::didReceiveResponse() Created 3 years, 11 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: content/browser/loader/upload_data_stream_builder_unittest.cc
diff --git a/content/browser/loader/upload_data_stream_builder_unittest.cc b/content/browser/loader/upload_data_stream_builder_unittest.cc
index bf416822a604699a0572d9e88104edbe4c98cf5e..f46634e03fd8fe94606067e435b6d38d3b6bfb56 100644
--- a/content/browser/loader/upload_data_stream_builder_unittest.cc
+++ b/content/browser/loader/upload_data_stream_builder_unittest.cc
@@ -104,7 +104,8 @@ TEST(UploadDataStreamBuilderTest,
const uint64_t kZeroLength = 0;
base::Time blob_time;
- base::Time::FromString("Tue, 15 Nov 1994, 12:45:26 GMT", &blob_time);
+ ASSERT_TRUE(
+ base::Time::FromString("Tue, 15 Nov 1994, 12:45:26 GMT", &blob_time));
ASSERT_TRUE(base::TouchFile(test_blob_path, blob_time, blob_time));
BlobStorageContext blob_storage_context;

Powered by Google App Engine
This is Rietveld 408576698