summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/url_request/url_request.h')
-rw-r--r--net/url_request/url_request.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index d45e510..a075764 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -8,6 +8,7 @@
#include <string>
#include <vector>
+#include "base/file_path.h"
#include "base/logging.h"
#include "base/ref_counted.h"
#include "googleurl/src/gurl.h"
@@ -236,9 +237,9 @@ class URLRequest {
// When uploading a file range, length must be non-zero. If length
// exceeds the end-of-file, the upload is clipped at end-of-file.
void AppendBytesToUpload(const char* bytes, int bytes_len);
- void AppendFileRangeToUpload(const std::wstring& file_path,
+ void AppendFileRangeToUpload(const FilePath& file_path,
uint64 offset, uint64 length);
- void AppendFileToUpload(const std::wstring& file_path) {
+ void AppendFileToUpload(const FilePath& file_path) {
AppendFileRangeToUpload(file_path, 0, kuint64max);
}