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

Unified Diff: net/base/upload_data_stream.h

Issue 541022: Fix the case where the browser livelocks if we cannot open a file. (Closed)
Patch Set: Created 10 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: net/base/upload_data_stream.h
diff --git a/net/base/upload_data_stream.h b/net/base/upload_data_stream.h
index d703c3d1b08a7b02e163e6a0463ccedd581c3b15..a36ee82dd2db59781776a3993a2f46b1826a651a 100644
--- a/net/base/upload_data_stream.h
+++ b/net/base/upload_data_stream.h
@@ -62,6 +62,8 @@ class UploadDataStream {
uint64 total_size_;
uint64 current_position_;
+ bool file_failed_to_open_;
+
DISALLOW_EVIL_CONSTRUCTORS(UploadDataStream);
};

Powered by Google App Engine
This is Rietveld 408576698