summaryrefslogtreecommitdiffstats
path: root/net/tools/flip_server
diff options
context:
space:
mode:
authortimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-27 09:45:32 +0000
committertimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-27 09:45:32 +0000
commitf3d7a9ae7050a86d02d94e3426296c4118131e46 (patch)
tree7606ebd36b8e60c233eb990973f5e45ebdf9befe /net/tools/flip_server
parent4461e9ad89d45872bbd184e952087485168d3873 (diff)
downloadchromium_src-f3d7a9ae7050a86d02d94e3426296c4118131e46.zip
chromium_src-f3d7a9ae7050a86d02d94e3426296c4118131e46.tar.gz
chromium_src-f3d7a9ae7050a86d02d94e3426296c4118131e46.tar.bz2
Revert 225588 "Cleanup of QuicInMemoryCache to sync with interna..."
It has introduced a number of memory leaks, see BUG=299630 > Cleanup of QuicInMemoryCache to sync with internal version. > > Review URL: https://codereview.chromium.org/24596008 TBR=rch@chromium.org Review URL: https://codereview.chromium.org/25013002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225684 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools/flip_server')
-rw-r--r--net/tools/flip_server/balsa_visitor_interface.h1
-rw-r--r--net/tools/flip_server/noop_balsa_visitor.h60
2 files changed, 1 insertions, 60 deletions
diff --git a/net/tools/flip_server/balsa_visitor_interface.h b/net/tools/flip_server/balsa_visitor_interface.h
index 2542723..75283ac 100644
--- a/net/tools/flip_server/balsa_visitor_interface.h
+++ b/net/tools/flip_server/balsa_visitor_interface.h
@@ -178,3 +178,4 @@ class BalsaVisitorInterface {
} // namespace net
#endif // NET_TOOLS_FLIP_SERVER_BALSA_VISITOR_INTERFACE_H_
+
diff --git a/net/tools/flip_server/noop_balsa_visitor.h b/net/tools/flip_server/noop_balsa_visitor.h
deleted file mode 100644
index 04f4aa6..0000000
--- a/net/tools/flip_server/noop_balsa_visitor.h
+++ /dev/null
@@ -1,60 +0,0 @@
-// Copyright 2013 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.
-//
-// Provides empty BalsaVisitorInterface overrides for convenience.
-// Intended to be used as a base class for BalsaVisitorInterface subclasses that
-// only need to override a small number of methods.
-
-#ifndef NET_TOOLS_FLIP_SERVER_NOOP_BALSA_VISITOR_H_
-#define NET_TOOLS_FLIP_SERVER_NOOP_BALSA_VISITOR_H_
-
-#include "net/tools/flip_server/balsa_visitor_interface.h"
-
-namespace net {
-
-// See file comment above.
-class NoOpBalsaVisitor : public BalsaVisitorInterface {
- public:
- NoOpBalsaVisitor() { }
- virtual ~NoOpBalsaVisitor() { }
-
- virtual void ProcessBodyInput(const char* input, size_t size) OVERRIDE { }
- virtual void ProcessBodyData(const char* input, size_t size) OVERRIDE { }
- virtual void ProcessHeaderInput(const char* input, size_t size) OVERRIDE { }
- virtual void ProcessTrailerInput(const char* input, size_t size) OVERRIDE { }
- virtual void ProcessHeaders(const BalsaHeaders& headers) OVERRIDE { }
-
- virtual void ProcessRequestFirstLine(const char* line_input,
- size_t line_length,
- const char* method_input,
- size_t method_length,
- const char* request_uri_input,
- size_t request_uri_length,
- const char* version_input,
- size_t version_length) OVERRIDE { }
- virtual void ProcessResponseFirstLine(const char* line_input,
- size_t line_length,
- const char* version_input,
- size_t version_length,
- const char* status_input,
- size_t status_length,
- const char* reason_input,
- size_t reason_length) OVERRIDE { }
- virtual void ProcessChunkLength(size_t chunk_length) OVERRIDE { }
- virtual void ProcessChunkExtensions(const char* input, size_t size) OVERRIDE {
- }
- virtual void HeaderDone() OVERRIDE { }
- virtual void MessageDone() OVERRIDE { }
- virtual void HandleHeaderError(BalsaFrame* framer) OVERRIDE { }
- virtual void HandleHeaderWarning(BalsaFrame* framer) OVERRIDE { }
- virtual void HandleChunkingError(BalsaFrame* framer) OVERRIDE { }
- virtual void HandleBodyError(BalsaFrame* framer) OVERRIDE { }
-
- private:
- DISALLOW_COPY_AND_ASSIGN(NoOpBalsaVisitor);
-};
-
-} // namespace net
-
-#endif // NET_TOOLS_FLIP_SERVER_NOOP_BALSA_VISITOR_H_