| Index: content/public/common/service_info.h
|
| diff --git a/content/public/common/service_info.h b/content/public/common/service_info.h
|
| index dcfd270e3d9b9eb5209cad783c620587df0facd2..fa8b229ad6191bbeebc84ee67c46260ab406fbb6 100644
|
| --- a/content/public/common/service_info.h
|
| +++ b/content/public/common/service_info.h
|
| @@ -9,7 +9,9 @@
|
|
|
| #include "base/callback.h"
|
| #include "base/memory/ref_counted.h"
|
| +#include "base/message_loop/message_loop.h"
|
| #include "base/single_thread_task_runner.h"
|
| +#include "base/threading/platform_thread.h"
|
| #include "content/common/content_export.h"
|
|
|
| namespace service_manager {
|
| @@ -43,6 +45,14 @@ struct CONTENT_EXPORT ServiceInfo {
|
| //
|
| // If |task_runner| is not null, this value is ignored.
|
| bool use_own_thread = false;
|
| +
|
| + // If the service uses its own thread, this determines the type of the message
|
| + // loop used by the thread.
|
| + base::MessageLoop::Type message_loop_type = base::MessageLoop::TYPE_DEFAULT;
|
| +
|
| + // If the service uses its own thread, this determines the priority of the
|
| + // thread.
|
| + base::ThreadPriority thread_priority = base::ThreadPriority::NORMAL;
|
| };
|
|
|
| } // namespace content
|
|
|