Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: net/url_request/url_fetcher_impl.cc

Issue 1502503004: Remove kuint64max. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kint8
Patch Set: rebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/url_request/url_fetcher_impl.h ('k') | net/url_request/url_fetcher_impl_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/url_request/url_fetcher_impl.h" 5 #include "net/url_request/url_fetcher_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/sequenced_task_runner.h" 8 #include "base/sequenced_task_runner.h"
9 #include "net/base/upload_data_stream.h" 9 #include "net/base/upload_data_stream.h"
10 #include "net/url_request/url_fetcher_core.h" 10 #include "net/url_request/url_fetcher_core.h"
(...skipping 15 matching lines...) Expand all
26 } 26 }
27 27
28 void URLFetcherImpl::SetUploadData(const std::string& upload_content_type, 28 void URLFetcherImpl::SetUploadData(const std::string& upload_content_type,
29 const std::string& upload_content) { 29 const std::string& upload_content) {
30 core_->SetUploadData(upload_content_type, upload_content); 30 core_->SetUploadData(upload_content_type, upload_content);
31 } 31 }
32 32
33 void URLFetcherImpl::SetUploadFilePath( 33 void URLFetcherImpl::SetUploadFilePath(
34 const std::string& upload_content_type, 34 const std::string& upload_content_type,
35 const base::FilePath& file_path, 35 const base::FilePath& file_path,
36 uint64 range_offset, 36 uint64_t range_offset,
37 uint64 range_length, 37 uint64_t range_length,
38 scoped_refptr<base::TaskRunner> file_task_runner) { 38 scoped_refptr<base::TaskRunner> file_task_runner) {
39 core_->SetUploadFilePath(upload_content_type, 39 core_->SetUploadFilePath(upload_content_type,
40 file_path, 40 file_path,
41 range_offset, 41 range_offset,
42 range_length, 42 range_length,
43 file_task_runner); 43 file_task_runner);
44 } 44 }
45 45
46 void URLFetcherImpl::SetUploadStreamFactory( 46 void URLFetcherImpl::SetUploadStreamFactory(
47 const std::string& upload_content_type, 47 const std::string& upload_content_type,
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 URLFetcherFactory* URLFetcherImpl::factory() { 228 URLFetcherFactory* URLFetcherImpl::factory() {
229 return g_factory; 229 return g_factory;
230 } 230 }
231 231
232 // static 232 // static
233 void URLFetcherImpl::set_factory(URLFetcherFactory* factory) { 233 void URLFetcherImpl::set_factory(URLFetcherFactory* factory) {
234 g_factory = factory; 234 g_factory = factory;
235 } 235 }
236 236
237 } // namespace net 237 } // namespace net
OLDNEW
« no previous file with comments | « net/url_request/url_fetcher_impl.h ('k') | net/url_request/url_fetcher_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698