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

Unified Diff: services/native_support/process_impl.h

Issue 1682113003: Mojo C++ bindings: Generate InterfaceHandle<> instead of InterfacePtr<>. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebase ontop of master, address trung's comments Created 4 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
« no previous file with comments | « services/keyboard/linux/keyboard_service_impl.cc ('k') | services/native_support/process_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/native_support/process_impl.h
diff --git a/services/native_support/process_impl.h b/services/native_support/process_impl.h
index 0368718af20c542fd50221d8c40f5f388beec826..8632b2e5ef84c517a1ba8d2878e2acce23a05905 100644
--- a/services/native_support/process_impl.h
+++ b/services/native_support/process_impl.h
@@ -34,16 +34,16 @@ class ProcessImpl : public Process {
void Spawn(mojo::Array<uint8_t> path,
mojo::Array<mojo::Array<uint8_t>> argv,
mojo::Array<mojo::Array<uint8_t>> envp,
- mojo::files::FilePtr stdin_file,
- mojo::files::FilePtr stdout_file,
- mojo::files::FilePtr stderr_file,
+ mojo::InterfaceHandle<mojo::files::File> stdin_file,
+ mojo::InterfaceHandle<mojo::files::File> stdout_file,
+ mojo::InterfaceHandle<mojo::files::File> stderr_file,
mojo::InterfaceRequest<ProcessController> process_controller,
const SpawnCallback& callback) override;
void SpawnWithTerminal(
mojo::Array<uint8_t> path,
mojo::Array<mojo::Array<uint8_t>> argv,
mojo::Array<mojo::Array<uint8_t>> envp,
- mojo::files::FilePtr terminal_file,
+ mojo::InterfaceHandle<mojo::files::File> terminal_file,
mojo::InterfaceRequest<ProcessController> process_controller,
const SpawnWithTerminalCallback& callback) override;
« no previous file with comments | « services/keyboard/linux/keyboard_service_impl.cc ('k') | services/native_support/process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698