Index: components/arc/intent_helper/arc_intent_helper_bridge.h |
diff --git a/components/arc/intent_helper/arc_intent_helper_bridge.h b/components/arc/intent_helper/arc_intent_helper_bridge.h |
index 64eb02329292ac6722e2ee4e1e318b17457a0032..75219f49920c8ba70ce31625b9f6febe22d7be44 100644 |
--- a/components/arc/intent_helper/arc_intent_helper_bridge.h |
+++ b/components/arc/intent_helper/arc_intent_helper_bridge.h |
@@ -82,17 +82,9 @@ class ArcIntentHelperBridge |
static std::vector<mojom::IntentHandlerInfoPtr> FilterOutIntentHelper( |
std::vector<mojom::IntentHandlerInfoPtr> handlers); |
- // Gets the mojo instance if it's available. On failure, returns nullptr and |
- // updates |out_error_code| if it's not nullptr. |
- static mojom::IntentHelperInstance* GetIntentHelperInstanceWithErrorCode( |
- const std::string& method_name_for_logging, |
- uint32_t min_instance_version, |
- GetResult* out_error_code); |
- |
- // Does the same as above without asking for the error code. |
- static mojom::IntentHelperInstance* GetIntentHelperInstance( |
- const std::string& method_name_for_logging, |
- uint32_t min_instance_version); |
+ // Checks if the intent helper interface is available. When it is not, returns |
+ // false and updates |out_error_code| if it's not nullptr. |
+ static bool IsIntentHelperAvailable(GetResult* out_error_code); |
static const char kArcIntentHelperPackageName[]; |