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.
7 #include "base/command_line.h"
8 #include "base/file_path.h"
9 #include "base/string16.h"
11 // Creates a new server, and returns a new named pipe to communicate with it.
12 HANDLE
CreateServer(string16
* pipe_number
);
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 FilePath
& output_path
, HANDLE pipe
);
18 // This process will only execute commands from the controller.
19 int RunSlave(const FilePath
& input_path
, const string16
& pipe_number
);