| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_IN_PROCESS_UTILITY_THREAD_H_ | 5 #ifndef CONTENT_UTILITY_IN_PROCESS_UTILITY_THREAD_H_ |
| 6 #define CONTENT_UTILITY_IN_PROCESS_UTILITY_THREAD_H_ | 6 #define CONTENT_UTILITY_IN_PROCESS_UTILITY_THREAD_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/threading/thread.h" | 12 #include "base/threading/thread.h" |
| 12 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
| 13 #include "content/common/in_process_child_thread_params.h" | 14 #include "content/common/in_process_child_thread_params.h" |
| 14 | 15 |
| 15 namespace content { | 16 namespace content { |
| 16 | 17 |
| 17 class ChildProcess; | 18 class ChildProcess; |
| 18 | 19 |
| 19 class InProcessUtilityThread : public base::Thread { | 20 class InProcessUtilityThread : public base::Thread { |
| 20 public: | 21 public: |
| (...skipping 12 matching lines...) Expand all Loading... |
| 33 | 34 |
| 34 DISALLOW_COPY_AND_ASSIGN(InProcessUtilityThread); | 35 DISALLOW_COPY_AND_ASSIGN(InProcessUtilityThread); |
| 35 }; | 36 }; |
| 36 | 37 |
| 37 CONTENT_EXPORT base::Thread* CreateInProcessUtilityThread( | 38 CONTENT_EXPORT base::Thread* CreateInProcessUtilityThread( |
| 38 const InProcessChildThreadParams& params); | 39 const InProcessChildThreadParams& params); |
| 39 | 40 |
| 40 } // namespace content | 41 } // namespace content |
| 41 | 42 |
| 42 #endif // CONTENT_UTILITY_IN_PROCESS_UTILITY_THREAD_H_ | 43 #endif // CONTENT_UTILITY_IN_PROCESS_UTILITY_THREAD_H_ |
| OLD | NEW |