OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 CHROME_BROWSER_CHROMEOS_ARC_ARC_PROCESS_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_PROCESS_ARC_PROCESS_SERVICE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_PROCESS_SERVICE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_ARC_PROCESS_ARC_PROCESS_SERVICE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/process/process_iterator.h" | 15 #include "base/process/process_iterator.h" |
16 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
17 #include "base/threading/thread.h" | 17 #include "base/threading/thread.h" |
18 #include "chrome/browser/chromeos/arc/arc_process.h" | 18 #include "chrome/browser/chromeos/arc/process/arc_process.h" |
19 #include "components/arc/arc_service.h" | 19 #include "components/arc/arc_service.h" |
20 #include "components/arc/common/process.mojom.h" | 20 #include "components/arc/common/process.mojom.h" |
21 #include "components/arc/instance_holder.h" | 21 #include "components/arc/instance_holder.h" |
22 #include "mojo/public/cpp/bindings/array.h" | 22 #include "mojo/public/cpp/bindings/array.h" |
23 | 23 |
24 namespace arc { | 24 namespace arc { |
25 | 25 |
26 class ArcBridgeService; | 26 class ArcBridgeService; |
27 | 27 |
28 // A single global entry to get a list of ARC processes. | 28 // A single global entry to get a list of ARC processes. |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 | 117 |
118 // Always keep this the last member of this class to make sure it's the | 118 // Always keep this the last member of this class to make sure it's the |
119 // first thing to be destructed. | 119 // first thing to be destructed. |
120 base::WeakPtrFactory<ArcProcessService> weak_ptr_factory_; | 120 base::WeakPtrFactory<ArcProcessService> weak_ptr_factory_; |
121 | 121 |
122 DISALLOW_COPY_AND_ASSIGN(ArcProcessService); | 122 DISALLOW_COPY_AND_ASSIGN(ArcProcessService); |
123 }; | 123 }; |
124 | 124 |
125 } // namespace arc | 125 } // namespace arc |
126 | 126 |
127 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_PROCESS_SERVICE_H_ | 127 #endif // CHROME_BROWSER_CHROMEOS_ARC_PROCESS_ARC_PROCESS_SERVICE_H_ |
OLD | NEW |