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

Side by Side Diff: components/arc/arc_service_manager.h

Issue 2579083002: Rename OnAppsUpdated to OnIntentFiltersUpdated (Closed)
Patch Set: address comment Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_ARC_ARC_SERVICE_MANAGER_H_ 5 #ifndef COMPONENTS_ARC_ARC_SERVICE_MANAGER_H_
6 #define COMPONENTS_ARC_ARC_SERVICE_MANAGER_H_ 6 #define COMPONENTS_ARC_ARC_SERVICE_MANAGER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 10 matching lines...) Expand all
21 class ArcBridgeService; 21 class ArcBridgeService;
22 class ArcIntentHelperObserver; 22 class ArcIntentHelperObserver;
23 class ArcService; 23 class ArcService;
24 24
25 // Manages creation and destruction of services that communicate with the ARC 25 // Manages creation and destruction of services that communicate with the ARC
26 // instance via the ArcBridgeService. 26 // instance via the ArcBridgeService.
27 class ArcServiceManager { 27 class ArcServiceManager {
28 public: 28 public:
29 class Observer { 29 class Observer {
30 public: 30 public:
31 // Called when app's intent filter is updated. 31 // Called when intent filters are added or removed.
32 virtual void OnAppsUpdated() = 0; 32 virtual void OnIntentFiltersUpdated() = 0;
33 33
34 protected: 34 protected:
35 virtual ~Observer() = default; 35 virtual ~Observer() = default;
36 }; 36 };
37 37
38 explicit ArcServiceManager( 38 explicit ArcServiceManager(
39 scoped_refptr<base::TaskRunner> blocking_task_runner); 39 scoped_refptr<base::TaskRunner> blocking_task_runner);
40 ~ArcServiceManager(); 40 ~ArcServiceManager();
41 41
42 // |arc_bridge_service| can only be accessed on the thread that this 42 // |arc_bridge_service| can only be accessed on the thread that this
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 scoped_refptr<LocalActivityResolver> activity_resolver_; 96 scoped_refptr<LocalActivityResolver> activity_resolver_;
97 97
98 base::ObserverList<Observer> observer_list_; 98 base::ObserverList<Observer> observer_list_;
99 99
100 DISALLOW_COPY_AND_ASSIGN(ArcServiceManager); 100 DISALLOW_COPY_AND_ASSIGN(ArcServiceManager);
101 }; 101 };
102 102
103 } // namespace arc 103 } // namespace arc
104 104
105 #endif // COMPONENTS_ARC_ARC_SERVICE_MANAGER_H_ 105 #endif // COMPONENTS_ARC_ARC_SERVICE_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/extensions/file_manager/event_router.cc ('k') | components/arc/arc_service_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698