| 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 eea13f06061ff8a5477e7763b1e355af3757d9b6..f8cf3912474b8e76081a8c6f90d78ec23d0300a0 100644
|
| --- a/chrome/browser/local_discovery/privet_url_fetcher.cc
|
| +++ b/chrome/browser/local_discovery/privet_url_fetcher.cc
|
| @@ -4,7 +4,10 @@
|
|
|
| #include "chrome/browser/local_discovery/privet_url_fetcher.h"
|
|
|
| +#include <stdint.h>
|
| +
|
| #include <algorithm>
|
| +#include <limits>
|
|
|
| #include "base/bind.h"
|
| #include "base/debug/dump_without_crashing.h"
|
| @@ -175,10 +178,8 @@ void PrivetURLFetcher::Try() {
|
| if (request_type_ == net::URLFetcher::POST) {
|
| if (!upload_file_path_.empty()) {
|
| url_fetcher_->SetUploadFilePath(
|
| - upload_content_type_,
|
| - upload_file_path_,
|
| - 0 /*offset*/,
|
| - kuint64max /*length*/,
|
| + upload_content_type_, upload_file_path_, 0 /*offset*/,
|
| + std::numeric_limits<uint64_t>::max() /*length*/,
|
| content::BrowserThread::GetMessageLoopProxyForThread(
|
| content::BrowserThread::FILE));
|
| } else {
|
|
|