| Index: extensions/browser/api/web_request/resource_type_ext.h
|
| diff --git a/extensions/browser/api/web_request/resource_type_ext.h b/extensions/browser/api/web_request/resource_type_ext.h
|
| index 80e5e8e494e663d45db42b0b801a98090d873ec4..5b5811e38b19a8713f43316f2e60a7dd55871f0a 100644
|
| --- a/extensions/browser/api/web_request/resource_type_ext.h
|
| +++ b/extensions/browser/api/web_request/resource_type_ext.h
|
| @@ -5,7 +5,6 @@
|
| #ifndef EXTENSIONS_BROWSER_API_WEB_REQUEST_RESOURCE_TYPE_EXT_H_
|
| #define EXTENSIONS_BROWSER_API_WEB_REQUEST_RESOURCE_TYPE_EXT_H_
|
|
|
| -#include "base/logging.h"
|
| #include "content/public/common/resource_type.h"
|
|
|
| namespace extensions {
|
| @@ -13,10 +12,7 @@ namespace extensions {
|
| // Extended version of content::ResourceType, which supports a WebSocket type.
|
| struct ResourceTypeExt {
|
| explicit ResourceTypeExt(bool is_websocket = false)
|
| - : is_websocket(is_websocket) {
|
| - DCHECK(!is_websocket);
|
| - // TODO(pkalinnikov): Allow WebSocket type.
|
| - }
|
| + : is_websocket(is_websocket) {}
|
|
|
| explicit ResourceTypeExt(content::ResourceType resource_type)
|
| : resource_type(resource_type) {}
|
|
|