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

Unified Diff: third_party/WebKit/Source/modules/fetch/FetchResponseData.h

Issue 1455693003: Add comment to BodyStreamBuffer accessors for Response class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: a Created 4 years, 5 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/fetch/Response.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/fetch/FetchResponseData.h
diff --git a/third_party/WebKit/Source/modules/fetch/FetchResponseData.h b/third_party/WebKit/Source/modules/fetch/FetchResponseData.h
index b4aab0268d9119362781d97c803220e01cc7da06..4b0c0635acd27198986248c157f0c96b34d8558c 100644
--- a/third_party/WebKit/Source/modules/fetch/FetchResponseData.h
+++ b/third_party/WebKit/Source/modules/fetch/FetchResponseData.h
@@ -59,6 +59,8 @@ public:
FetchHeaderList* headerList() const { return m_headerList.get(); }
BodyStreamBuffer* buffer() const { return m_buffer; }
String mimeType() const;
+ // Returns the BodyStreamBuffer of |m_internalResponse| if any. Otherwise,
+ // returns |m_buffer|.
BodyStreamBuffer* internalBuffer() const;
String internalMIMEType() const;
int64_t responseTime() const { return m_responseTime; }
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/fetch/Response.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698