Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: util/test/multiprocess_exec_win.cc

Issue 853853002: win: Stub reorganization of MultiprocessExec (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: . Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « util/test/multiprocess_exec_test.cc ('k') | util/test/multiprocess_posix.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Crashpad Authors. All rights reserved.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 #include "util/test/multiprocess_exec.h"
16
17 namespace crashpad {
18 namespace test {
19
20 // TODO(scottmg): All stub, not yet implemented on Windows.
21 // https://code.google.com/p/crashpad/issues/detail?id=7
22
23 Multiprocess::Multiprocess()
24 : info_(nullptr),
25 code_(EXIT_SUCCESS),
26 reason_(kTerminationNormal) {
27 }
28
29 void Multiprocess::Run() {
30 }
31
32 Multiprocess::~Multiprocess() {
33 }
34
35 void Multiprocess::PreFork() {
36 }
37
38 FileHandle Multiprocess::ReadPipeHandle() const {
39 return FileHandle();
40 }
41
42 FileHandle Multiprocess::WritePipeHandle() const {
43 return FileHandle();
44 }
45
46 MultiprocessExec::MultiprocessExec()
47 : Multiprocess(), command_(), arguments_(), argv_() {
48 }
49
50 void MultiprocessExec::SetChildCommand(
51 const std::string& command,
52 const std::vector<std::string>* arguments) {
53 command_ = command;
54 if (arguments) {
55 arguments_ = *arguments;
56 } else {
57 arguments_.clear();
58 }
59 }
60
61 MultiprocessExec::~MultiprocessExec() {
62 }
63
64 void MultiprocessExec::PreFork() {
65 }
66
67 void MultiprocessExec::MultiprocessChild() {
68 }
69
70 } // namespace test
71 } // namespace crashpad
OLDNEW
« no previous file with comments | « util/test/multiprocess_exec_test.cc ('k') | util/test/multiprocess_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698