| OLD | NEW |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_SPDY_SERVER_PUSH_DELEGATE_H_ | 5 #ifndef NET_SPDY_SERVER_PUSH_DELEGATE_H_ |
| 6 #define NET_SPDY_SERVER_PUSH_DELEGATE_H_ | 6 #define NET_SPDY_SERVER_PUSH_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "net/base/net_export.h" | 8 #include "net/base/net_export.h" |
| 9 #include "net/log/net_log_with_source.h" | 9 #include "net/log/net_log_with_source.h" |
| 10 #include "url/gurl.h" | 10 #include "url/gurl.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 virtual ~ServerPushDelegate() {} | 30 virtual ~ServerPushDelegate() {} |
| 31 | 31 |
| 32 // Invoked by session when a push promise has been received. | 32 // Invoked by session when a push promise has been received. |
| 33 virtual void OnPush(std::unique_ptr<ServerPushHelper> push_helper, | 33 virtual void OnPush(std::unique_ptr<ServerPushHelper> push_helper, |
| 34 const NetLogWithSource& session_net_log) = 0; | 34 const NetLogWithSource& session_net_log) = 0; |
| 35 }; | 35 }; |
| 36 | 36 |
| 37 } // namespace net | 37 } // namespace net |
| 38 | 38 |
| 39 #endif // NET_SPDY_SERVER_PUSH_DELEGATE_H_ | 39 #endif // NET_SPDY_SERVER_PUSH_DELEGATE_H_ |
| OLD | NEW |