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

Unified Diff: content/browser/child_process_launcher.h

Issue 2706933003: webapk: Avoid overwriting default CreationParams
Patch Set: cleanups Created 3 years, 10 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/browser/child_process_launcher.h
diff --git a/content/browser/child_process_launcher.h b/content/browser/child_process_launcher.h
index d145a9bd15e4bf6a8b548a59488e23d5ed86ee7f..bd26cea3d10be01dd5e8aa051e48e41c42dc86a6 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.

Powered by Google App Engine
This is Rietveld 408576698