Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Side by Side Diff: Source/modules/websockets/WebSocketPerMessageDeflate.h

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 19 matching lines...) Expand all
30 30
31 #ifndef WebSocketPerMessageDeflate_h 31 #ifndef WebSocketPerMessageDeflate_h
32 #define WebSocketPerMessageDeflate_h 32 #define WebSocketPerMessageDeflate_h
33 33
34 #include "modules/websockets/WebSocketDeflater.h" 34 #include "modules/websockets/WebSocketDeflater.h"
35 #include "modules/websockets/WebSocketExtensionProcessor.h" 35 #include "modules/websockets/WebSocketExtensionProcessor.h"
36 #include "modules/websockets/WebSocketFrame.h" 36 #include "modules/websockets/WebSocketFrame.h"
37 #include "wtf/OwnPtr.h" 37 #include "wtf/OwnPtr.h"
38 #include "wtf/PassOwnPtr.h" 38 #include "wtf/PassOwnPtr.h"
39 39
40 namespace WebCore { 40 namespace blink {
41 41
42 // WebSocketPerMessageDeflate is a deflater / inflater for a WebSocket message w ith DEFLATE algorithm. 42 // WebSocketPerMessageDeflate is a deflater / inflater for a WebSocket message w ith DEFLATE algorithm.
43 // See http://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-08 43 // See http://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-08
44 class WebSocketPerMessageDeflate { 44 class WebSocketPerMessageDeflate {
45 public: 45 public:
46 WebSocketPerMessageDeflate(); 46 WebSocketPerMessageDeflate();
47 47
48 PassOwnPtr<WebSocketExtensionProcessor> createExtensionProcessor(); 48 PassOwnPtr<WebSocketExtensionProcessor> createExtensionProcessor();
49 49
50 void enable(int windowBits, WebSocketDeflater::ContextTakeOverMode); 50 void enable(int windowBits, WebSocketDeflater::ContextTakeOverMode);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 bool m_deflateOngoing; 84 bool m_deflateOngoing;
85 bool m_inflateOngoing; 85 bool m_inflateOngoing;
86 String m_failureReason; 86 String m_failureReason;
87 OwnPtr<WebSocketDeflater> m_deflater; 87 OwnPtr<WebSocketDeflater> m_deflater;
88 OwnPtr<WebSocketInflater> m_inflater; 88 OwnPtr<WebSocketInflater> m_inflater;
89 }; 89 };
90 90
91 } 91 }
92 92
93 #endif // WebSocketPerMessageDeflate_h 93 #endif // WebSocketPerMessageDeflate_h
OLDNEW
« no previous file with comments | « Source/modules/websockets/WebSocketHandshake.cpp ('k') | Source/modules/websockets/WebSocketPerMessageDeflate.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698