| Index: webkit/glue/resource_type.h
|
| diff --git a/webkit/glue/resource_type.h b/webkit/glue/resource_type.h
|
| index e9ae3b6e8bb7474c5bcbb4f278446322fae2d5ff..2e267325260d67b89958e14c7622d178569f5da2 100644
|
| --- a/webkit/glue/resource_type.h
|
| +++ b/webkit/glue/resource_type.h
|
| @@ -6,6 +6,7 @@
|
| #define WEBKIT_GLUE_RESOURCE_TYPE_H__
|
|
|
| #include "base/basictypes.h"
|
| +#include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h"
|
|
|
| class ResourceType {
|
| public:
|
| @@ -37,6 +38,8 @@ class ResourceType {
|
| return static_cast<Type>(type);
|
| }
|
|
|
| + static Type FromTargetType(WebKit::WebURLRequest::TargetType type);
|
| +
|
| static bool IsFrame(ResourceType::Type type) {
|
| return type == MAIN_FRAME || type == SUB_FRAME;
|
| }
|
|
|