Home | History | Annotate | Download | only in cpp

Lines Matching full:code

2 // Use of this source code is governed by a BSD-style license that can be
20 /// The <code>HostResolver</code> class supports host name resolution.
22 /// Permissions: In order to run <code>Resolve()</code>, apps permission
23 /// <code>socket</code> with subrule <code>resolve-host</code> is required.
28 /// Default constructor for creating an is_null() <code>HostResolver</code>
32 /// A constructor used to create a <code>HostResolver</code> object.
38 /// A constructor used when you have received a <code>PP_Resource</code> as a
41 /// @param[in] resource A <code>PPB_HostResolver</code> resource.
44 /// The copy constructor for <code>HostResolver</code>.
46 /// @param[in] other A reference to another <code>HostResolver</code>.
52 /// The assignment operator for <code>HostResolver</code>.
54 /// @param[in] other A reference to another <code>HostResolver</code>.
56 /// @return A reference to this <code>HostResolver</code> object.
60 /// <code>PPB_HostResolver</code> interface.
66 /// results can be retrieved by <code>GetCanonicalName()</code>,
67 /// <code>GetNetAddressCount()</code> and <code>GetNetAddress()</code>.
72 /// @param[in] hint A <code>PP_HostResolver_Hint</code> structure
74 /// @param[in] callback A <code>CompletionCallback</code> to be called upon
77 /// @return An int32_t containing an error code from <code>pp_errors.h</code>.
78 /// <code>PP_ERROR_NOACCESS</code> will be returned if the caller doesn't have
79 /// required permissions. <code>PP_ERROR_NAME_NOT_RESOLVED</code> will be
88 /// @return A string <code>Var</code> on success, which is an empty string
89 /// if <code>PP_HOSTRESOLVER_FLAG_CANONNAME</code> is not set in the hint
90 /// flags when calling <code>Resolve()</code>; an undefined <code>Var</code>
91 /// if there is a pending <code>Resolve()</code> call or the previous
92 /// <code>Resolve()</code> call failed.
98 /// is a pending <code>Resolve()</code> call or the previous
99 /// <code>Resolve()</code> call failed.
106 /// @return A <code>NetAddress</code> object. The object will be null
108 /// <code>Resolve()</code> call or the previous <code>Resolve()</code> call