support-tool: Create DataCollector interface
Create DataCollector interface and one example implementation class,
UiHierarchyDataCollector. Create SupportToolHandler class which will
contain the list of DataCollectors and will run the functions of
DataCollectors. Add support_tool_util.cc, which will contain the
function to create SupportToolHandler and add required DataCollectors to
it, based on the data collection module requested by the user. For now,
it only creates a SupportToolHandler for Chrome OS and adds one data
collector in it. The functions are empty for now, and will be filled in
next CL. This CL only declared the function names and defined the
general workflow of the Support Tool.
For more context please see: go/support-tool-v1-design
Bug: b:200510719
Test: None for now.
Change-Id: Ia3f35262d567b82cfced96369df5c4545c8fef9e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3197152
Reviewed-by: Pavol Marko <[email protected]>
Reviewed-by: David Roger <[email protected]>
Commit-Queue: Irem Uğuz <[email protected]>
Cr-Commit-Position: refs/heads/main@{#931917}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index b305b96e..937d7d4f9 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -1739,6 +1739,13 @@
"subresource_redirect/subresource_redirect_observer.h",
"subresource_redirect/subresource_redirect_util.cc",
"subresource_redirect/subresource_redirect_util.h",
+ "support_tool/data_collector.h",
+ "support_tool/support_tool_handler.cc",
+ "support_tool/support_tool_handler.h",
+ "support_tool/support_tool_util.cc",
+ "support_tool/support_tool_util.h",
+ "support_tool/ui_hierarchy_data_collector.cc",
+ "support_tool/ui_hierarchy_data_collector.h",
"sync/bookmark_sync_service_factory.cc",
"sync/bookmark_sync_service_factory.h",
"sync/chrome_sync_client.cc",