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

Side by Side Diff: chrome/browser/task_manager.h

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chromeos/cros/network_library.cc ('k') | chrome/browser/task_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_TASK_MANAGER_H_ 5 #ifndef CHROME_BROWSER_TASK_MANAGER_H_
6 #define CHROME_BROWSER_TASK_MANAGER_H_ 6 #define CHROME_BROWSER_TASK_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 TabContents* GetResourceTabContents(int index) const; 231 TabContents* GetResourceTabContents(int index) const;
232 232
233 // Returns Extension of given resource or NULL if not applicable. 233 // Returns Extension of given resource or NULL if not applicable.
234 const Extension* GetResourceExtension(int index) const; 234 const Extension* GetResourceExtension(int index) const;
235 235
236 // JobObserver methods: 236 // JobObserver methods:
237 void OnJobAdded(URLRequestJob* job); 237 void OnJobAdded(URLRequestJob* job);
238 void OnJobRemoved(URLRequestJob* job); 238 void OnJobRemoved(URLRequestJob* job);
239 void OnJobDone(URLRequestJob* job, const URLRequestStatus& status); 239 void OnJobDone(URLRequestJob* job, const URLRequestStatus& status);
240 void OnJobRedirect(URLRequestJob* job, const GURL& location, int status_code); 240 void OnJobRedirect(URLRequestJob* job, const GURL& location, int status_code);
241 void OnBytesRead(URLRequestJob* job, int byte_count); 241 void OnBytesRead(URLRequestJob* job, const char* buf, int byte_count);
242 242
243 void AddResourceProvider(TaskManager::ResourceProvider* provider); 243 void AddResourceProvider(TaskManager::ResourceProvider* provider);
244 void RemoveResourceProvider(TaskManager::ResourceProvider* provider); 244 void RemoveResourceProvider(TaskManager::ResourceProvider* provider);
245 245
246 void AddResource(TaskManager::Resource* resource); 246 void AddResource(TaskManager::Resource* resource);
247 void RemoveResource(TaskManager::Resource* resource); 247 void RemoveResource(TaskManager::Resource* resource);
248 248
249 void StartUpdating(); 249 void StartUpdating();
250 void StopUpdating(); 250 void StopUpdating();
251 251
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 // Whether we are currently in the process of updating. 403 // Whether we are currently in the process of updating.
404 UpdateState update_state_; 404 UpdateState update_state_;
405 405
406 // A salt lick for the goats. 406 // A salt lick for the goats.
407 int goat_salt_; 407 int goat_salt_;
408 408
409 DISALLOW_COPY_AND_ASSIGN(TaskManagerModel); 409 DISALLOW_COPY_AND_ASSIGN(TaskManagerModel);
410 }; 410 };
411 411
412 #endif // CHROME_BROWSER_TASK_MANAGER_H_ 412 #endif // CHROME_BROWSER_TASK_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/network_library.cc ('k') | chrome/browser/task_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698