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/files/file_path.h" 9 #include "base/strings/string16.h" 10 11 // Creates a new server, and returns a new named pipe to communicate with it. 12 HANDLE CreateServer(base::string16* pipe_number); 13 14 // Runs a loop to write a new cache with all the data available from a slave 15 // process connected through the provided |pipe|. 16 int UpgradeCache(const base::FilePath& output_path, HANDLE pipe); 17 18 // This process will only execute commands from the controller. 19 int RunSlave(const base::FilePath& input_path, 20 const base::string16& pipe_number); 21