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

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

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef 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
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/test_url_fetcher_factory.h" 5 #include "net/url_request/test_url_fetcher_factory.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 void TestURLFetcher::SetUploadData(const std::string& upload_content_type, 66 void TestURLFetcher::SetUploadData(const std::string& upload_content_type,
67 const std::string& upload_content) { 67 const std::string& upload_content) {
68 upload_content_type_ = upload_content_type; 68 upload_content_type_ = upload_content_type;
69 upload_data_ = upload_content; 69 upload_data_ = upload_content;
70 } 70 }
71 71
72 void TestURLFetcher::SetUploadFilePath( 72 void TestURLFetcher::SetUploadFilePath(
73 const std::string& upload_content_type, 73 const std::string& upload_content_type,
74 const base::FilePath& file_path, 74 const base::FilePath& file_path,
75 uint64 range_offset, 75 uint64_t range_offset,
76 uint64 range_length, 76 uint64_t range_length,
77 scoped_refptr<base::TaskRunner> file_task_runner) { 77 scoped_refptr<base::TaskRunner> file_task_runner) {
78 upload_file_path_ = file_path; 78 upload_file_path_ = file_path;
79 } 79 }
80 80
81 void TestURLFetcher::SetUploadStreamFactory( 81 void TestURLFetcher::SetUploadStreamFactory(
82 const std::string& upload_content_type, 82 const std::string& upload_content_type,
83 const CreateUploadStreamCallback& factory) { 83 const CreateUploadStreamCallback& factory) {
84 } 84 }
85 85
86 void TestURLFetcher::SetChunkedUpload(const std::string& upload_content_type) { 86 void TestURLFetcher::SetChunkedUpload(const std::string& upload_content_type) {
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 485
486 scoped_ptr<URLFetcher> URLFetcherImplFactory::CreateURLFetcher( 486 scoped_ptr<URLFetcher> URLFetcherImplFactory::CreateURLFetcher(
487 int id, 487 int id,
488 const GURL& url, 488 const GURL& url,
489 URLFetcher::RequestType request_type, 489 URLFetcher::RequestType request_type,
490 URLFetcherDelegate* d) { 490 URLFetcherDelegate* d) {
491 return scoped_ptr<URLFetcher>(new URLFetcherImpl(url, request_type, d)); 491 return scoped_ptr<URLFetcher>(new URLFetcherImpl(url, request_type, d));
492 } 492 }
493 493
494 } // namespace net 494 } // namespace net
OLDNEW
« no previous file with comments | « net/url_request/test_url_fetcher_factory.h ('k') | net/url_request/test_url_request_interceptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698