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

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

Issue 16199002: DevTools: Support asynchronous loading of resources without cross origin checks through backend for… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ... Created 7 years, 7 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 | « Source/core/inspector/InspectorResourceAgent.cpp ('k') | 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 0d7a05328268ee2d6ac7bdaa65fb80208b7226f8..4767d7664980514bd9538f753cd28fc44824bd2a 100644
--- a/Source/core/xml/XMLHttpRequest.h
+++ b/Source/core/xml/XMLHttpRequest.h
@@ -114,7 +114,8 @@ public:
void setTimeout(unsigned long timeout, ExceptionCode&);
#endif
- void sendFromInspector(PassRefPtr<FormData>, ExceptionCode&);
+ void sendForInspector(ExceptionCode&);
+ void sendForInspectorXHRReplay(PassRefPtr<FormData>, ExceptionCode&);
// Expose HTTP validation methods for other untrusted requests.
static bool isAllowedHTTPMethod(const String&);
@@ -227,6 +228,7 @@ private:
bool m_uploadComplete;
bool m_sameOriginRequest;
+ bool m_allowCrossOriginRequests;
// Used for onprogress tracking
long long m_receivedLength;
« no previous file with comments | « Source/core/inspector/InspectorResourceAgent.cpp ('k') | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698