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

Unified Diff: mojo/service_manager/background_service_loader.h

Issue 293033003: Hook up platform events in Mojo shell on Linux desktop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: whitespace Created 6 years, 7 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
« no previous file with comments | « no previous file | mojo/service_manager/background_service_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/service_manager/background_service_loader.h
diff --git a/mojo/service_manager/background_service_loader.h b/mojo/service_manager/background_service_loader.h
index bdfae0c6754643eb43a9f696a5d64c1e57b8a171..9b4d757d3bd57822a2ab8fd2dafaf5ca7672e1a8 100644
--- a/mojo/service_manager/background_service_loader.h
+++ b/mojo/service_manager/background_service_loader.h
@@ -6,6 +6,7 @@
#define MOJO_SERVICE_MANAGER_BACKGROUND_SERVICE_LOADER_H_
#include "base/memory/scoped_ptr.h"
+#include "base/message_loop/message_loop.h"
#include "base/threading/thread.h"
#include "mojo/service_manager/service_loader.h"
@@ -19,7 +20,8 @@ class MOJO_SERVICE_MANAGER_EXPORT BackgroundServiceLoader
: public ServiceLoader {
public:
BackgroundServiceLoader(scoped_ptr<ServiceLoader> real_loader,
- const char* thread_name);
+ const char* thread_name,
+ base::MessageLoop::Type message_loop_type);
virtual ~BackgroundServiceLoader();
// ServiceLoader overrides:
@@ -45,6 +47,7 @@ class MOJO_SERVICE_MANAGER_EXPORT BackgroundServiceLoader
scoped_ptr<ServiceLoader> loader_;
base::Thread thread_;
+ base::MessageLoop::Type message_loop_type_;
// Lives on |thread_|. Trivial interface that calls through to |loader_|.
BackgroundLoader* background_loader_;
« no previous file with comments | « no previous file | mojo/service_manager/background_service_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698