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

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

Issue 1925183004: arc_bridge: Add more logging, plus cleanup (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Added missing include Created 4 years, 7 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_BRIDGE_SERVICE_IMPL_H_ 5 #ifndef COMPONENTS_ARC_ARC_BRIDGE_SERVICE_IMPL_H_
6 #define COMPONENTS_ARC_ARC_BRIDGE_SERVICE_IMPL_H_ 6 #define COMPONENTS_ARC_ARC_BRIDGE_SERVICE_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 10 matching lines...) Expand all
21 class SingleThreadTaskRunner; 21 class SingleThreadTaskRunner;
22 } // namespace base 22 } // namespace base
23 23
24 namespace arc { 24 namespace arc {
25 25
26 // Real IPC based ArcBridgeService that is used in production. 26 // Real IPC based ArcBridgeService that is used in production.
27 class ArcBridgeServiceImpl : public ArcBridgeService, 27 class ArcBridgeServiceImpl : public ArcBridgeService,
28 public ArcBridgeBootstrap::Delegate { 28 public ArcBridgeBootstrap::Delegate {
29 public: 29 public:
30 explicit ArcBridgeServiceImpl(std::unique_ptr<ArcBridgeBootstrap> bootstrap); 30 explicit ArcBridgeServiceImpl(std::unique_ptr<ArcBridgeBootstrap> bootstrap);
31 ~ArcBridgeServiceImpl() override; 31 ~ArcBridgeServiceImpl() override = default;
Yusuke Sato 2016/04/29 00:28:41 Please move '= default' to the .cc side. Try jobs
Luis Héctor Chávez 2016/04/29 20:23:15 Done.
32 32
33 void SetDetectedAvailability(bool available) override; 33 void SetDetectedAvailability(bool available) override;
34 34
35 void HandleStartup() override; 35 void HandleStartup() override;
36 36
37 void Shutdown() override; 37 void Shutdown() override;
38 38
39 private: 39 private:
40 friend class ArcBridgeTest; 40 friend class ArcBridgeTest;
41 FRIEND_TEST_ALL_PREFIXES(ArcBridgeTest, Restart); 41 FRIEND_TEST_ALL_PREFIXES(ArcBridgeTest, Restart);
(...skipping 29 matching lines...) Expand all
71 71
72 // WeakPtrFactory to use callbacks. 72 // WeakPtrFactory to use callbacks.
73 base::WeakPtrFactory<ArcBridgeServiceImpl> weak_factory_; 73 base::WeakPtrFactory<ArcBridgeServiceImpl> weak_factory_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(ArcBridgeServiceImpl); 75 DISALLOW_COPY_AND_ASSIGN(ArcBridgeServiceImpl);
76 }; 76 };
77 77
78 } // namespace arc 78 } // namespace arc
79 79
80 #endif // COMPONENTS_ARC_ARC_BRIDGE_SERVICE_IMPL_H_ 80 #endif // COMPONENTS_ARC_ARC_BRIDGE_SERVICE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698