Index: chrome/browser/local_discovery/privet_url_fetcher.cc |
diff --git a/chrome/browser/local_discovery/privet_url_fetcher.cc b/chrome/browser/local_discovery/privet_url_fetcher.cc |
index c4f6f5e68585afecc06a1a4a75cbb605ddc3fa64..3ab00d67d7a419684dbc5013ada4e6fb60100b85 100644 |
--- a/chrome/browser/local_discovery/privet_url_fetcher.cc |
+++ b/chrome/browser/local_discovery/privet_url_fetcher.cc |
@@ -151,7 +151,8 @@ void PrivetURLFetcher::Try() { |
} |
// URLFetcher requires us to set upload data for POST requests. |
- if (request_type_ == net::URLFetcher::POST) { |
+ if (request_type_ == net::URLFetcher::POST || |
+ request_type_ == net::URLFetcher::PUT) { |
if (!upload_file_path_.empty()) { |
url_fetcher_->SetUploadFilePath( |
upload_content_type_, |