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

Unified Diff: chrome/browser/chromeos/arc/arc_downloads_watcher_service.h

Issue 2304523002: arc: Fix thread unsafe behavior of ArcDownloadsWatcherService (Closed)
Patch Set: Less busy UI thread Created 4 years, 3 months 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
Index: chrome/browser/chromeos/arc/arc_downloads_watcher_service.h
diff --git a/chrome/browser/chromeos/arc/arc_downloads_watcher_service.h b/chrome/browser/chromeos/arc/arc_downloads_watcher_service.h
index 598fc42d57ca34a2a7e86df9d4a1f790e70aeab8..b63f1743aa0c83452e5cce99bc2b1a6956132ff2 100644
--- a/chrome/browser/chromeos/arc/arc_downloads_watcher_service.h
+++ b/chrome/browser/chromeos/arc/arc_downloads_watcher_service.h
@@ -39,7 +39,7 @@ class ArcDownloadsWatcherService
void StartWatchingDownloads();
void StopWatchingDownloads();
- void OnDownloadsChanged(const std::vector<base::FilePath>& paths);
+ void OnDownloadsChanged(std::unique_ptr<mojo::Array<mojo::String>> paths);
std::unique_ptr<DownloadsWatcher> watcher_;

Powered by Google App Engine
This is Rietveld 408576698