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

Side by Side Diff: net/spdy/push_promise_helper.h

Issue 2346383003: Deprecated: Server Push Cancellation: add a interface PushPromiseHelper
Patch Set: Implemente PushPromiseHelper::Cancel() 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 unified diff | Download patch
« no previous file with comments | « net/quic/chromium/quic_chromium_client_session.cc ('k') | net/spdy/spdy_session.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_HTTP_PUSH_PROMISE_HELPER_H_
6 #define NET_HTTP_PUSH_PROMISE_HELPER_H_
7
8 #include "net/base/net_export.h"
9 #include "url/gurl.h"
10
11 namespace net {
12
13 // An interface to a class that reflects information on the pushed request.
14 class NET_EXPORT PushPromiseHelper {
15 public:
16 virtual ~PushPromiseHelper() {}
17
18 // Cancels the push if it is not claimed yet.
19 virtual void Cancel() = 0;
20
21 // Gets the URL of the pushed request.
22 virtual const GURL& GetURL() = 0;
23 };
24
25 } // namespace net
26
27 #endif // NET_HTTP_PUSH_PROMISE_HELPER_H_
OLDNEW
« no previous file with comments | « net/quic/chromium/quic_chromium_client_session.cc ('k') | net/spdy/spdy_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698