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

Unified Diff: chrome/browser/chromeos/cros/network_library.cc

Issue 3010037: Add the actual data being read to the OnBytesRead callback, take two.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 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
« no previous file with comments | « no previous file | chrome/browser/task_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/cros/network_library.cc
===================================================================
--- chrome/browser/chromeos/cros/network_library.cc (revision 55065)
+++ chrome/browser/chromeos/cros/network_library.cc (working copy)
@@ -249,7 +249,7 @@
CheckNetworkTraffic(false);
}
- void OnBytesRead(URLRequestJob* job, int byte_count) {
+ void OnBytesRead(URLRequestJob* job, const char* buf, int byte_count) {
CheckNetworkTraffic(true);
}
@@ -1016,7 +1016,7 @@
void OnJobDone(URLRequestJob* job, const URLRequestStatus& status) {}
void OnJobRedirect(
URLRequestJob* job, const GURL& location, int status_code) {}
- void OnBytesRead(URLRequestJob* job, int byte_count) {}
+ void OnBytesRead(URLRequestJob* job, const char* buf, int byte_count) {}
void AddObserver(Observer* observer) {}
void RemoveObserver(Observer* observer) {}
virtual const EthernetNetwork& ethernet_network() const {
« no previous file with comments | « no previous file | chrome/browser/task_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698