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

Unified Diff: net/spdy/spdy_headers_handler_interface.h

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/spdy/spdy_header_indexing_test.cc ('k') | net/spdy/spdy_http_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_headers_handler_interface.h
diff --git a/net/spdy/spdy_headers_handler_interface.h b/net/spdy/spdy_headers_handler_interface.h
deleted file mode 100644
index 26896ab611ac98e080abdadb359b942767a25087..0000000000000000000000000000000000000000
--- a/net/spdy/spdy_headers_handler_interface.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2015 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_HEADERS_HANDLER_INTERFACE_H_
-#define NET_SPDY_SPDY_HEADERS_HANDLER_INTERFACE_H_
-
-#include <stddef.h>
-
-#include "net/base/net_export.h"
-#include "net/spdy/platform/api/spdy_string_piece.h"
-
-namespace net {
-
-// This interface defines how an object that accepts header data should behave.
-// It is used by both SpdyHeadersBlockParser and HpackDecoder.
-class NET_EXPORT_PRIVATE SpdyHeadersHandlerInterface {
- public:
- virtual ~SpdyHeadersHandlerInterface() {}
-
- // A callback method which notifies when the parser starts handling a new
- // header block. Will only be called once per block, even if it extends into
- // CONTINUATION frames.
- virtual void OnHeaderBlockStart() = 0;
-
- // A callback method which notifies on a header key value pair. Multiple
- // values for a given key will be emitted as multiple calls to OnHeader.
- virtual void OnHeader(SpdyStringPiece key, SpdyStringPiece value) = 0;
-
- // TODO(yasong): deprecate this method with
- // --chromium_http2_flag_log_compressed_size.
- // A callback method which notifies when the parser finishes handling a
- // header block (i.e. the containing frame has the END_HEADERS flag set).
- // Also indicates the total number of bytes in this block.
- virtual void OnHeaderBlockEnd(size_t uncompressed_header_bytes) = 0;
-
- // A callback method which notifies when the parser finishes handling a
- // header block (i.e. the containing frame has the END_HEADERS flag set).
- // Also indicates the total number of bytes in this block.
- virtual void OnHeaderBlockEnd(size_t uncompressed_header_bytes,
- size_t compressed_header_bytes) = 0;
-};
-
-} // namespace net
-
-#endif // NET_SPDY_SPDY_HEADERS_HANDLER_INTERFACE_H_
« no previous file with comments | « net/spdy/spdy_header_indexing_test.cc ('k') | net/spdy/spdy_http_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698