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

Unified Diff: webkit/glue/resource_type.h

Issue 7551019: Add support for WebURLRequest::TargetIsXHR (part I) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 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 | « content/common/common_param_traits.cc ('k') | webkit/glue/resource_type.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/resource_type.h
diff --git a/webkit/glue/resource_type.h b/webkit/glue/resource_type.h
index 2e267325260d67b89958e14c7622d178569f5da2..fd708d74d438b6186b41072d700eebb6458a7c20 100644
--- a/webkit/glue/resource_type.h
+++ b/webkit/glue/resource_type.h
@@ -26,6 +26,7 @@ class ResourceType {
PREFETCH, // an explicitly requested prefetch
PRERENDER, // an explicitly requested prerender
FAVICON, // a favicon
+ XHR, // a XMLHttpRequest
LAST_TYPE // Place holder so we don't need to change ValidType
// everytime.
};
@@ -54,7 +55,8 @@ class ResourceType {
type == IMAGE ||
type == FONT_RESOURCE ||
type == SUB_RESOURCE ||
- type == WORKER;
+ type == WORKER ||
+ type == XHR;
}
private:
« no previous file with comments | « content/common/common_param_traits.cc ('k') | webkit/glue/resource_type.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698