<trclass="memdesc:aa39b3c161f5763733538a453c09d2546"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The possible return values for <aclass="el"href="classcrashpad_1_1PtraceStrategyDecider.html#af4010f8a970b586a0431531463a913c2"title="Chooses an appropriate ptrace strategy. ">ChooseStrategy()</a>. <ahref="classcrashpad_1_1PtraceStrategyDecider.html#aa39b3c161f5763733538a453c09d2546">More...</a><br/></td></tr>
<p>The possible return values for <aclass="el"href="classcrashpad_1_1PtraceStrategyDecider.html#af4010f8a970b586a0431531463a913c2"title="Chooses an appropriate ptrace strategy. ">ChooseStrategy()</a>. </p>
<tableclass="fieldtable">
<tr><thcolspan="2">Enumerator</th></tr><tr><tdclass="fieldname"><aid="aa39b3c161f5763733538a453c09d2546ae3587c730cc1aa530fa4ddc9c4204e97"></a>kError </td><tdclass="fielddoc"><p>An error occurred, with a message logged. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="aa39b3c161f5763733538a453c09d2546aa95e9314a614496e802b26710bee27a0"></a>kNoPtrace </td><tdclass="fielddoc"><p>Ptrace cannot be used. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="aa39b3c161f5763733538a453c09d2546af935b30b75e08b887455b454e9d5f71a"></a>kDirectPtrace </td><tdclass="fielddoc"><p>The handler should <code>ptrace</code>-attach the client directly. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="aa39b3c161f5763733538a453c09d2546af5711b045de65045ad808c247a523959"></a>kUseBroker </td><tdclass="fielddoc"><p>The client has <code>fork</code>ed a <aclass="el"href="classcrashpad_1_1PtraceBroker.html"title="Implements a PtraceConnection over a socket. ">PtraceBroker</a> for the handler. </p>
</td></tr>
</table>
</div>
</div>
<h2class="groupheader">Member Function Documentation</h2>
<p>Chooses an appropriate <code>ptrace</code> strategy. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">sock</td><td>A socket conncted to a <aclass="el"href="classcrashpad_1_1ExceptionHandlerClient.html"title="A client for an ExceptionHandlerServer. ">ExceptionHandlerClient</a>. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">client_credentials</td><td>The credentials for the connected client. </td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>the chosen <aclass="el"href="classcrashpad_1_1PtraceStrategyDecider.html#aa39b3c161f5763733538a453c09d2546"title="The possible return values for ChooseStrategy(). ">Strategy</a>. </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>handler/linux/exception_handler_server.h</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hrclass="footer"/><addressclass="footer"><small>
Generated by  <ahref="http://www.doxygen.org/index.html">