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

Unified Diff: content/browser/download/download_file_unittest.cc

Issue 7646025: Detect file system errors during downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactored unit test to remove extraneous functions from FileStream. Created 9 years, 4 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/download/download_file_unittest.cc
diff --git a/content/browser/download/download_file_unittest.cc b/content/browser/download/download_file_unittest.cc
index c257a237286388d76a67df770dd7c3d14bcd38a0..4563166221bca9e9f00df915a7b5afe8ccc947bc 100644
--- a/content/browser/download/download_file_unittest.cc
+++ b/content/browser/download/download_file_unittest.cc
@@ -79,8 +79,8 @@ class DownloadFileTest : public testing::Test {
&disk_data));
EXPECT_EQ(expected_data_, disk_data);
- // Make sure the mock BrowserThread outlives the DownloadFile to satisfy
- // thread checks inside it.
+ // Make sure the Browser and File threads outlive the DownloadFile
+ // to satisfy thread checks inside it.
file->reset();
}

Powered by Google App Engine
This is Rietveld 408576698