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

Unified Diff: net/spdy/spdy_framer_decoder_adapter.cc

Issue 2414293002: Deprecates --spdy_framer_use_new_methods4. (Closed)
Patch Set: Created 4 years, 2 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_framer.cc ('k') | net/spdy/spdy_framer_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_framer_decoder_adapter.cc
diff --git a/net/spdy/spdy_framer_decoder_adapter.cc b/net/spdy/spdy_framer_decoder_adapter.cc
index 949cbdfa8ba38532fb9e6cf559479c576690acfb..f8c6f67414a33be067b027714c11c74a009d2fa7 100644
--- a/net/spdy/spdy_framer_decoder_adapter.cc
+++ b/net/spdy/spdy_framer_decoder_adapter.cc
@@ -6,6 +6,7 @@
#include <memory>
#include <string>
+#include <utility>
#include "base/format_macros.h"
#include "base/logging.h"
@@ -233,12 +234,6 @@ class NestedSpdyFramerDecoder : public SpdyFramerDecoderAdapter {
size_t ProcessInput(const char* data, size_t len) override {
DVLOG(2) << "ProcessInput(data, " << len << ")";
- const bool use_new_methods = outer_->use_new_methods_for_test();
- if (framer_.use_new_methods_for_test() != use_new_methods) {
- DVLOG(1) << "Overriding use_new_methods_ in nested framer, setting="
- << (use_new_methods ? "true" : "false");
- framer_.set_use_new_methods_for_test(use_new_methods);
- }
size_t result = framer_.ProcessInput(data, len);
DVLOG(2) << "ProcessInput(data, " << len << ") returning " << result;
return result;
« no previous file with comments | « net/spdy/spdy_framer.cc ('k') | net/spdy/spdy_framer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698