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

Side by Side Diff: net/websockets/websocket_job.h

Issue 6749044: Remove async functionality from net::CookiePolicy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 9 years, 8 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
« no previous file with comments | « net/url_request/url_request_unittest.cc ('k') | net/websockets/websocket_job.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 NET_WEBSOCKETS_WEBSOCKET_JOB_H_ 5 #ifndef NET_WEBSOCKETS_WEBSOCKET_JOB_H_
6 #define NET_WEBSOCKETS_WEBSOCKET_JOB_H_ 6 #define NET_WEBSOCKETS_WEBSOCKET_JOB_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 CompletionCallback* callback_; // for throttling. 101 CompletionCallback* callback_; // for throttling.
102 102
103 scoped_ptr<WebSocketHandshakeRequestHandler> handshake_request_; 103 scoped_ptr<WebSocketHandshakeRequestHandler> handshake_request_;
104 scoped_ptr<WebSocketHandshakeResponseHandler> handshake_response_; 104 scoped_ptr<WebSocketHandshakeResponseHandler> handshake_response_;
105 105
106 size_t handshake_request_sent_; 106 size_t handshake_request_sent_;
107 107
108 std::vector<std::string> response_cookies_; 108 std::vector<std::string> response_cookies_;
109 size_t response_cookies_save_index_; 109 size_t response_cookies_save_index_;
110 110
111 CompletionCallbackImpl<WebSocketJob> can_get_cookies_callback_;
112 CompletionCallbackImpl<WebSocketJob> can_set_cookie_callback_;
113
114 scoped_ptr<WebSocketFrameHandler> send_frame_handler_; 111 scoped_ptr<WebSocketFrameHandler> send_frame_handler_;
115 scoped_refptr<DrainableIOBuffer> current_buffer_; 112 scoped_refptr<DrainableIOBuffer> current_buffer_;
116 scoped_ptr<WebSocketFrameHandler> receive_frame_handler_; 113 scoped_ptr<WebSocketFrameHandler> receive_frame_handler_;
117 114
118 DISALLOW_COPY_AND_ASSIGN(WebSocketJob); 115 DISALLOW_COPY_AND_ASSIGN(WebSocketJob);
119 }; 116 };
120 117
121 } // namespace 118 } // namespace
122 119
123 #endif // NET_WEBSOCKETS_WEBSOCKET_JOB_H_ 120 #endif // NET_WEBSOCKETS_WEBSOCKET_JOB_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request_unittest.cc ('k') | net/websockets/websocket_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698