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

Unified Diff: chrome/browser/net/network_stats.h

Issue 23875004: Another attempt to fix a Chrome crash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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 | « no previous file | chrome/browser/net/network_stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/network_stats.h
diff --git a/chrome/browser/net/network_stats.h b/chrome/browser/net/network_stats.h
index 59bf0b0e55ef2c018b595338ff4324aa0ed5f281..65c8aae55cfaea64302d6ad662c94224cf045a44 100644
--- a/chrome/browser/net/network_stats.h
+++ b/chrome/browser/net/network_stats.h
@@ -142,8 +142,9 @@ class NetworkStats {
void OnWriteComplete(int result);
// Read data from server until an error or IO blocking occurs or reading is
- // complete.
- void ReadData();
+ // complete. Return the result value from socket reading and 0 if |socket_|
+ // is Null.
+ int ReadData();
// Send data contained in |str| to server.
// Return a negative value if IO blocking occurs or there is an error.
« no previous file with comments | « no previous file | chrome/browser/net/network_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698