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

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

Issue 2550363002: Add LayoutTests for URL list of Response (Closed)
Patch Set: s/thired/third/ Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/fetch/FetchResponseData.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/FetchResponseData.cpp b/third_party/WebKit/Source/modules/fetch/FetchResponseData.cpp
index 7c9918f328211e267b5bba8c82c26537d3927077..e8e7b98a69c68b6c626fd23903c7496e28008277 100644
--- a/third_party/WebKit/Source/modules/fetch/FetchResponseData.cpp
+++ b/third_party/WebKit/Source/modules/fetch/FetchResponseData.cpp
@@ -194,6 +194,13 @@ void FetchResponseData::setURLList(const Vector<KURL>& urlList) {
m_urlList = urlList;
}
+const Vector<KURL>& FetchResponseData::internalURLList() const {
+ if (m_internalResponse) {
+ return m_internalResponse->m_urlList;
+ }
+ return m_urlList;
+}
+
FetchResponseData* FetchResponseData::clone(ScriptState* scriptState) {
FetchResponseData* newResponse = create();
newResponse->m_type = m_type;
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/FetchResponseData.h ('k') | third_party/WebKit/Source/modules/fetch/Response.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698