OLD | NEW |
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 SERVICES_REAPER_REAPER_IMPL_H_ | 5 #ifndef SERVICES_REAPER_REAPER_IMPL_H_ |
6 #define SERVICES_REAPER_REAPER_IMPL_H_ | 6 #define SERVICES_REAPER_REAPER_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 namespace reaper { | 26 namespace reaper { |
27 | 27 |
28 class ReaperImpl : public Diagnostics, | 28 class ReaperImpl : public Diagnostics, |
29 public mojo::ApplicationDelegate, | 29 public mojo::ApplicationDelegate, |
30 public mojo::InterfaceFactory<Reaper>, | 30 public mojo::InterfaceFactory<Reaper>, |
31 public mojo::InterfaceFactory<Diagnostics> { | 31 public mojo::InterfaceFactory<Diagnostics> { |
32 public: | 32 public: |
33 typedef uint64 AppSecret; | 33 typedef uint64 AppSecret; |
34 | 34 |
35 ReaperImpl(); | 35 ReaperImpl(); |
36 ~ReaperImpl(); | 36 ~ReaperImpl() override; |
37 | 37 |
38 void GetApplicationSecret(const GURL& caller_app, | 38 void GetApplicationSecret(const GURL& caller_app, |
39 const mojo::Callback<void(AppSecret)>&); | 39 const mojo::Callback<void(AppSecret)>&); |
40 void CreateReference(const GURL& caller_app, | 40 void CreateReference(const GURL& caller_app, |
41 uint32 source_node_id, | 41 uint32 source_node_id, |
42 uint32 target_node_id); | 42 uint32 target_node_id); |
43 void DropNode(const GURL& caller_app, uint32 node); | 43 void DropNode(const GURL& caller_app, uint32 node); |
44 void StartTransfer(const GURL& caller_app, | 44 void StartTransfer(const GURL& caller_app, |
45 uint32 node, | 45 uint32 node, |
46 mojo::InterfaceRequest<Transfer> request); | 46 mojo::InterfaceRequest<Transfer> request); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 102 |
103 std::set<InternedURL> roots_; | 103 std::set<InternedURL> roots_; |
104 ScythePtr scythe_; | 104 ScythePtr scythe_; |
105 | 105 |
106 DISALLOW_COPY_AND_ASSIGN(ReaperImpl); | 106 DISALLOW_COPY_AND_ASSIGN(ReaperImpl); |
107 }; | 107 }; |
108 | 108 |
109 #endif // SERVICES_REAPER_REAPER_IMPL_H_ | 109 #endif // SERVICES_REAPER_REAPER_IMPL_H_ |
110 | 110 |
111 } // namespace reaper | 111 } // namespace reaper |
OLD | NEW |