mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-28 07:14:18 +01:00
Update comments to reflect HTTPS support, r=mark.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@44 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
2fc823f579
commit
7772046297
@ -31,7 +31,7 @@
|
|||||||
#define CLIENT_WINDOWS_SENDER_CRASH_REPORT_SENDER_H__
|
#define CLIENT_WINDOWS_SENDER_CRASH_REPORT_SENDER_H__
|
||||||
|
|
||||||
// CrashReportSender is a "static" class which provides an API to upload
|
// CrashReportSender is a "static" class which provides an API to upload
|
||||||
// crash reports via HTTP. A crash report is formatted as a multipart POST
|
// crash reports via HTTP(S). A crash report is formatted as a multipart POST
|
||||||
// request, which contains a set of caller-supplied string key/value pairs,
|
// request, which contains a set of caller-supplied string key/value pairs,
|
||||||
// and a minidump file to upload.
|
// and a minidump file to upload.
|
||||||
//
|
//
|
||||||
@ -52,7 +52,7 @@ class CrashReportSender {
|
|||||||
// name value pairs, as a multipart POST request to the given URL.
|
// name value pairs, as a multipart POST request to the given URL.
|
||||||
// Parameter names must contain only printable ASCII characters,
|
// Parameter names must contain only printable ASCII characters,
|
||||||
// and may not contain a quote (") character.
|
// and may not contain a quote (") character.
|
||||||
// Only HTTP URLs are currently supported. Returns true on success.
|
// Only HTTP(S) URLs are currently supported. Returns true on success.
|
||||||
// TODO(bryner): we should expose the response to the caller.
|
// TODO(bryner): we should expose the response to the caller.
|
||||||
static bool SendCrashReport(const wstring &url,
|
static bool SendCrashReport(const wstring &url,
|
||||||
const map<wstring, wstring> ¶meters,
|
const map<wstring, wstring> ¶meters,
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
// HTTPUpload provides a "nice" API to send a multipart HTTP POST
|
// HTTPUpload provides a "nice" API to send a multipart HTTP(S) POST
|
||||||
// request using wininet. It currently supports requests that contain
|
// request using wininet. It currently supports requests that contain
|
||||||
// a set of string parameters (key/value pairs), and a file to upload.
|
// a set of string parameters (key/value pairs), and a file to upload.
|
||||||
|
|
||||||
@ -52,7 +52,7 @@ class HTTPUpload {
|
|||||||
// (i.e. it corresponds to the name= attribute on an <input type="file">.
|
// (i.e. it corresponds to the name= attribute on an <input type="file">.
|
||||||
// Parameter names must contain only printable ASCII characters,
|
// Parameter names must contain only printable ASCII characters,
|
||||||
// and may not contain a quote (") character.
|
// and may not contain a quote (") character.
|
||||||
// Only HTTP URLs are currently supported. Returns true on success.
|
// Only HTTP(S) URLs are currently supported. Returns true on success.
|
||||||
// TODO(bryner): we should expose the response to the caller.
|
// TODO(bryner): we should expose the response to the caller.
|
||||||
static bool SendRequest(const wstring &url,
|
static bool SendRequest(const wstring &url,
|
||||||
const map<wstring, wstring> ¶meters,
|
const map<wstring, wstring> ¶meters,
|
||||||
|
Loading…
Reference in New Issue
Block a user