Wire up copy and move events to chromeos::FileChangeService.
This is part two of a series of CLs that will expose file change events
to observers of a new browser context keyed service.
In this CL, the new service is notified of copy and move events
originating from Chrome OS specific file system operations which are
created by the Chrome OS file system backend.
This involved creation of a new chromeos::FileSystemOperation class
serving as a thin extension to the default file system operation impl.
This thin extension allows changes to storage// code to be minimal.
Additional file change events will be wired up in a follow up CL
following the same pattern.
Design: http://shortn/_xrD1GHuIf1
Bug: 1136173
Change-Id: I9b906b309a1fd6b3d3f5b189c683ae6ffdd65f38
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2551636
Commit-Queue: David Black <[email protected]>
Reviewed-by: Toni Baržić <[email protected]>
Reviewed-by: Scott Violet <[email protected]>
Reviewed-by: Marijn Kruisselbrink <[email protected]>
Reviewed-by: Sergei Datsenko <[email protected]>
Cr-Commit-Position: refs/heads/master@{#835046}
diff --git a/chrome/browser/platform_util_unittest.cc b/chrome/browser/platform_util_unittest.cc
index 6b81370..b093629 100644
--- a/chrome/browser/platform_util_unittest.cc
+++ b/chrome/browser/platform_util_unittest.cc
@@ -59,7 +59,13 @@
// New FileSystemBackend that uses our MockSpecialStoragePolicy.
additional_backends->push_back(
std::make_unique<chromeos::FileSystemBackend>(
- nullptr, nullptr, nullptr, nullptr, nullptr, nullptr,
+ nullptr, // profile
+ nullptr, // file_system_provider_delegate
+ nullptr, // mtp_delegate
+ nullptr, // arc_content_delegate
+ nullptr, // arc_documents_provider_delegate
+ nullptr, // drivefs_delegate
+ nullptr, // smbfs_delegate
external_mount_points,
storage::ExternalMountPoints::GetSystemInstance()));
}