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

Unified Diff: net/spdy/spdy_frame_producer.h

Issue 10448083: Fix out of order SYN_STEAM frames. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: net/spdy/spdy_frame_producer.h
diff --git a/net/spdy/spdy_frame_producer.h b/net/spdy/spdy_frame_producer.h
new file mode 100644
index 0000000000000000000000000000000000000000..c5d4d8c7b076ace8c0cd09bc547c8847cfd7e783
--- /dev/null
+++ b/net/spdy/spdy_frame_producer.h
@@ -0,0 +1,35 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NET_SPDY_SPDY_FRAME_PRODUCER_H_
+#define NET_SPDY_SPDY_FRAME_PRODUCER_H_
+#pragma once
+
+#include "net/base/request_priority.h"
+#include "net/spdy/spdy_protocol.h"
+
+namespace net {
+
+class SpdyStream;
+
+class NET_EXPORT_PRIVATE SpdyFrameProducer {
+ public:
+ SpdyFrameProducer() {}
+
+ virtual SpdyFrame* ProduceNextFrame() = 0;
+
+ virtual RequestPriority GetPriority() const = 0;
+
+ virtual SpdyStream* GetSpdyStream() const = 0;
+
+ protected:
+ virtual ~SpdyFrameProducer() {}
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(SpdyFrameProducer);
+};
+
+} // namespace net
+
+#endif // NET_SPDY_SPDY_FRAME_PRODUCER_H_

Powered by Google App Engine
This is Rietveld 408576698