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

Unified Diff: Source/core/fetch/Resource.h

Issue 356723003: Add 'XHR' to the Resource::Type enum, and use it for XHR requests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Preflight. Created 6 years, 6 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/fetch/RawResource.h ('k') | Source/core/fetch/Resource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/Resource.h
diff --git a/Source/core/fetch/Resource.h b/Source/core/fetch/Resource.h
index 829cd67cc864df56b95811416d5042c0ab390bff..aab21a2addae39519e8a5376e14089cc4b0aa21a 100644
--- a/Source/core/fetch/Resource.h
+++ b/Source/core/fetch/Resource.h
@@ -71,7 +71,8 @@ public:
LinkSubresource,
TextTrack,
ImportResource,
- Media // Audio or video file requested by a HTML5 media element
+ Media, // Audio or video file requested by a HTML5 media element
+ XMLHttpRequest
};
enum Status {
@@ -154,6 +155,7 @@ public:
|| type() == LinkSubresource
|| type() == Media
|| type() == Raw
+ || type() == XMLHttpRequest
|| type() == TextTrack;
}
« no previous file with comments | « Source/core/fetch/RawResource.h ('k') | Source/core/fetch/Resource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698