| 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/file_version_info.h" | 10 #include "base/file_version_info.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "chrome/browser/profiles/profile_manager.h" | 30 #include "chrome/browser/profiles/profile_manager.h" |
| 31 #include "chrome/browser/tab_contents/background_contents.h" | 31 #include "chrome/browser/tab_contents/background_contents.h" |
| 32 #include "chrome/browser/tab_contents/tab_util.h" | 32 #include "chrome/browser/tab_contents/tab_util.h" |
| 33 #include "chrome/browser/ui/browser_list.h" | 33 #include "chrome/browser/ui/browser_list.h" |
| 34 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" | 34 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
| 35 #include "chrome/common/chrome_notification_types.h" | 35 #include "chrome/common/chrome_notification_types.h" |
| 36 #include "chrome/common/chrome_switches.h" | 36 #include "chrome/common/chrome_switches.h" |
| 37 #include "chrome/common/extensions/extension.h" | 37 #include "chrome/common/extensions/extension.h" |
| 38 #include "chrome/common/render_messages.h" | 38 #include "chrome/common/render_messages.h" |
| 39 #include "chrome/common/chrome_view_types.h" | 39 #include "chrome/common/chrome_view_types.h" |
| 40 #include "chrome/common/url_constants.h" |
| 40 #include "content/browser/browser_child_process_host.h" | 41 #include "content/browser/browser_child_process_host.h" |
| 41 #include "content/browser/browser_thread.h" | 42 #include "content/browser/browser_thread.h" |
| 42 #include "content/browser/renderer_host/render_message_filter.h" | 43 #include "content/browser/renderer_host/render_message_filter.h" |
| 43 #include "content/browser/renderer_host/render_process_host.h" | 44 #include "content/browser/renderer_host/render_process_host.h" |
| 44 #include "content/browser/renderer_host/render_view_host.h" | 45 #include "content/browser/renderer_host/render_view_host.h" |
| 45 #include "content/browser/tab_contents/tab_contents.h" | 46 #include "content/browser/tab_contents/tab_contents.h" |
| 46 #include "content/common/notification_service.h" | 47 #include "content/common/notification_service.h" |
| 47 #include "content/common/url_constants.h" | |
| 48 #include "grit/generated_resources.h" | 48 #include "grit/generated_resources.h" |
| 49 #include "grit/theme_resources.h" | 49 #include "grit/theme_resources.h" |
| 50 #include "grit/theme_resources_standard.h" | 50 #include "grit/theme_resources_standard.h" |
| 51 #include "third_party/sqlite/sqlite3.h" | 51 #include "third_party/sqlite/sqlite3.h" |
| 52 #include "ui/base/l10n/l10n_util.h" | 52 #include "ui/base/l10n/l10n_util.h" |
| 53 #include "ui/base/resource/resource_bundle.h" | 53 #include "ui/base/resource/resource_bundle.h" |
| 54 #include "v8/include/v8.h" | 54 #include "v8/include/v8.h" |
| 55 | 55 |
| 56 #if defined(OS_MACOSX) | 56 #if defined(OS_MACOSX) |
| 57 #include "skia/ext/skia_utils_mac.h" | 57 #include "skia/ext/skia_utils_mac.h" |
| (...skipping 1296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1354 | 1354 |
| 1355 return &resource_; | 1355 return &resource_; |
| 1356 } | 1356 } |
| 1357 | 1357 |
| 1358 void TaskManagerBrowserProcessResourceProvider::StartUpdating() { | 1358 void TaskManagerBrowserProcessResourceProvider::StartUpdating() { |
| 1359 task_manager_->AddResource(&resource_); | 1359 task_manager_->AddResource(&resource_); |
| 1360 } | 1360 } |
| 1361 | 1361 |
| 1362 void TaskManagerBrowserProcessResourceProvider::StopUpdating() { | 1362 void TaskManagerBrowserProcessResourceProvider::StopUpdating() { |
| 1363 } | 1363 } |
| OLD | NEW |