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

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

Issue 63273002: Rename WebKit namespace to blink (part 4) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_TASK_MANAGER_H_ 5 #ifndef CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_
6 #define CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ 6 #define CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 202
203 // On Windows, get the current and peak number of GDI handles in use. 203 // On Windows, get the current and peak number of GDI handles in use.
204 void GetGDIHandles(int index, size_t* current, size_t* peak) const; 204 void GetGDIHandles(int index, size_t* current, size_t* peak) const;
205 205
206 // On Windows, get the current and peak number of USER handles in use. 206 // On Windows, get the current and peak number of USER handles in use.
207 void GetUSERHandles(int index, size_t* current, size_t* peak) const; 207 void GetUSERHandles(int index, size_t* current, size_t* peak) const;
208 208
209 // Gets the statuses of webkit. Return false if the resource for the given row 209 // Gets the statuses of webkit. Return false if the resource for the given row
210 // isn't a renderer. 210 // isn't a renderer.
211 bool GetWebCoreCacheStats(int index, 211 bool GetWebCoreCacheStats(int index,
212 WebKit::WebCache::ResourceTypeStats* result) const; 212 blink::WebCache::ResourceTypeStats* result) const;
213 213
214 // Gets the GPU memory allocated of the given page. 214 // Gets the GPU memory allocated of the given page.
215 bool GetVideoMemory(int index, 215 bool GetVideoMemory(int index,
216 size_t* video_memory, 216 size_t* video_memory,
217 bool* has_duplicates) const; 217 bool* has_duplicates) const;
218 218
219 // Gets the fps of the given page. Return false if the resource for the given 219 // Gets the fps of the given page. Return false if the resource for the given
220 // row isn't a renderer. 220 // row isn't a renderer.
221 bool GetFPS(int index, float* result) const; 221 bool GetFPS(int index, float* result) const;
222 222
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 304
305 // Sends OnModelChanged() to all observers to inform them of significant 305 // Sends OnModelChanged() to all observers to inform them of significant
306 // changes to the model. 306 // changes to the model.
307 void ModelChanged(); 307 void ModelChanged();
308 308
309 // Updates the values for all rows. 309 // Updates the values for all rows.
310 void Refresh(); 310 void Refresh();
311 311
312 void NotifyResourceTypeStats( 312 void NotifyResourceTypeStats(
313 base::ProcessId renderer_id, 313 base::ProcessId renderer_id,
314 const WebKit::WebCache::ResourceTypeStats& stats); 314 const blink::WebCache::ResourceTypeStats& stats);
315 315
316 void NotifyFPS(base::ProcessId renderer_id, 316 void NotifyFPS(base::ProcessId renderer_id,
317 int routing_id, 317 int routing_id,
318 float fps); 318 float fps);
319 319
320 void NotifyVideoMemoryUsageStats( 320 void NotifyVideoMemoryUsageStats(
321 const content::GPUVideoMemoryUsageStats& video_memory_usage_stats); 321 const content::GPUVideoMemoryUsageStats& video_memory_usage_stats);
322 322
323 void NotifyV8HeapStats(base::ProcessId renderer_id, 323 void NotifyV8HeapStats(base::ProcessId renderer_id,
324 size_t v8_memory_allocated, 324 size_t v8_memory_allocated,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 // No is_network_usage since default (0) is fine. 367 // No is_network_usage since default (0) is fine.
368 int64 network_usage; 368 int64 network_usage;
369 369
370 bool is_process_id_valid; 370 bool is_process_id_valid;
371 base::ProcessId process_id; 371 base::ProcessId process_id;
372 372
373 bool is_goats_teleported_valid; 373 bool is_goats_teleported_valid;
374 int goats_teleported; 374 int goats_teleported;
375 375
376 bool is_webcore_stats_valid; 376 bool is_webcore_stats_valid;
377 WebKit::WebCache::ResourceTypeStats webcore_stats; 377 blink::WebCache::ResourceTypeStats webcore_stats;
378 378
379 bool is_fps_valid; 379 bool is_fps_valid;
380 float fps; 380 float fps;
381 381
382 bool is_sqlite_memory_bytes_valid; 382 bool is_sqlite_memory_bytes_valid;
383 size_t sqlite_memory_bytes; 383 size_t sqlite_memory_bytes;
384 384
385 bool is_v8_memory_valid; 385 bool is_v8_memory_valid;
386 size_t v8_memory_allocated; 386 size_t v8_memory_allocated;
387 size_t v8_memory_used; 387 size_t v8_memory_used;
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 // All per-Resource values are stored here. 564 // All per-Resource values are stored here.
565 mutable PerResourceCache per_resource_cache_; 565 mutable PerResourceCache per_resource_cache_;
566 566
567 // All per-Process values are stored here. 567 // All per-Process values are stored here.
568 mutable PerProcessCache per_process_cache_; 568 mutable PerProcessCache per_process_cache_;
569 569
570 DISALLOW_COPY_AND_ASSIGN(TaskManagerModel); 570 DISALLOW_COPY_AND_ASSIGN(TaskManagerModel);
571 }; 571 };
572 572
573 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ 573 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/task_manager/resource_provider.cc ('k') | chrome/browser/task_manager/task_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698