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

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

Issue 2623273003: arc: Remove ArcServiceManager::Observer (Closed)
Patch Set: fix tests, review Created 3 years, 11 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 75219f49920c8ba70ce31625b9f6febe22d7be44..d21a4e88819be298e30d58a46fe1d5b84689e3b5 100644
--- a/components/arc/intent_helper/arc_intent_helper_bridge.h
+++ b/components/arc/intent_helper/arc_intent_helper_bridge.h
@@ -30,6 +30,7 @@ namespace arc {
class ActivityIconLoader;
class ArcBridgeService;
+class ArcServiceManager;
class IntentFilter;
class LocalActivityResolver;
@@ -86,6 +87,13 @@ class ArcIntentHelperBridge
// false and updates |out_error_code| if it's not nullptr.
static bool IsIntentHelperAvailable(GetResult* out_error_code);
+ // Gets an ArcIntentHelperBridge instance in |service_manager|. Returns
Luis Héctor Chávez 2017/01/12 00:21:13 nit: Gets the ArcIntentHelperBridge...
Yusuke Sato 2017/01/12 00:30:56 Done (PS#4 doesn't have the function)
+ // nullptr if none found.
+ static ArcIntentHelperBridge* Get(ArcServiceManager* service_manager);
+
+ // For supporting ArcServiceManager::GetService<T>().
+ static const char kArcServiceName[];
+
static const char kArcIntentHelperPackageName[];
private:

Powered by Google App Engine
This is Rietveld 408576698