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

Side by Side Diff: webkit/plugins/ppapi/ppb_websocket_impl.h

Issue 9619021: WebSocket Pepper API: Implement extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for the final review (revised) Created 8 years, 9 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_WEBSOCKET_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_WEBSOCKET_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_WEBSOCKET_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPB_WEBSOCKET_IMPL_H_
7 7
8 #include <queue> 8 #include <queue>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 PP_Var* receive_callback_var_; 80 PP_Var* receive_callback_var_;
81 bool wait_for_receive_; 81 bool wait_for_receive_;
82 std::queue< scoped_refptr< ::ppapi::Var> > received_messages_; 82 std::queue< scoped_refptr< ::ppapi::Var> > received_messages_;
83 83
84 scoped_refptr< ::ppapi::TrackedCallback> close_callback_; 84 scoped_refptr< ::ppapi::TrackedCallback> close_callback_;
85 uint16_t close_code_; 85 uint16_t close_code_;
86 scoped_refptr< ::ppapi::StringVar> close_reason_; 86 scoped_refptr< ::ppapi::StringVar> close_reason_;
87 PP_Bool close_was_clean_; 87 PP_Bool close_was_clean_;
88 88
89 scoped_refptr< ::ppapi::StringVar> empty_string_; 89 scoped_refptr< ::ppapi::StringVar> empty_string_;
90 scoped_refptr< ::ppapi::StringVar> extensions_;
91 scoped_refptr< ::ppapi::StringVar> url_; 90 scoped_refptr< ::ppapi::StringVar> url_;
92 91
93 uint64_t buffered_amount_; 92 uint64_t buffered_amount_;
94 uint64_t buffered_amount_after_close_; 93 uint64_t buffered_amount_after_close_;
95 94
96 DISALLOW_COPY_AND_ASSIGN(PPB_WebSocket_Impl); 95 DISALLOW_COPY_AND_ASSIGN(PPB_WebSocket_Impl);
97 }; 96 };
98 97
99 } // namespace ppapi 98 } // namespace ppapi
100 } // namespace webkit 99 } // namespace webkit
101 100
102 #endif // WEBKIT_PLUGINS_PPAPI_PPB_WEBSOCKET_IMPL_H_ 101 #endif // WEBKIT_PLUGINS_PPAPI_PPB_WEBSOCKET_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698