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 CONTENT_GPU_GPU_PROCESS_CONTROL_IMPL_H_ | 5 #ifndef CONTENT_GPU_GPU_PROCESS_CONTROL_IMPL_H_ |
6 #define CONTENT_GPU_GPU_PROCESS_CONTROL_IMPL_H_ | 6 #define CONTENT_GPU_GPU_PROCESS_CONTROL_IMPL_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "content/child/process_control_impl.h" | 9 #include "content/child/process_control_impl.h" |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 | 12 |
13 // Customization of ProcessControlImpl for the GPU process. | 13 // Customization of ProcessControlImpl for the GPU process. |
14 class GpuProcessControlImpl : public ProcessControlImpl { | 14 class GpuProcessControlImpl : public ProcessControlImpl { |
15 public: | 15 public: |
16 GpuProcessControlImpl(); | 16 GpuProcessControlImpl(); |
17 ~GpuProcessControlImpl() override; | 17 ~GpuProcessControlImpl() override; |
18 | 18 |
19 // ProcessControlImpl: | 19 // ProcessControlImpl: |
20 void RegisterLoaders(NameToLoaderMap* name_to_loader_map) override; | 20 void RegisterApplicationFactories(ApplicationFactoryMap* factories) override; |
21 | 21 |
22 private: | 22 private: |
23 DISALLOW_COPY_AND_ASSIGN(GpuProcessControlImpl); | 23 DISALLOW_COPY_AND_ASSIGN(GpuProcessControlImpl); |
24 }; | 24 }; |
25 | 25 |
26 } // namespace content | 26 } // namespace content |
27 | 27 |
28 #endif // CONTENT_GPU_GPU_PROCESS_CONTROL_IMPL_H_ | 28 #endif // CONTENT_GPU_GPU_PROCESS_CONTROL_IMPL_H_ |
OLD | NEW |