OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include <windows.h> |
| 6 |
| 7 #include "base/command_line.h" |
| 8 #include "base/file_path.h" |
| 9 |
| 10 // Creates a new server, and returns a new named pipe to communicate with it. |
| 11 HANDLE CreateServer(std::wstring* pipe_number); |
| 12 |
| 13 // This is the controller process for an upgrade operation. |
| 14 int CopyCache(const FilePath& output_path, HANDLE pipe, bool copy_to_text); |
| 15 |
| 16 // This process will only execute commands from the controller. |
| 17 int RunSlave(const FilePath& input_path, const std::wstring& pipe_number); |
| 18 |
| 19 // Starts a new process, to generate the files. |
| 20 int LaunchSlave(CommandLine command_line, |
| 21 const std::wstring& pipe_number, |
| 22 int version); |
OLD | NEW |