| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "chrome/browser/task_manager/task_manager_resource_providers.h" | 5 #include "chrome/browser/task_manager/task_manager_resource_providers.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 #include "chrome/browser/tab_contents/tab_util.h" | 35 #include "chrome/browser/tab_contents/tab_util.h" |
| 36 #include "chrome/browser/ui/browser_list.h" | 36 #include "chrome/browser/ui/browser_list.h" |
| 37 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" | 37 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
| 38 #include "chrome/common/chrome_notification_types.h" | 38 #include "chrome/common/chrome_notification_types.h" |
| 39 #include "chrome/common/chrome_switches.h" | 39 #include "chrome/common/chrome_switches.h" |
| 40 #include "chrome/common/chrome_view_type.h" | 40 #include "chrome/common/chrome_view_type.h" |
| 41 #include "chrome/common/extensions/extension.h" | 41 #include "chrome/common/extensions/extension.h" |
| 42 #include "chrome/common/render_messages.h" | 42 #include "chrome/common/render_messages.h" |
| 43 #include "chrome/common/url_constants.h" | 43 #include "chrome/common/url_constants.h" |
| 44 #include "content/browser/browser_child_process_host.h" | 44 #include "content/browser/browser_child_process_host.h" |
| 45 #include "content/browser/renderer_host/render_message_filter.h" | |
| 46 #include "content/browser/renderer_host/render_view_host.h" | 45 #include "content/browser/renderer_host/render_view_host.h" |
| 47 #include "content/public/browser/browser_thread.h" | 46 #include "content/public/browser/browser_thread.h" |
| 48 #include "content/public/browser/notification_service.h" | 47 #include "content/public/browser/notification_service.h" |
| 49 #include "content/public/browser/render_process_host.h" | 48 #include "content/public/browser/render_process_host.h" |
| 50 #include "content/public/browser/web_contents.h" | 49 #include "content/public/browser/web_contents.h" |
| 51 #include "content/public/common/process_type.h" | 50 #include "content/public/common/process_type.h" |
| 52 #include "grit/generated_resources.h" | 51 #include "grit/generated_resources.h" |
| 53 #include "grit/theme_resources.h" | 52 #include "grit/theme_resources.h" |
| 54 #include "grit/theme_resources_standard.h" | 53 #include "grit/theme_resources_standard.h" |
| 55 #include "third_party/sqlite/sqlite3.h" | 54 #include "third_party/sqlite/sqlite3.h" |
| (...skipping 1385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1441 | 1440 |
| 1442 return &resource_; | 1441 return &resource_; |
| 1443 } | 1442 } |
| 1444 | 1443 |
| 1445 void TaskManagerBrowserProcessResourceProvider::StartUpdating() { | 1444 void TaskManagerBrowserProcessResourceProvider::StartUpdating() { |
| 1446 task_manager_->AddResource(&resource_); | 1445 task_manager_->AddResource(&resource_); |
| 1447 } | 1446 } |
| 1448 | 1447 |
| 1449 void TaskManagerBrowserProcessResourceProvider::StopUpdating() { | 1448 void TaskManagerBrowserProcessResourceProvider::StopUpdating() { |
| 1450 } | 1449 } |
| OLD | NEW |