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

Unified Diff: content/child/mojo/mojo_application.h

Issue 987693005: Get rid of ChannelInit::SetSingleProcessIOTaskRunner() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Landing Created 5 years, 9 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 | « content/child/child_thread_impl.cc ('k') | content/child/mojo/mojo_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/mojo/mojo_application.h
diff --git a/content/child/mojo/mojo_application.h b/content/child/mojo/mojo_application.h
index 5b89ddbaa084b3d2237df856e3b53fd37e57d552..5c207f2ccd56ddc778b526a12b96ebf5cc0b8265 100644
--- a/content/child/mojo/mojo_application.h
+++ b/content/child/mojo/mojo_application.h
@@ -9,6 +9,10 @@
#include "content/common/mojo/service_registry_impl.h"
#include "ipc/ipc_platform_file.h"
+namespace base {
+class SequencedTaskRunner;
+}
+
namespace IPC {
class Message;
}
@@ -21,7 +25,8 @@ namespace content {
// It makes the ServiceRegistry interface available.
class MojoApplication {
public:
- MojoApplication();
+ explicit MojoApplication(
+ scoped_refptr<base::SequencedTaskRunner> io_task_runner);
virtual ~MojoApplication();
bool OnMessageReceived(const IPC::Message& msg);
@@ -31,6 +36,8 @@ class MojoApplication {
private:
void OnActivate(const IPC::PlatformFileForTransit& file);
+ scoped_refptr<base::SequencedTaskRunner> io_task_runner_;
+
ChannelInit channel_init_;
ServiceRegistryImpl service_registry_;
« no previous file with comments | « content/child/child_thread_impl.cc ('k') | content/child/mojo/mojo_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698