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

Unified Diff: content/utility/in_process_utility_thread.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
Index: content/utility/in_process_utility_thread.h
diff --git a/content/utility/in_process_utility_thread.h b/content/utility/in_process_utility_thread.h
index 00c71a1dd282183fcf5679a4ac60f7355794d6c5..2e16d1e1c39909c53ada1ace546528b1b7765130 100644
--- a/content/utility/in_process_utility_thread.h
+++ b/content/utility/in_process_utility_thread.h
@@ -9,6 +9,7 @@
#include "base/threading/thread.h"
#include "content/common/content_export.h"
+#include "content/common/in_process_child_thread_params.h"
namespace content {
@@ -16,7 +17,7 @@ class ChildProcess;
class InProcessUtilityThread : public base::Thread {
public:
- InProcessUtilityThread(const std::string& channel_id);
+ InProcessUtilityThread(const InProcessChildThreadParams& params);
~InProcessUtilityThread() override;
private:
@@ -26,14 +27,14 @@ class InProcessUtilityThread : public base::Thread {
void InitInternal();
- std::string channel_id_;
+ InProcessChildThreadParams params_;
scoped_ptr<ChildProcess> child_process_;
DISALLOW_COPY_AND_ASSIGN(InProcessUtilityThread);
};
CONTENT_EXPORT base::Thread* CreateInProcessUtilityThread(
- const std::string& channel_id);
+ const InProcessChildThreadParams& params);
} // namespace content
« no previous file with comments | « content/test/render_thread_impl_browser_test_ipc_helper.cc ('k') | content/utility/in_process_utility_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698