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

Unified Diff: content/browser/child_process_launcher.h

Issue 2706933003: webapk: Avoid overwriting default CreationParams
Patch Set: rebase 461342 Created 3 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/browser/browsing_instance.cc ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/child_process_launcher.h
diff --git a/content/browser/child_process_launcher.h b/content/browser/child_process_launcher.h
index 63762f88413c4792d68158110918a0942c537869..055d2b958ca384630d27d77f08a4e6d71ceb3fad 100644
--- a/content/browser/child_process_launcher.h
+++ b/content/browser/child_process_launcher.h
@@ -66,6 +66,8 @@ class CONTENT_EXPORT ChildProcessLauncher : public base::NonThreadSafe {
virtual ~Client() {}
};
+ enum { DEFAULT_PARAM_ID = 0 };
+
// Launches the process asynchronously, calling the client when the result is
// ready. Deleting this object before the process is created is safe, since
// the callback won't be called. If the process is still running by the time
@@ -82,7 +84,8 @@ class CONTENT_EXPORT ChildProcessLauncher : public base::NonThreadSafe {
Client* client,
std::unique_ptr<mojo::edk::PendingProcessConnection> pending_connection,
const mojo::edk::ProcessErrorCallback& process_error_callback,
- bool terminate_on_shutdown = true);
+ bool terminate_on_shutdown = true,
+ int param_id = DEFAULT_PARAM_ID);
~ChildProcessLauncher();
// True if the process is being launched and so the handle isn't available.
« no previous file with comments | « content/browser/browsing_instance.cc ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698