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

Unified Diff: components/arc/intent_helper/activity_icon_loader.cc

Issue 2133503002: arc: Revamp the ArcBridgeService interface (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: More rebasing Created 4 years, 5 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 | « components/arc/instance_holder.h ('k') | components/arc/intent_helper/arc_intent_helper_bridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/intent_helper/activity_icon_loader.cc
diff --git a/components/arc/intent_helper/activity_icon_loader.cc b/components/arc/intent_helper/activity_icon_loader.cc
index 8a24fe16a7338d5b93f017ff1c5e974711b5e1d8..5248f7599cbedd87481969690379fe367be47da2 100644
--- a/components/arc/intent_helper/activity_icon_loader.cc
+++ b/components/arc/intent_helper/activity_icon_loader.cc
@@ -37,13 +37,13 @@ mojom::IntentHelperInstance* GetIntentHelperInstance(
return nullptr;
}
mojom::IntentHelperInstance* intent_helper_instance =
- bridge_service->intent_helper_instance();
+ bridge_service->intent_helper()->instance();
if (!intent_helper_instance) {
VLOG(2) << "ARC intent helper instance is not ready.";
*out_error_code = ActivityIconLoader::GetResult::FAILED_ARC_NOT_READY;
return nullptr;
}
- if (bridge_service->intent_helper_version() < kMinInstanceVersion) {
+ if (bridge_service->intent_helper()->version() < kMinInstanceVersion) {
VLOG(1) << "ARC intent helper instance is too old.";
*out_error_code = ActivityIconLoader::GetResult::FAILED_ARC_NOT_SUPPORTED;
return nullptr;
« no previous file with comments | « components/arc/instance_holder.h ('k') | components/arc/intent_helper/arc_intent_helper_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698