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

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: add missing OnNetInstanceReady and CloseNetChannel calls 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 <vector> 8 #include <vector>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/threading/thread_checker.h" 12 #include "base/threading/thread_checker.h"
13 #include "components/arc/common/net.mojom.h"
hidehiko 2016/01/25 16:43:08 nit: please remove this line.
13 #include "components/signin/core/account_id/account_id.h" 14 #include "components/signin/core/account_id/account_id.h"
14 15
15 namespace arc { 16 namespace arc {
16 17
17 class ArcBridgeService; 18 class ArcBridgeService;
18 class ArcService; 19 class ArcService;
19 20
20 // Manages creation and destruction of services that communicate with the ARC 21 // Manages creation and destruction of services that communicate with the ARC
21 // instance via the ArcBridgeService. 22 // instance via the ArcBridgeService.
22 class ArcServiceManager { 23 class ArcServiceManager {
(...skipping 19 matching lines...) Expand all
42 base::ThreadChecker thread_checker_; 43 base::ThreadChecker thread_checker_;
43 scoped_ptr<ArcBridgeService> arc_bridge_service_; 44 scoped_ptr<ArcBridgeService> arc_bridge_service_;
44 std::vector<scoped_ptr<ArcService>> services_; 45 std::vector<scoped_ptr<ArcService>> services_;
45 46
46 DISALLOW_COPY_AND_ASSIGN(ArcServiceManager); 47 DISALLOW_COPY_AND_ASSIGN(ArcServiceManager);
47 }; 48 };
48 49
49 } // namespace arc 50 } // namespace arc
50 51
51 #endif // COMPONENTS_ARC_ARC_SERVICE_MANAGER_H_ 52 #endif // COMPONENTS_ARC_ARC_SERVICE_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698