| 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:
|
|
|