| Index: chrome/browser/task_manager/task_manager_interface.h
|
| diff --git a/chrome/browser/task_manager/task_manager_interface.h b/chrome/browser/task_manager/task_manager_interface.h
|
| index fcd9c32a2f3739cc77a5109a8aa8c78d7008267f..6e85f372f6e09e4146e7515915138c3733222c47 100644
|
| --- a/chrome/browser/task_manager/task_manager_interface.h
|
| +++ b/chrome/browser/task_manager/task_manager_interface.h
|
| @@ -19,6 +19,7 @@
|
| #include "base/time/time.h"
|
| #include "base/timer/timer.h"
|
| #include "chrome/browser/task_manager/providers/task.h"
|
| +#include "chrome/browser/task_manager/sampling/task_manager_io_thread_helper.h"
|
| #include "chrome/browser/task_manager/task_manager_observer.h"
|
| #include "third_party/WebKit/public/platform/WebCache.h"
|
| #include "ui/gfx/image/image_skia.h"
|
| @@ -29,10 +30,6 @@ namespace content {
|
| class WebContents;
|
| } // namespace content
|
|
|
| -namespace net {
|
| -class URLRequest;
|
| -} // namespace net
|
| -
|
| namespace task_manager {
|
|
|
| // Defines the interface for any implementation of the task manager.
|
| @@ -52,13 +49,9 @@ class TaskManagerInterface {
|
|
|
| // This notification will be received on the IO thread from
|
| // ChromeNetworkDelegate to update the task manager with read network usage.
|
| - static void OnRawBytesRead(const net::URLRequest& request,
|
| - int64_t bytes_read);
|
| -
|
| - // This notification will be received on the IO thread from
|
| - // ChromeNetworkDelegate to update the task manager with sent network usage.
|
| - static void OnRawBytesSent(const net::URLRequest& request,
|
| - int64_t bytes_sent);
|
| + static void OnRawBytesTransferred(BytesTransferredKey key,
|
| + int64_t bytes_read,
|
| + int64_t bytes_sent);
|
|
|
| void AddObserver(TaskManagerObserver* observer);
|
| void RemoveObserver(TaskManagerObserver* observer);
|
|
|