Index: chrome/browser/chromeos/file_manager/arc_file_tasks.cc |
diff --git a/chrome/browser/chromeos/file_manager/arc_file_tasks.cc b/chrome/browser/chromeos/file_manager/arc_file_tasks.cc |
index 1f9ae8c6630e6a28f485f4d317fc3828b50de193..4ed9976320a66526a78863a9e3237ec1268bc220 100644 |
--- a/chrome/browser/chromeos/file_manager/arc_file_tasks.cc |
+++ b/chrome/browser/chromeos/file_manager/arc_file_tasks.cc |
@@ -317,8 +317,8 @@ bool ExecuteArcTask(Profile* profile, |
DCHECK_EQ(file_urls.size(), mime_types.size()); |
arc::mojom::IntentHelperInstance* const arc_intent_helper = |
- GetArcIntentHelper(profile, "HandleUrlListDeprecated", |
- kArcIntentHelperVersionWithUrlListSupport); |
+ GetArcIntentHelper(profile, "HandleUrlList", |
+ kArcIntentHelperVersionWithFullActivityName); |
if (!arc_intent_helper) |
return false; |
@@ -337,16 +337,9 @@ bool ExecuteArcTask(Profile* profile, |
urls.push_back(std::move(url_with_type)); |
} |
- if (GetArcIntentHelper(profile, "HandleUrlList", |
- kArcIntentHelperVersionWithFullActivityName)) { |
- arc_intent_helper->HandleUrlList(std::move(urls), |
- AppIdToActivityName(task.app_id), |
- StringToArcActionType(task.action_id)); |
- } else { |
- arc_intent_helper->HandleUrlListDeprecated( |
- std::move(urls), AppIdToActivityName(task.app_id)->package_name, |
- StringToArcActionType(task.action_id)); |
- } |
+ arc_intent_helper->HandleUrlList(std::move(urls), |
+ AppIdToActivityName(task.app_id), |
+ StringToArcActionType(task.action_id)); |
return true; |
} |