Home
last modified time | relevance | path

Searched refs:TaskManager (Results 1 – 18 of 18) sorted by relevance

/external/chromium/chrome/browser/task_manager/
Dtask_manager_resource_providers.h36 class TaskManagerRendererResource : public TaskManager::Resource {
103 : public TaskManager::ResourceProvider,
106 explicit TaskManagerTabContentsResourceProvider(TaskManager* task_manager);
108 virtual TaskManager::Resource* GetResource(int origin_pid,
131 TaskManager* task_manager_;
161 : public TaskManager::ResourceProvider,
164 explicit TaskManagerPrerenderResourceProvider(TaskManager* task_manager);
166 virtual TaskManager::Resource* GetResource(int origin_pid,
184 TaskManager* task_manager_;
221 : public TaskManager::ResourceProvider,
[all …]
Dtask_manager.h36 class TaskManager {
126 virtual TaskManager::Resource* GetResource(int process_id,
166 static TaskManager* GetInstance();
182 TaskManager();
183 friend struct DefaultSingletonTraits<TaskManager>;
185 ~TaskManager();
191 DISALLOW_COPY_AND_ASSIGN(TaskManager);
215 explicit TaskManagerModel(TaskManager* task_manager);
287 TaskManager::Resource::Type GetResourceType(int index) const;
307 void AddResource(TaskManager::Resource* resource);
[all …]
Dtask_manager.cc74 TaskManagerModel::TaskManagerModel(TaskManager* task_manager) in TaskManagerModel()
237 TaskManager::Resource* resource = resources_[index]; in IsResourceFirstInGroup()
263 TaskManager::Resource* resource = resources_[index]; in GetGroupRangeForResource()
374 TaskManager::Resource::Type TaskManagerModel::GetResourceType(int index) const { in GetResourceType()
389 int64 TaskManagerModel::GetNetworkUsage(TaskManager::Resource* resource) in GetNetworkUsage()
397 double TaskManagerModel::GetCPUUsage(TaskManager::Resource* resource) const { in GetCPUUsage()
542 TaskManager::ResourceProvider* provider) { in AddResourceProvider()
557 void TaskManagerModel::AddResource(TaskManager::Resource* resource) { in AddResource()
603 void TaskManagerModel::RemoveResource(TaskManager::Resource* resource) { in RemoveResource()
778 TaskManager::Resource* resource) const { in GetNetworkUsageForResource()
[all …]
Dtask_manager_resource_providers.cc140 TaskManager::Resource::Type TaskManagerRendererResource::GetType() const { in GetType()
171 TaskManager::Resource::Type TaskManagerTabContentsResource::GetType() const { in GetType()
229 TaskManagerTabContentsResourceProvider(TaskManager* task_manager) in TaskManagerTabContentsResourceProvider()
238 TaskManager::Resource* TaskManagerTabContentsResourceProvider::GetResource( in GetResource()
415 TaskManager::Resource::Type TaskManagerPrerenderResource::GetType() const { in GetType()
454 TaskManager* task_manager) in TaskManagerPrerenderResourceProvider()
463 TaskManager::Resource* TaskManagerPrerenderResourceProvider::GetResource( in GetResource()
653 TaskManagerBackgroundContentsResourceProvider(TaskManager* task_manager) in TaskManagerBackgroundContentsResourceProvider()
662 TaskManager::Resource*
878 TaskManager::Resource::Type TaskManagerChildProcessResource::GetType() const { in GetType()
[all …]
Dtask_manager_unittest.cc29 class TestResource : public TaskManager::Resource {
59 TaskManager task_manager; in TEST_F()
65 TaskManager task_manager; in TEST_F()
103 TaskManager task_manager; in TEST_F()
Dtask_manager_browsertest.cc94 return TaskManager::GetInstance()->model(); in model()
206 TaskManager::GetInstance()->KillProcess(i); in IN_PROC_BROWSER_TEST_F()
256 ASSERT_EQ(TaskManager::Resource::EXTENSION, model()->GetResourceType(2)); in IN_PROC_BROWSER_TEST_F()
265 ASSERT_EQ(TaskManager::Resource::EXTENSION, model()->GetResourceType(3)); in IN_PROC_BROWSER_TEST_F()
296 ASSERT_EQ(TaskManager::Resource::EXTENSION, model()->GetResourceType(2)); in IN_PROC_BROWSER_TEST_F()
358 TaskManager::GetInstance()->KillProcess(2); in IN_PROC_BROWSER_TEST_F()
381 TaskManager::GetInstance()->KillProcess(2); in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/extensions/
Dextension_processes_api.cc50 model_ = TaskManager::GetInstance()->model(); in ExtensionProcessesEventRouter()
80 TaskManager::Resource::Type resource_type = model_->GetResourceType(i); in OnItemsChanged()
82 case TaskManager::Resource::BROWSER: in OnItemsChanged()
85 case TaskManager::Resource::RENDERER: in OnItemsChanged()
88 case TaskManager::Resource::EXTENSION: in OnItemsChanged()
91 case TaskManager::Resource::NOTIFICATION: in OnItemsChanged()
94 case TaskManager::Resource::PLUGIN: in OnItemsChanged()
97 case TaskManager::Resource::WORKER: in OnItemsChanged()
100 case TaskManager::Resource::NACL: in OnItemsChanged()
103 case TaskManager::Resource::UTILITY: in OnItemsChanged()
[all …]
Dextension_processes_apitest.cc25 TaskManagerModel* model = TaskManager::GetInstance()->model(); in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/ui/cocoa/
Dtask_manager_mac.h30 TaskManager* taskManager_; // weak
73 TaskManagerMac(TaskManager* task_manager, bool highlight_background);
96 TaskManager* task_manager() { return task_manager_; } in task_manager()
108 TaskManager* const task_manager_; // weak
Dtask_manager_mac_unittest.mm20 class TestResource : public TaskManager::Resource {
41 TaskManager task_manager;
50 TaskManager task_manager;
85 TaskManager task_manager;
Dtask_manager_mac.mm108 pathForResource:@"TaskManager"
176 TaskManager::GetInstance()->OpenAboutMemory();
545 TaskManagerMac::TaskManagerMac(TaskManager* task_manager,
637 instance_ = new TaskManagerMac(TaskManager::GetInstance(),
/external/chromium/chrome/browser/renderer_host/
Dchrome_render_message_filter.cc118 TaskManager::GetInstance()->model()->NotifyResourceTypeStats( in OnResourceTypeStats()
124 TaskManager::GetInstance()->model()->NotifyV8HeapStats( in OnV8HeapStats()
/external/chromium/chrome/browser/ui/views/
Dtask_manager_view.cc331 TaskManager* task_manager_;
362 task_manager_(TaskManager::GetInstance()), in TaskManagerView()
363 model_(TaskManager::GetInstance()->model()), in TaskManagerView()
/external/chromium/chrome/browser/prefs/
Dbrowser_prefs.cc102 TaskManager::RegisterPrefs(local_state); in RegisterLocalState()
/external/chromium/chrome/browser/prerender/
Dprerender_browsertest.cc204 return TaskManager::GetInstance()->model(); in model()
617 IN_PROC_BROWSER_TEST_F(PrerenderBrowserTest, TaskManager) { in IN_PROC_BROWSER_TEST_F() argument
/external/chromium/chrome/browser/ui/gtk/
Dtask_manager_gtk.h196 TaskManager* task_manager_;
Dtask_manager_gtk.cc317 : task_manager_(TaskManager::GetInstance()), in TaskManagerGtk()
318 model_(TaskManager::GetInstance()->model()), in TaskManagerGtk()
/external/chromium/chrome/browser/
Dapp_controller_mac.mm850 UserMetrics::RecordAction(UserMetricsAction("TaskManager"),