summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/two_phase_uploader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/safe_browsing/two_phase_uploader.cc')
-rw-r--r--chrome/browser/safe_browsing/two_phase_uploader.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/safe_browsing/two_phase_uploader.cc b/chrome/browser/safe_browsing/two_phase_uploader.cc
index 9b6165e..df58625 100644
--- a/chrome/browser/safe_browsing/two_phase_uploader.cc
+++ b/chrome/browser/safe_browsing/two_phase_uploader.cc
@@ -63,7 +63,7 @@ void TwoPhaseUploader::OnURLFetchComplete(const net::URLFetcher* source) {
if (!status.is_success()) {
LOG(ERROR) << "URLFetcher failed, status=" << status.status()
<< " err=" << status.error();
- Finish(status.error(), response_code, "");
+ Finish(status.error(), response_code, std::string());
return;
}
@@ -83,7 +83,7 @@ void TwoPhaseUploader::OnURLFetchComplete(const net::URLFetcher* source) {
if (!source->GetResponseHeaders()->EnumerateHeader(
NULL, kLocationHeader, &location)) {
LOG(ERROR) << "no location header";
- Finish(net::OK, response_code, "");
+ Finish(net::OK, response_code, std::string());
return;
}
DVLOG(1) << "upload location: " << location;