OLD | NEW |
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 #include "chrome/browser/task_manager_resource_providers.h" | 5 #include "chrome/browser/task_manager_resource_providers.h" |
6 | 6 |
| 7 #include "app/l10n_util.h" |
7 #include "app/resource_bundle.h" | 8 #include "app/resource_bundle.h" |
8 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
9 #include "base/file_version_info.h" | 10 #include "base/file_version_info.h" |
10 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
11 #include "base/process_util.h" | 12 #include "base/process_util.h" |
12 #include "base/stl_util-inl.h" | 13 #include "base/stl_util-inl.h" |
13 #include "base/string_util.h" | 14 #include "base/string_util.h" |
14 #include "chrome/app/chrome_dll_resource.h" | 15 #include "chrome/app/chrome_dll_resource.h" |
15 #include "chrome/browser/browser_process.h" | 16 #include "chrome/browser/browser_process.h" |
16 #include "chrome/browser/browser_list.h" | 17 #include "chrome/browser/browser_list.h" |
17 #include "chrome/browser/renderer_host/render_process_host.h" | 18 #include "chrome/browser/renderer_host/render_process_host.h" |
18 #include "chrome/browser/renderer_host/resource_message_filter.h" | 19 #include "chrome/browser/renderer_host/resource_message_filter.h" |
19 #include "chrome/browser/tab_contents/tab_util.h" | 20 #include "chrome/browser/tab_contents/tab_util.h" |
20 #include "chrome/browser/tab_contents/tab_contents.h" | 21 #include "chrome/browser/tab_contents/tab_contents.h" |
21 #include "chrome/common/child_process_host.h" | 22 #include "chrome/common/child_process_host.h" |
22 #include "chrome/common/l10n_util.h" | |
23 #include "chrome/common/notification_service.h" | 23 #include "chrome/common/notification_service.h" |
24 #if defined(OS_WIN) | 24 #if defined(OS_WIN) |
25 #include "chrome/common/gfx/icon_util.h" | 25 #include "chrome/common/gfx/icon_util.h" |
26 #endif // defined(OS_WIN) | 26 #endif // defined(OS_WIN) |
27 #include "grit/generated_resources.h" | 27 #include "grit/generated_resources.h" |
28 #include "grit/theme_resources.h" | 28 #include "grit/theme_resources.h" |
29 | 29 |
30 //////////////////////////////////////////////////////////////////////////////// | 30 //////////////////////////////////////////////////////////////////////////////// |
31 // TaskManagerTabContentsResource class | 31 // TaskManagerTabContentsResource class |
32 //////////////////////////////////////////////////////////////////////////////// | 32 //////////////////////////////////////////////////////////////////////////////// |
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 | 517 |
518 return &resource_; | 518 return &resource_; |
519 } | 519 } |
520 | 520 |
521 void TaskManagerBrowserProcessResourceProvider::StartUpdating() { | 521 void TaskManagerBrowserProcessResourceProvider::StartUpdating() { |
522 task_manager_->AddResource(&resource_); | 522 task_manager_->AddResource(&resource_); |
523 } | 523 } |
524 | 524 |
525 void TaskManagerBrowserProcessResourceProvider::StopUpdating() { | 525 void TaskManagerBrowserProcessResourceProvider::StopUpdating() { |
526 } | 526 } |
OLD | NEW |