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

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

Issue 1596663002: arc-bridge: Introduce the ArcService class (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Fixed Chrome OS builds 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_ARC_ARC_SERVICE_H_
6 #define COMPONENTS_ARC_ARC_SERVICE_H_
7
8 #include "base/macros.h"
9
10 namespace arc {
11
12 // Abstract class whose lifecycle will be managed by the ArcServiceManager. It
13 // is guaranteed that once the ownership of an ArcService has been transferred
14 // to ArcServiceManager, it will outlive the ArcBridgeService, so it is safe to
15 // keep a weak reference to it.
16 class ArcService {
17 public:
18 ArcService() {}
19 virtual ~ArcService() {}
20
elijahtaylor1 2016/01/20 00:41:19 all of the children of ArcService hold a weak refe
Luis Héctor Chávez 2016/01/20 17:39:59 Made this own the ArcBridgeService*.
21 private:
22 DISALLOW_COPY_AND_ASSIGN(ArcService);
23 };
24
25 } // namespace arc
26
27 #endif // COMPONENTS_ARC_ARC_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698