| 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 <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.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/public/utility/utility_thread.h" | 17 #include "content/public/utility/utility_thread.h" |
| 18 #include "mojo/public/cpp/bindings/binding_set.h" | 18 #include "mojo/public/cpp/bindings/binding_set.h" |
| 19 #include "services/service_manager/public/interfaces/service_factory.mojom.h" | 19 #include "services/service_manager/public/interfaces/service_factory.mojom.h" |
| 20 | 20 |
| 21 namespace content { | 21 namespace content { |
| 22 class BlinkPlatformImpl; | |
| 23 class UtilityBlinkPlatformImpl; | 22 class UtilityBlinkPlatformImpl; |
| 24 class UtilityServiceFactory; | 23 class UtilityServiceFactory; |
| 25 | 24 |
| 26 #if defined(COMPILER_MSVC) | 25 #if defined(COMPILER_MSVC) |
| 27 // See explanation for other RenderViewHostImpl which is the same issue. | 26 // See explanation for other RenderViewHostImpl which is the same issue. |
| 28 #pragma warning(push) | 27 #pragma warning(push) |
| 29 #pragma warning(disable: 4250) | 28 #pragma warning(disable: 4250) |
| 30 #endif | 29 #endif |
| 31 | 30 |
| 32 // This class represents the background thread where the utility task runs. | 31 // This class represents the background thread where the utility task runs. |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 DISALLOW_COPY_AND_ASSIGN(UtilityThreadImpl); | 70 DISALLOW_COPY_AND_ASSIGN(UtilityThreadImpl); |
| 72 }; | 71 }; |
| 73 | 72 |
| 74 #if defined(COMPILER_MSVC) | 73 #if defined(COMPILER_MSVC) |
| 75 #pragma warning(pop) | 74 #pragma warning(pop) |
| 76 #endif | 75 #endif |
| 77 | 76 |
| 78 } // namespace content | 77 } // namespace content |
| 79 | 78 |
| 80 #endif // CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_ | 79 #endif // CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_ |
| OLD | NEW |