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

Unified Diff: chrome/browser/chromeos/file_manager/arc_file_tasks.cc

Issue 2392253003: arc: Stop calling HandleUrlListDeprecated. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698