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

Unified Diff: components/arc/intent_helper/arc_intent_helper_bridge.h

Issue 2357053002: Always use arc::InstanceHolder<T>::GetInstanceForMethod (Closed)
Patch Set: rebase, no code change Created 4 years, 3 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: 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 bec787cb7b3fd1e714170d0d88ca51f09ba3a351..fbc2f922e2a05eaba11274651823a11b21c49942 100644
--- a/components/arc/intent_helper/arc_intent_helper_bridge.h
+++ b/components/arc/intent_helper/arc_intent_helper_bridge.h
@@ -79,12 +79,14 @@ class ArcIntentHelperBridge
// 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(
- int min_instance_version,
+ 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(
- int min_instance_version);
+ const std::string& method_name_for_logging,
+ uint32_t min_instance_version);
private:
mojo::Binding<mojom::IntentHelperHost> binding_;
« no previous file with comments | « components/arc/intent_helper/activity_icon_loader.cc ('k') | components/arc/intent_helper/arc_intent_helper_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698