Migrate ProcessesEventRouter to the new task manager
This CL migrates the dependency of the ProcessesAPIs to the new task manager
implementation.
The API of the process info has been fixed, since processes don't have titles, instead we added a list of tasks running in that process, with their titles and optional tab IDs.
BUG=525201,591581
TEST=browser_tests --gtest_filter=ProcessesApiTest.*
Review URL: https://codereview.chromium.org/1584473004
Cr-Commit-Position: refs/heads/master@{#380696}
diff --git a/chrome/browser/extensions/BUILD.gn b/chrome/browser/extensions/BUILD.gn
index 7c93c82..a512418 100644
--- a/chrome/browser/extensions/BUILD.gn
+++ b/chrome/browser/extensions/BUILD.gn
@@ -85,6 +85,13 @@
"//url",
]
+ if (enable_task_manager) {
+ sources += rebase_path(
+ gypi_values.chrome_browser_extensions_task_manager_enabled_sources,
+ ".",
+ "//chrome")
+ }
+
if (is_chromeos) {
sources +=
rebase_path(gypi_values.chrome_browser_extensions_chromeos_sources,