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

Side by Side Diff: Source/modules/websockets/WebSocketDeflateFramer.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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 WebSocketDeflateFramer_h 31 #ifndef WebSocketDeflateFramer_h
32 #define WebSocketDeflateFramer_h 32 #define WebSocketDeflateFramer_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 class WebSocketDeflateFramer; 42 class WebSocketDeflateFramer;
43 43
44 class DeflateResultHolder { 44 class DeflateResultHolder {
45 WTF_MAKE_FAST_ALLOCATED; 45 WTF_MAKE_FAST_ALLOCATED;
46 public: 46 public:
47 static PassOwnPtr<DeflateResultHolder> create(WebSocketDeflateFramer* framer ) 47 static PassOwnPtr<DeflateResultHolder> create(WebSocketDeflateFramer* framer )
48 { 48 {
49 return adoptPtr(new DeflateResultHolder(framer)); 49 return adoptPtr(new DeflateResultHolder(framer));
50 } 50 }
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 private: 107 private:
108 bool m_enabled; 108 bool m_enabled;
109 OwnPtr<WebSocketDeflater> m_deflater; 109 OwnPtr<WebSocketDeflater> m_deflater;
110 OwnPtr<WebSocketInflater> m_inflater; 110 OwnPtr<WebSocketInflater> m_inflater;
111 }; 111 };
112 112
113 } 113 }
114 114
115 #endif // WebSocketDeflateFramer_h 115 #endif // WebSocketDeflateFramer_h
OLDNEW
« no previous file with comments | « Source/modules/websockets/WebSocketChannelClient.h ('k') | Source/modules/websockets/WebSocketDeflateFramer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698