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

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

Issue 2580303002: mediaview: Mount ARC documents provider file system volumes. (Closed)
Patch Set: Use the generic service getter. 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 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 <string> 9 #include <string>
10 #include <type_traits> 10 #include <type_traits>
11 #include <unordered_map> 11 #include <unordered_map>
12 #include <utility> 12 #include <utility>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
17 #include "base/task_runner.h" 17 #include "base/task_runner.h"
18 #include "base/threading/thread_checker.h" 18 #include "base/threading/thread_checker.h"
19 #include "components/arc/intent_helper/activity_icon_loader.h" 19 #include "components/arc/intent_helper/activity_icon_loader.h"
20 #include "components/arc/intent_helper/local_activity_resolver.h" 20 #include "components/arc/intent_helper/local_activity_resolver.h"
21 21
22 namespace arc { 22 namespace arc {
23 23
24 class ArcBridgeService; 24 class ArcBridgeService;
25 class ArcFileSystemService;
25 class ArcService; 26 class ArcService;
26 27
27 namespace internal { 28 namespace internal {
28 29
29 // If an ArcService is declared with a name, e.g.: 30 // If an ArcService is declared with a name, e.g.:
30 // 31 //
31 // class MyArcService : public ArcService { 32 // class MyArcService : public ArcService {
32 // public: 33 // public:
33 // static const char kArcServiceName[]; 34 // static const char kArcServiceName[];
34 // ... 35 // ...
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 std::unordered_multimap<std::string, std::unique_ptr<ArcService>> services_; 131 std::unordered_multimap<std::string, std::unique_ptr<ArcService>> services_;
131 scoped_refptr<ActivityIconLoader> icon_loader_; 132 scoped_refptr<ActivityIconLoader> icon_loader_;
132 scoped_refptr<LocalActivityResolver> activity_resolver_; 133 scoped_refptr<LocalActivityResolver> activity_resolver_;
133 134
134 DISALLOW_COPY_AND_ASSIGN(ArcServiceManager); 135 DISALLOW_COPY_AND_ASSIGN(ArcServiceManager);
135 }; 136 };
136 137
137 } // namespace arc 138 } // namespace arc
138 139
139 #endif // COMPONENTS_ARC_ARC_SERVICE_MANAGER_H_ 140 #endif // COMPONENTS_ARC_ARC_SERVICE_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698