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

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

Issue 543045: Be more frugal with goats in these challenging economic times. (Closed)
Patch Set: link to design doc Created 10 years, 11 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
« no previous file with comments | « no previous file | 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 ResourceValueMap displayed_network_usage_map_; 379 ResourceValueMap displayed_network_usage_map_;
380 380
381 // A map that contains the CPU usage (in %) for a process since last refresh. 381 // A map that contains the CPU usage (in %) for a process since last refresh.
382 CPUUsageMap cpu_usage_map_; 382 CPUUsageMap cpu_usage_map_;
383 383
384 ObserverList<TaskManagerModelObserver> observer_list_; 384 ObserverList<TaskManagerModelObserver> observer_list_;
385 385
386 // Whether we are currently in the process of updating. 386 // Whether we are currently in the process of updating.
387 UpdateState update_state_; 387 UpdateState update_state_;
388 388
389 // See design doc at http://go/at-teleporter for more information.
390 static int goats_teleported_;
391
392 DISALLOW_COPY_AND_ASSIGN(TaskManagerModel); 389 DISALLOW_COPY_AND_ASSIGN(TaskManagerModel);
393 }; 390 };
394 391
395 #endif // CHROME_BROWSER_TASK_MANAGER_H_ 392 #endif // CHROME_BROWSER_TASK_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/task_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698