| Index: chrome/browser/chromeos/process_proxy/process_proxy.h
|
| diff --git a/chrome/browser/chromeos/process_proxy/process_proxy.h b/chrome/browser/chromeos/process_proxy/process_proxy.h
|
| index d3507f0362cef081246971110e411b208681f0ee..fb50655bc5e24cf89d7f8a8b674f5bd724af3039 100644
|
| --- a/chrome/browser/chromeos/process_proxy/process_proxy.h
|
| +++ b/chrome/browser/chromeos/process_proxy/process_proxy.h
|
| @@ -26,7 +26,7 @@ class ProcessProxy : public base::RefCountedThreadSafe<ProcessProxy> {
|
| public:
|
| ProcessProxy();
|
|
|
| - // Open a process using command |command|. |pid| is set to new process' pid.
|
| + // Opens a process using command |command|. |pid| is set to new process' pid.
|
| bool Open(const std::string& command, pid_t* pid);
|
|
|
| // Triggers watcher object on |watch_thread|. |watch_thread| gets blocked, so
|
| @@ -35,12 +35,16 @@ class ProcessProxy : public base::RefCountedThreadSafe<ProcessProxy> {
|
| bool StartWatchingOnThread(base::Thread* watch_thread,
|
| const ProcessOutputCallback& callback);
|
|
|
| - // Send some data to the process.
|
| + // Sends some data to the process.
|
| bool Write(const std::string& text);
|
|
|
| - // Close. Must be called if we want this to be eventually deleted.
|
| + // Closes the process.
|
| + // Must be called if we want this to be eventually deleted.
|
| void Close();
|
|
|
| + // Notifies underlaying process of terminal size change.
|
| + bool OnTerminalResize(int width, int height);
|
| +
|
| private:
|
| friend class base::RefCountedThreadSafe<ProcessProxy>;
|
| // We want this be used as ref counted object only.
|
|
|