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.h" | 5 #include "chrome/browser/task_manager/task_manager.h" |
6 | 6 |
7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 #include "base/i18n/number_formatting.h" | 8 #include "base/i18n/number_formatting.h" |
9 #include "base/i18n/rtl.h" | 9 #include "base/i18n/rtl.h" |
10 #include "base/process_util.h" | 10 #include "base/process_util.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "chrome/browser/ui/browser_window.h" | 24 #include "chrome/browser/ui/browser_window.h" |
25 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" | 25 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
26 #include "chrome/common/pref_names.h" | 26 #include "chrome/common/pref_names.h" |
27 #include "chrome/common/url_constants.h" | 27 #include "chrome/common/url_constants.h" |
28 #include "chrome/common/chrome_view_types.h" | 28 #include "chrome/common/chrome_view_types.h" |
29 #include "content/browser/browser_thread.h" | 29 #include "content/browser/browser_thread.h" |
30 #include "content/browser/renderer_host/render_process_host.h" | 30 #include "content/browser/renderer_host/render_process_host.h" |
31 #include "content/browser/renderer_host/resource_dispatcher_host.h" | 31 #include "content/browser/renderer_host/resource_dispatcher_host.h" |
32 #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h" | 32 #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h" |
33 #include "content/browser/tab_contents/tab_contents.h" | 33 #include "content/browser/tab_contents/tab_contents.h" |
34 #include "content/common/result_codes.h" | 34 #include "content/public/common/result_codes.h" |
35 #include "grit/chromium_strings.h" | 35 #include "grit/chromium_strings.h" |
36 #include "grit/generated_resources.h" | 36 #include "grit/generated_resources.h" |
37 #include "grit/ui_resources.h" | 37 #include "grit/ui_resources.h" |
38 #include "ui/base/l10n/l10n_util.h" | 38 #include "ui/base/l10n/l10n_util.h" |
39 #include "ui/base/resource/resource_bundle.h" | 39 #include "ui/base/resource/resource_bundle.h" |
40 #include "ui/base/text/bytes_formatting.h" | 40 #include "ui/base/text/bytes_formatting.h" |
41 #include "unicode/coll.h" | 41 #include "unicode/coll.h" |
42 | 42 |
43 #if defined(OS_MACOSX) | 43 #if defined(OS_MACOSX) |
44 #include "content/browser/mach_broker_mac.h" | 44 #include "content/browser/mach_broker_mac.h" |
(...skipping 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1119 // Count the number of extensions with background pages (including | 1119 // Count the number of extensions with background pages (including |
1120 // incognito). | 1120 // incognito). |
1121 count += CountExtensionBackgroundPagesForProfile(profile); | 1121 count += CountExtensionBackgroundPagesForProfile(profile); |
1122 if (profile->HasOffTheRecordProfile()) { | 1122 if (profile->HasOffTheRecordProfile()) { |
1123 count += CountExtensionBackgroundPagesForProfile( | 1123 count += CountExtensionBackgroundPagesForProfile( |
1124 profile->GetOffTheRecordProfile()); | 1124 profile->GetOffTheRecordProfile()); |
1125 } | 1125 } |
1126 } | 1126 } |
1127 return count; | 1127 return count; |
1128 } | 1128 } |
OLD | NEW |