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

Unified Diff: content/common/in_process_child_thread_params.h

Issue 2485623002: discardable_memory: Using mojo IPC to replace Chrome IPC (Closed)
Patch Set: Fix bot issues Created 4 years 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/common/child_process_messages.h ('k') | content/common/in_process_child_thread_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/in_process_child_thread_params.h
diff --git a/content/common/in_process_child_thread_params.h b/content/common/in_process_child_thread_params.h
index 664db42b51f8bad5ba103fcc648a1f552c520653..608ca9b5c0cad603d3b721f6034d6cc02531b879 100644
--- a/content/common/in_process_child_thread_params.h
+++ b/content/common/in_process_child_thread_params.h
@@ -8,7 +8,7 @@
#include <string>
#include "base/memory/ref_counted.h"
-#include "base/sequenced_task_runner.h"
+#include "base/single_thread_task_runner.h"
#include "content/common/content_export.h"
namespace content {
@@ -18,12 +18,13 @@ namespace content {
// ChnanelMojo, an IPC channel name to open.
class CONTENT_EXPORT InProcessChildThreadParams {
public:
- InProcessChildThreadParams(scoped_refptr<base::SequencedTaskRunner> io_runner,
- const std::string& service_request_token);
+ InProcessChildThreadParams(
+ scoped_refptr<base::SingleThreadTaskRunner> io_runner,
+ const std::string& service_request_token);
InProcessChildThreadParams(const InProcessChildThreadParams& other);
~InProcessChildThreadParams();
- scoped_refptr<base::SequencedTaskRunner> io_runner() const {
+ scoped_refptr<base::SingleThreadTaskRunner> io_runner() const {
return io_runner_;
}
const std::string& service_request_token() const {
@@ -31,7 +32,7 @@ class CONTENT_EXPORT InProcessChildThreadParams {
}
private:
- scoped_refptr<base::SequencedTaskRunner> io_runner_;
+ scoped_refptr<base::SingleThreadTaskRunner> io_runner_;
std::string service_request_token_;
};
« no previous file with comments | « content/common/child_process_messages.h ('k') | content/common/in_process_child_thread_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698