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

Unified Diff: chrome/browser/task_manager/task_manager.h

Issue 1284993005: Notify NetworkDelegate when bytes have been received over the network. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed empty cronet OnRawBytesRead implementation Created 5 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: chrome/browser/task_manager/task_manager.h
diff --git a/chrome/browser/task_manager/task_manager.h b/chrome/browser/task_manager/task_manager.h
index 3a8f62775974f5b3292a458b5adc73387d1d6380..d2c08ec488822077f4a92f7606d2d2ee17eb6024 100644
--- a/chrome/browser/task_manager/task_manager.h
+++ b/chrome/browser/task_manager/task_manager.h
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_
#define CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_
+#include <stdint.h>
+
#include <map>
#include <vector>
@@ -294,7 +296,7 @@ class TaskManagerModel : public base::RefCountedThreadSafe<TaskManagerModel> {
void NotifyVideoMemoryUsageStats(
const content::GPUVideoMemoryUsageStats& video_memory_usage_stats);
- void NotifyBytesRead(const net::URLRequest& request, int bytes_read);
+ void NotifyBytesRead(const net::URLRequest& request, int64_t bytes_read);
void RegisterOnDataReadyCallback(const base::Closure& callback);
@@ -401,7 +403,7 @@ class TaskManagerModel : public base::RefCountedThreadSafe<TaskManagerModel> {
BytesReadParam(int origin_pid,
int child_id,
int route_id,
- int byte_count)
+ int64_t byte_count)
: origin_pid(origin_pid),
child_id(child_id),
route_id(route_id),
@@ -415,7 +417,7 @@ class TaskManagerModel : public base::RefCountedThreadSafe<TaskManagerModel> {
int child_id;
int route_id;
- int byte_count;
+ int64_t byte_count;
};
~TaskManagerModel();
« no previous file with comments | « chrome/browser/task_management/task_manager_interface.cc ('k') | chrome/browser/task_manager/task_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698