| Index: Source/modules/websockets/WebSocketDeflater.h
|
| diff --git a/Source/modules/websockets/WebSocketDeflater.h b/Source/modules/websockets/WebSocketDeflater.h
|
| index 5de5201ce1a449f75f86e999c2a97d17897d181b..25f1bf2c7099395fde2184a2e385e628a45ced4f 100644
|
| --- a/Source/modules/websockets/WebSocketDeflater.h
|
| +++ b/Source/modules/websockets/WebSocketDeflater.h
|
| @@ -44,9 +44,13 @@ namespace WebCore {
|
| class WebSocketDeflater {
|
| WTF_MAKE_FAST_ALLOCATED;
|
| public:
|
| + // This enum is reused for histogram. When this needs to be modified, add a
|
| + // new enum for histogram and convert mode values into values in the new
|
| + // enum to keep new data consistent with old one.
|
| enum ContextTakeOverMode {
|
| DoNotTakeOverContext,
|
| - TakeOverContext
|
| + TakeOverContext,
|
| + ContextTakeOverModeMax,
|
| };
|
| static PassOwnPtr<WebSocketDeflater> create(int windowBits, ContextTakeOverMode = TakeOverContext);
|
|
|
|
|