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

Unified Diff: Source/core/xml/XMLHttpRequest.h

Issue 455193002: XMLHttpRequest: Factor out decorder/document init (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: braces Created 6 years, 4 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 | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XMLHttpRequest.h
diff --git a/Source/core/xml/XMLHttpRequest.h b/Source/core/xml/XMLHttpRequest.h
index a17d17314b2b614e6ebced02c1dde15843217c60..d2060c8c27ee07eae3983a779c186437975e60f5 100644
--- a/Source/core/xml/XMLHttpRequest.h
+++ b/Source/core/xml/XMLHttpRequest.h
@@ -163,6 +163,9 @@ private:
AtomicString responseMIMEType() const;
bool responseIsXML() const;
+ PassOwnPtr<TextResourceDecoder> createDecoder() const;
+
+ void initResponseDocument();
bool areMethodAndURLValidForSend();
bool initSend(ExceptionState&);
@@ -252,7 +255,7 @@ private:
bool m_includeCredentials;
// Used to skip m_responseDocument creation if it's done previously. We need
// this separate flag since m_responseDocument can be 0 for some cases.
- bool m_createdDocument;
+ bool m_parsedResponse;
bool m_error;
bool m_uploadEventsAllowed;
bool m_uploadComplete;
« no previous file with comments | « no previous file | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698