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

Side by Side Diff: net/spdy/spdy_session.h

Issue 8991001: base::Bind: Convert most of webkit/appcache. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fix 2. Created 9 years 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 | « no previous file | webkit/appcache/appcache_disk_cache.h » ('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) 2011 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_SPDY_SPDY_SESSION_H_ 5 #ifndef NET_SPDY_SPDY_SESSION_H_
6 #define NET_SPDY_SPDY_SESSION_H_ 6 #define NET_SPDY_SPDY_SESSION_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <list> 10 #include <list>
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 250
251 struct PendingCreateStream { 251 struct PendingCreateStream {
252 PendingCreateStream(const GURL& url, RequestPriority priority, 252 PendingCreateStream(const GURL& url, RequestPriority priority,
253 scoped_refptr<SpdyStream>* spdy_stream, 253 scoped_refptr<SpdyStream>* spdy_stream,
254 const BoundNetLog& stream_net_log, 254 const BoundNetLog& stream_net_log,
255 const CompletionCallback& callback) 255 const CompletionCallback& callback)
256 : url(&url), 256 : url(&url),
257 priority(priority), 257 priority(priority),
258 spdy_stream(spdy_stream), 258 spdy_stream(spdy_stream),
259 stream_net_log(&stream_net_log), 259 stream_net_log(&stream_net_log),
260 callback(callback) {} 260 callback(callback) {
261 }
262
261 ~PendingCreateStream(); 263 ~PendingCreateStream();
262 264
263 const GURL* url; 265 const GURL* url;
264 RequestPriority priority; 266 RequestPriority priority;
265 scoped_refptr<SpdyStream>* spdy_stream; 267 scoped_refptr<SpdyStream>* spdy_stream;
266 const BoundNetLog* stream_net_log; 268 const BoundNetLog* stream_net_log;
267 CompletionCallback callback; 269 CompletionCallback callback;
268 }; 270 };
269 typedef std::queue<PendingCreateStream, std::list< PendingCreateStream> > 271 typedef std::queue<PendingCreateStream, std::list< PendingCreateStream> >
270 PendingCreateStreamQueue; 272 PendingCreateStreamQueue;
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 const spdy::SpdyControlFlags flags_; 631 const spdy::SpdyControlFlags flags_;
630 const spdy::SpdyStreamId id_; 632 const spdy::SpdyStreamId id_;
631 const spdy::SpdyStreamId associated_stream_; 633 const spdy::SpdyStreamId associated_stream_;
632 634
633 DISALLOW_COPY_AND_ASSIGN(NetLogSpdySynParameter); 635 DISALLOW_COPY_AND_ASSIGN(NetLogSpdySynParameter);
634 }; 636 };
635 637
636 } // namespace net 638 } // namespace net
637 639
638 #endif // NET_SPDY_SPDY_SESSION_H_ 640 #endif // NET_SPDY_SPDY_SESSION_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/appcache/appcache_disk_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698