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

Unified Diff: chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.cc

Issue 2599673005: arc: Use GET_INTERFACE_FOR_METHOD macro (Closed)
Patch Set: Addressed feedback Created 3 years, 11 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/downloads_watcher/arc_downloads_watcher_service.cc
diff --git a/chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.cc b/chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.cc
index ea12672b39f40ff8159b651790085e0237f2789a..7dfc420450e5c38bb353f392f156670a6b3aef8b 100644
--- a/chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.cc
+++ b/chrome/browser/chromeos/arc/downloads_watcher/arc_downloads_watcher_service.cc
@@ -360,8 +360,8 @@ void ArcDownloadsWatcherService::OnDownloadsChanged(
const std::vector<std::string>& paths) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
- auto* instance = arc_bridge_service()->file_system()->GetInstanceForMethod(
- "RequestMediaScan");
+ auto* instance = ARC_GET_INSTANCE_FOR_METHOD(
+ arc_bridge_service()->file_system(), RequestMediaScan);
if (!instance)
return;
instance->RequestMediaScan(paths);

Powered by Google App Engine
This is Rietveld 408576698