Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1087)

Unified Diff: content/public/common/service_info.h

Issue 2916823002: Move Mus into chrome's process when running with --mus.
Patch Set: Addressing most feedback, making this work on device. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..51ddf42c4cd1ecb01b2ad954d20dcbd2e268816a 100644
--- a/content/public/common/service_info.h
+++ b/content/public/common/service_info.h
@@ -10,6 +10,7 @@
#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "base/single_thread_task_runner.h"
+#include "base/threading/thread.h"
#include "content/common/content_export.h"
namespace service_manager {
@@ -43,6 +44,10 @@ struct CONTENT_EXPORT ServiceInfo {
//
// If |task_runner| is not null, this value is ignored.
bool use_own_thread = false;
+
+ base::MessageLoop::Type message_loop_type = base::MessageLoop::TYPE_DEFAULT;
+
+ base::ThreadPriority thread_priority = base::ThreadPriority::NORMAL;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698