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

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

Issue 1572483002: Implement OnGetNetworks for net.mojom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix onc dep, take 2 Created 4 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 "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/threading/thread_checker.h" 10 #include "base/threading/thread_checker.h"
11 #include "components/arc/common/net.mojom.h"
11 #include "components/signin/core/account_id/account_id.h" 12 #include "components/signin/core/account_id/account_id.h"
12 13
13 namespace arc { 14 namespace arc {
14 15
15 class ArcAuthService; 16 class ArcAuthService;
16 class ArcBridgeService; 17 class ArcBridgeService;
17 class ArcClipboardBridge; 18 class ArcClipboardBridge;
18 class ArcImeBridge; 19 class ArcImeBridge;
19 class ArcInputBridge; 20 class ArcInputBridge;
21 class ArcNetHostImpl;
20 class ArcNotificationManager; 22 class ArcNotificationManager;
23 class ArcSettingsBridge;
21 class ArcPowerBridge; 24 class ArcPowerBridge;
22 class ArcSettingsBridge; 25 class ArcSettingsBridge;
23 class ArcVideoBridge; 26 class ArcVideoBridge;
24 27
25 // Manages creation and destruction of services that communicate with the ARC 28 // Manages creation and destruction of services that communicate with the ARC
26 // instance via the ArcBridgeService. 29 // instance via the ArcBridgeService.
27 class ArcServiceManager { 30 class ArcServiceManager {
28 public: 31 public:
29 ArcServiceManager(scoped_ptr<ArcAuthService> auth_service, 32 ArcServiceManager(scoped_ptr<ArcAuthService> auth_service,
30 scoped_ptr<ArcSettingsBridge> settings_bridge, 33 scoped_ptr<ArcSettingsBridge> settings_bridge,
(...skipping 13 matching lines...) Expand all
44 47
45 private: 48 private:
46 base::ThreadChecker thread_checker_; 49 base::ThreadChecker thread_checker_;
47 scoped_ptr<ArcBridgeService> arc_bridge_service_; 50 scoped_ptr<ArcBridgeService> arc_bridge_service_;
48 51
49 // Individual services 52 // Individual services
50 scoped_ptr<ArcAuthService> arc_auth_service_; 53 scoped_ptr<ArcAuthService> arc_auth_service_;
51 scoped_ptr<ArcClipboardBridge> arc_clipboard_bridge_; 54 scoped_ptr<ArcClipboardBridge> arc_clipboard_bridge_;
52 scoped_ptr<ArcImeBridge> arc_ime_bridge_; 55 scoped_ptr<ArcImeBridge> arc_ime_bridge_;
53 scoped_ptr<ArcInputBridge> arc_input_bridge_; 56 scoped_ptr<ArcInputBridge> arc_input_bridge_;
57 scoped_ptr<arc::NetHost> arc_net_host_;
Luis Héctor Chávez 2016/01/19 20:51:58 This is going away soon, but ArcNetHostImpl?
cernekee 2016/01/20 01:37:17 Done.
54 scoped_ptr<ArcNotificationManager> arc_notification_manager_; 58 scoped_ptr<ArcNotificationManager> arc_notification_manager_;
55 scoped_ptr<ArcSettingsBridge> arc_settings_bridge_; 59 scoped_ptr<ArcSettingsBridge> arc_settings_bridge_;
56 scoped_ptr<ArcPowerBridge> arc_power_bridge_; 60 scoped_ptr<ArcPowerBridge> arc_power_bridge_;
57 scoped_ptr<ArcVideoBridge> arc_video_bridge_; 61 scoped_ptr<ArcVideoBridge> arc_video_bridge_;
58 62
59 DISALLOW_COPY_AND_ASSIGN(ArcServiceManager); 63 DISALLOW_COPY_AND_ASSIGN(ArcServiceManager);
60 }; 64 };
61 65
62 } // namespace arc 66 } // namespace arc
63 67
64 #endif // COMPONENTS_ARC_ARC_SERVICE_MANAGER_H_ 68 #endif // COMPONENTS_ARC_ARC_SERVICE_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698