projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git]
/
src
/
breakpad
/
src
/
common
/
linux
/
google_crashdump_uploader.cc
diff --git
a/src/breakpad/src/common/linux/google_crashdump_uploader.cc
b/src/breakpad/src/common/linux/google_crashdump_uploader.cc
index
4da1f5e
..
6d86fb3
100644
(file)
--- a/
src/breakpad/src/common/linux/google_crashdump_uploader.cc
+++ b/
src/breakpad/src/common/linux/google_crashdump_uploader.cc
@@
-161,7
+161,9
@@
bool GoogleCrashdumpUploader::CheckRequiredParametersArePresent() {
}
}
-bool GoogleCrashdumpUploader::Upload() {
+bool GoogleCrashdumpUploader::Upload(int* http_status_code,
+ string* http_response_header,
+ string* http_response_body) {
bool ok = http_layer_->Init();
if (!ok) {
std::cout << "http layer init failed";
bool ok = http_layer_->Init();
if (!ok) {
std::cout << "http layer init failed";
@@
-193,6
+195,8
@@
bool GoogleCrashdumpUploader::Upload() {
std::cout << "Sending request to " << crash_server_;
return http_layer_->SendRequest(crash_server_,
parameters_,
std::cout << "Sending request to " << crash_server_;
return http_layer_->SendRequest(crash_server_,
parameters_,
- NULL);
+ http_status_code,
+ http_response_header,
+ http_response_body);
}
}
}
}