| Index: webkit/glue/resource_type.h
|
| diff --git a/webkit/glue/resource_type.h b/webkit/glue/resource_type.h
|
| index e9ae3b6e8bb7474c5bcbb4f278446322fae2d5ff..ebe7c8c4e1c760c28d45280d94f7dcb3d0a642e6 100644
|
| --- a/webkit/glue/resource_type.h
|
| +++ b/webkit/glue/resource_type.h
|
| @@ -25,6 +25,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.
|
| };
|
| @@ -51,7 +52,8 @@ class ResourceType {
|
| type == IMAGE ||
|
| type == FONT_RESOURCE ||
|
| type == SUB_RESOURCE ||
|
| - type == WORKER;
|
| + type == WORKER ||
|
| + type == XHR;
|
| }
|
|
|
| private:
|
|
|