OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "build/build_config.h" | 7 #include "build/build_config.h" |
8 | 8 |
9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
10 #include "app/resource_bundle.h" | |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "base/file_version_info.h" | 11 #include "base/file_version_info.h" |
13 #include "base/i18n/rtl.h" | 12 #include "base/i18n/rtl.h" |
14 #include "base/process_util.h" | 13 #include "base/process_util.h" |
15 #include "base/stl_util-inl.h" | 14 #include "base/stl_util-inl.h" |
16 #include "base/string_util.h" | 15 #include "base/string_util.h" |
17 #include "base/threading/thread.h" | 16 #include "base/threading/thread.h" |
18 #include "base/utf_string_conversions.h" | 17 #include "base/utf_string_conversions.h" |
19 #include "chrome/app/chrome_command_ids.h" | 18 #include "chrome/app/chrome_command_ids.h" |
20 #include "chrome/browser/background_contents_service.h" | 19 #include "chrome/browser/background_contents_service.h" |
(...skipping 13 matching lines...) Expand all Loading... |
34 #include "chrome/browser/renderer_host/render_view_host.h" | 33 #include "chrome/browser/renderer_host/render_view_host.h" |
35 #include "chrome/browser/tab_contents/background_contents.h" | 34 #include "chrome/browser/tab_contents/background_contents.h" |
36 #include "chrome/browser/tab_contents/tab_contents.h" | 35 #include "chrome/browser/tab_contents/tab_contents.h" |
37 #include "chrome/browser/tab_contents/tab_util.h" | 36 #include "chrome/browser/tab_contents/tab_util.h" |
38 #include "chrome/common/extensions/extension.h" | 37 #include "chrome/common/extensions/extension.h" |
39 #include "chrome/common/notification_service.h" | 38 #include "chrome/common/notification_service.h" |
40 #include "chrome/common/render_messages.h" | 39 #include "chrome/common/render_messages.h" |
41 #include "chrome/common/sqlite_utils.h" | 40 #include "chrome/common/sqlite_utils.h" |
42 #include "grit/generated_resources.h" | 41 #include "grit/generated_resources.h" |
43 #include "grit/theme_resources.h" | 42 #include "grit/theme_resources.h" |
| 43 #include "ui/base/resource/resource_bundle.h" |
44 | 44 |
45 #if defined(OS_MACOSX) | 45 #if defined(OS_MACOSX) |
46 #include "skia/ext/skia_utils_mac.h" | 46 #include "skia/ext/skia_utils_mac.h" |
47 #endif | 47 #endif |
48 #if defined(OS_WIN) | 48 #if defined(OS_WIN) |
49 #include "chrome/browser/app_icon_win.h" | 49 #include "chrome/browser/app_icon_win.h" |
50 #include "gfx/icon_util.h" | 50 #include "gfx/icon_util.h" |
51 #endif // defined(OS_WIN) | 51 #endif // defined(OS_WIN) |
52 | 52 |
53 namespace { | 53 namespace { |
(...skipping 1268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1322 | 1322 |
1323 return &resource_; | 1323 return &resource_; |
1324 } | 1324 } |
1325 | 1325 |
1326 void TaskManagerBrowserProcessResourceProvider::StartUpdating() { | 1326 void TaskManagerBrowserProcessResourceProvider::StartUpdating() { |
1327 task_manager_->AddResource(&resource_); | 1327 task_manager_->AddResource(&resource_); |
1328 } | 1328 } |
1329 | 1329 |
1330 void TaskManagerBrowserProcessResourceProvider::StopUpdating() { | 1330 void TaskManagerBrowserProcessResourceProvider::StopUpdating() { |
1331 } | 1331 } |
OLD | NEW |