| Index: chrome/browser/chromeos/process_proxy/process_proxy_registry.h
|
| diff --git a/chrome/browser/chromeos/process_proxy/process_proxy_registry.h b/chrome/browser/chromeos/process_proxy/process_proxy_registry.h
|
| index b6aa71a11043eaa57824524eed1a6e3756d9e659..143b082ea0f5c2e04079fe4af8c47024d52b5469 100644
|
| --- a/chrome/browser/chromeos/process_proxy/process_proxy_registry.h
|
| +++ b/chrome/browser/chromeos/process_proxy/process_proxy_registry.h
|
| @@ -40,12 +40,14 @@ class ProcessProxyRegistry {
|
| // Starts new ProcessProxy (which starts new process).
|
| bool OpenProcess(const std::string& command, pid_t* pid,
|
| const ProcessOutputCallbackWithPid& callback);
|
| - // Send data to the process with id |pid|.
|
| + // Sends data to the process with id |pid|.
|
| bool SendInput(pid_t pid, const std::string& data);
|
| - // Stop the process with id |pid|.
|
| + // Stops the process with id |pid|.
|
| bool CloseProcess(pid_t pid);
|
| + // Reports terminal resize to process proxy.
|
| + bool OnTerminalResize(pid_t pid, int width, int height);
|
|
|
| - // Gets called when output gets detected. Currently used for testing.
|
| + // Currently used for testing.
|
| void SetOutputCallback(const ProcessOutputCallback& callback);
|
|
|
| private:
|
| @@ -54,6 +56,7 @@ class ProcessProxyRegistry {
|
| ProcessProxyRegistry();
|
| ~ProcessProxyRegistry();
|
|
|
| + // Gets called when output gets detected.
|
| void OnProcessOutput(pid_t pid,
|
| ProcessOutputType type,
|
| const std::string& data);
|
|
|