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

Unified Diff: net/tools/quic/test_tools/push_promise_delegate.h

Issue 2497083002: Server push cancellation: clean up the code to make sure shared code is in sync with internal code. (Closed)
Patch Set: Created 4 years, 1 month 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/quic/test_tools/quic_test_utils.cc ('k') | net/tools/quic/test_tools/push_promise_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/test_tools/push_promise_delegate.h
diff --git a/net/tools/quic/test_tools/push_promise_delegate.h b/net/tools/quic/test_tools/push_promise_delegate.h
deleted file mode 100644
index 4cd34cc087058f75d268c79df135b05a730a77c4..0000000000000000000000000000000000000000
--- a/net/tools/quic/test_tools/push_promise_delegate.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2016 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_TOOLS_QUIC_TEST_TOOLS_PUSH_PROMISE_DELEGATE_H_
-#define NET_TOOLS_QUIC_TEST_TOOLS_PUSH_PROMISE_DELEGATE_H_
-
-#include "net/quic/core/quic_client_push_promise_index.h"
-
-namespace net {
-namespace test {
-
-class PushPromiseDelegate : public QuicClientPushPromiseIndex::Delegate {
- public:
- explicit PushPromiseDelegate(bool match);
-
- bool CheckVary(const SpdyHeaderBlock& client_request,
- const SpdyHeaderBlock& promise_request,
- const SpdyHeaderBlock& promise_response) override;
-
- void OnRendezvousResult(QuicSpdyStream* stream) override;
-
- QuicSpdyStream* rendezvous_stream() { return rendezvous_stream_; }
- bool rendezvous_fired() { return rendezvous_fired_; }
-
- private:
- bool match_;
- bool rendezvous_fired_;
- QuicSpdyStream* rendezvous_stream_;
-};
-
-} // namespace test
-} // namespace net
-
-#endif // NET_TOOLS_QUIC_TEST_TOOLS_PUSH_PROMISE_DELEGATE_H_
« no previous file with comments | « net/quic/test_tools/quic_test_utils.cc ('k') | net/tools/quic/test_tools/push_promise_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698