summaryrefslogtreecommitdiffstats
path: root/net/url_request
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-24 17:20:49 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-24 17:20:49 +0000
commit361fe8abbf9d24b4f7d6dfe011034205b8a57c01 (patch)
treea820073fa20ebb5a9d8288e1444e27c9d4c39553 /net/url_request
parent97b37f0dfa7883a1457534d9c2e3702361bad3ce (diff)
downloadchromium_src-361fe8abbf9d24b4f7d6dfe011034205b8a57c01.zip
chromium_src-361fe8abbf9d24b4f7d6dfe011034205b8a57c01.tar.gz
chromium_src-361fe8abbf9d24b4f7d6dfe011034205b8a57c01.tar.bz2
net: Implement DNS certificate provenance check uploads.
BUG=none TEST=none http://codereview.chromium.org/4830001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67275 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request')
-rw-r--r--net/url_request/url_request.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index 01f5984..66c0aa9 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -302,7 +302,7 @@ class URLRequest : public NonThreadSafe {
// expected modification time is provided (non-zero), it will be used to
// check if the underlying file has been changed or not. The granularity of
// the time comparison is 1 second since time_t precision is used in WebKit.
- void AppendBytesToUpload(const char* bytes, int bytes_len);
+ void AppendBytesToUpload(const char* bytes, int bytes_len); // takes a copy
void AppendFileRangeToUpload(const FilePath& file_path,
uint64 offset, uint64 length,
const base::Time& expected_modification_time);
@@ -431,9 +431,7 @@ class URLRequest : public NonThreadSafe {
// and the response has not yet been called).
bool is_pending() const { return is_pending_; }
- // Returns the error status of the request. This value is 0 if there is no
- // error. Otherwise, it is a value defined by the operating system (e.g., an
- // error code returned by GetLastError() on windows).
+ // Returns the error status of the request.
const URLRequestStatus& status() const { return status_; }
// This method is called to start the request. The delegate will receive