summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport/WebRequest.h
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2010-11-05 10:45:07 +0000
committerKristian Monsen <kristianm@google.com>2010-11-05 10:49:54 +0000
commit18b98c9f527349208c3518828e590cf9652d57bd (patch)
tree858c2839adafaab59dbb125350c945609d6480e4 /WebKit/android/WebCoreSupport/WebRequest.h
parent07017de2da3288f802d8424d61aff826a72f736d (diff)
downloadexternal_webkit-18b98c9f527349208c3518828e590cf9652d57bd.zip
external_webkit-18b98c9f527349208c3518828e590cf9652d57bd.tar.gz
external_webkit-18b98c9f527349208c3518828e590cf9652d57bd.tar.bz2
Update method to take const std::string& argument
It's safe to pass this across threads since NewRunnableMethod copies the argument. Change-Id: I620ebfe64ead7947ac3a6733507865938e04a8df
Diffstat (limited to 'WebKit/android/WebCoreSupport/WebRequest.h')
-rw-r--r--WebKit/android/WebCoreSupport/WebRequest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebKit/android/WebCoreSupport/WebRequest.h b/WebKit/android/WebCoreSupport/WebRequest.h
index c82096e..c7026a5 100644
--- a/WebKit/android/WebCoreSupport/WebRequest.h
+++ b/WebKit/android/WebCoreSupport/WebRequest.h
@@ -61,7 +61,7 @@ public:
// Optional, but if used has to be called before start
void appendBytesToUpload(Vector<char>* data);
- void appendFileToUpload(std::string filename);
+ void appendFileToUpload(const std::string& filename);
void start(bool isPrivateBrowsing);
void cancel();