Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Unified Diff: chrome/browser/task_manager/task_manager.cc

Issue 63153003: mac: Prepare for -Wunused-functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/storage_monitor/media_storage_util.cc ('k') | chrome/browser/themes/theme_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/task_manager/task_manager.cc
diff --git a/chrome/browser/task_manager/task_manager.cc b/chrome/browser/task_manager/task_manager.cc
index b062ec61444ec07adfed2cc7a063dd7af395347e..ca2f8b582d36e8d7ff385b507221d63c7386928a 100644
--- a/chrome/browser/task_manager/task_manager.cc
+++ b/chrome/browser/task_manager/task_manager.cc
@@ -154,23 +154,6 @@ void GetWinUSERHandles(base::ProcessHandle process,
}
#endif
-// Counts the number of extension background pages associated with this profile.
-int CountExtensionBackgroundPagesForProfile(Profile* profile) {
- int count = 0;
- ExtensionProcessManager* manager =
- extensions::ExtensionSystem::Get(profile)->process_manager();
- if (!manager)
- return count;
-
- const ExtensionProcessManager::ExtensionHostSet& background_hosts =
- manager->background_hosts();
- for (ExtensionProcessManager::const_iterator iter = background_hosts.begin();
- iter != background_hosts.end(); ++iter) {
- ++count;
- }
- return count;
-}
-
} // namespace
class TaskManagerModelGpuDataManagerObserver
« no previous file with comments | « chrome/browser/storage_monitor/media_storage_util.cc ('k') | chrome/browser/themes/theme_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698