OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/bind.h" | 7 #include "base/bind.h" |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/i18n/number_formatting.h" | 9 #include "base/i18n/number_formatting.h" |
10 #include "base/i18n/rtl.h" | 10 #include "base/i18n/rtl.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 #include "chrome/common/view_type.h" | 32 #include "chrome/common/view_type.h" |
33 #include "content/public/browser/browser_child_process_host.h" | 33 #include "content/public/browser/browser_child_process_host.h" |
34 #include "content/public/browser/browser_thread.h" | 34 #include "content/public/browser/browser_thread.h" |
35 #include "content/public/browser/render_view_host.h" | 35 #include "content/public/browser/render_view_host.h" |
36 #include "content/public/browser/resource_request_info.h" | 36 #include "content/public/browser/resource_request_info.h" |
37 #include "content/public/browser/web_contents.h" | 37 #include "content/public/browser/web_contents.h" |
38 #include "content/public/browser/web_contents_delegate.h" | 38 #include "content/public/browser/web_contents_delegate.h" |
39 #include "content/public/common/result_codes.h" | 39 #include "content/public/common/result_codes.h" |
40 #include "grit/chromium_strings.h" | 40 #include "grit/chromium_strings.h" |
41 #include "grit/generated_resources.h" | 41 #include "grit/generated_resources.h" |
42 #include "grit/ui_resources.h" | 42 #include "grit/ui_resources_standard.h" |
43 #include "ui/base/l10n/l10n_util.h" | 43 #include "ui/base/l10n/l10n_util.h" |
44 #include "ui/base/resource/resource_bundle.h" | 44 #include "ui/base/resource/resource_bundle.h" |
45 #include "ui/base/text/bytes_formatting.h" | 45 #include "ui/base/text/bytes_formatting.h" |
46 #include "ui/gfx/image/image_skia.h" | 46 #include "ui/gfx/image/image_skia.h" |
47 #include "unicode/coll.h" | 47 #include "unicode/coll.h" |
48 | 48 |
49 using content::BrowserThread; | 49 using content::BrowserThread; |
50 using content::OpenURLParams; | 50 using content::OpenURLParams; |
51 using content::Referrer; | 51 using content::Referrer; |
52 using content::ResourceRequestInfo; | 52 using content::ResourceRequestInfo; |
(...skipping 1140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1193 // Count the number of extensions with background pages (including | 1193 // Count the number of extensions with background pages (including |
1194 // incognito). | 1194 // incognito). |
1195 count += CountExtensionBackgroundPagesForProfile(profile); | 1195 count += CountExtensionBackgroundPagesForProfile(profile); |
1196 if (profile->HasOffTheRecordProfile()) { | 1196 if (profile->HasOffTheRecordProfile()) { |
1197 count += CountExtensionBackgroundPagesForProfile( | 1197 count += CountExtensionBackgroundPagesForProfile( |
1198 profile->GetOffTheRecordProfile()); | 1198 profile->GetOffTheRecordProfile()); |
1199 } | 1199 } |
1200 } | 1200 } |
1201 return count; | 1201 return count; |
1202 } | 1202 } |
OLD | NEW |