| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UTILITY_UTILITY_THREAD_IMPL_H_ | 5 #ifndef CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_ |
| 6 #define CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_ | 6 #define CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "build/build_config.h" | 14 #include "build/build_config.h" |
| 15 #include "content/child/child_thread_impl.h" | 15 #include "content/child/child_thread_impl.h" |
| 16 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
| 17 #include "content/common/process_control.mojom.h" | 17 #include "content/common/process_control.mojom.h" |
| 18 #include "content/public/utility/utility_thread.h" | 18 #include "content/public/utility/utility_thread.h" |
| 19 #include "mojo/public/cpp/bindings/weak_binding_set.h" | 19 #include "mojo/public/cpp/bindings/binding_set.h" |
| 20 | 20 |
| 21 namespace base { | 21 namespace base { |
| 22 class FilePath; | 22 class FilePath; |
| 23 } | 23 } |
| 24 | 24 |
| 25 namespace content { | 25 namespace content { |
| 26 class BlinkPlatformImpl; | 26 class BlinkPlatformImpl; |
| 27 class UtilityBlinkPlatformImpl; | 27 class UtilityBlinkPlatformImpl; |
| 28 class UtilityProcessControlImpl; | 28 class UtilityProcessControlImpl; |
| 29 | 29 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 // True when we're running in batch mode. | 66 // True when we're running in batch mode. |
| 67 bool batch_mode_; | 67 bool batch_mode_; |
| 68 | 68 |
| 69 scoped_ptr<UtilityBlinkPlatformImpl> blink_platform_impl_; | 69 scoped_ptr<UtilityBlinkPlatformImpl> blink_platform_impl_; |
| 70 | 70 |
| 71 // Process control for Mojo application hosting. | 71 // Process control for Mojo application hosting. |
| 72 scoped_ptr<UtilityProcessControlImpl> process_control_; | 72 scoped_ptr<UtilityProcessControlImpl> process_control_; |
| 73 | 73 |
| 74 // Bindings to the ProcessControl impl. | 74 // Bindings to the ProcessControl impl. |
| 75 mojo::WeakBindingSet<ProcessControl> process_control_bindings_; | 75 mojo::BindingSet<ProcessControl> process_control_bindings_; |
| 76 | 76 |
| 77 DISALLOW_COPY_AND_ASSIGN(UtilityThreadImpl); | 77 DISALLOW_COPY_AND_ASSIGN(UtilityThreadImpl); |
| 78 }; | 78 }; |
| 79 | 79 |
| 80 #if defined(COMPILER_MSVC) | 80 #if defined(COMPILER_MSVC) |
| 81 #pragma warning(pop) | 81 #pragma warning(pop) |
| 82 #endif | 82 #endif |
| 83 | 83 |
| 84 } // namespace content | 84 } // namespace content |
| 85 | 85 |
| 86 #endif // CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_ | 86 #endif // CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_ |
| OLD | NEW |