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

Unified Diff: chrome/browser/chromeos/arc/arc_navigation_throttle.cc

Issue 2133503002: arc: Revamp the ArcBridgeService interface (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Fix ui_arc_unittests 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
Index: chrome/browser/chromeos/arc/arc_navigation_throttle.cc
diff --git a/chrome/browser/chromeos/arc/arc_navigation_throttle.cc b/chrome/browser/chromeos/arc/arc_navigation_throttle.cc
index 2fd1e00c838cffb3b4b5c7c84a34aa6e23ff06ea..22efdf32f37caaf61152c4d4429a538fec40a62b 100644
--- a/chrome/browser/chromeos/arc/arc_navigation_throttle.cc
+++ b/chrome/browser/chromeos/arc/arc_navigation_throttle.cc
@@ -37,12 +37,12 @@ mojom::IntentHelperInstance* GetIntentHelper() {
return nullptr;
}
mojom::IntentHelperInstance* intent_helper_instance =
- bridge_service->intent_helper_instance();
+ bridge_service->intent_helper()->instance();
if (!intent_helper_instance) {
VLOG(1) << "ARC intent helper instance is 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.";
return nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698