OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 virtual void DispatchPaymentRequestEvent(int event_id, | 118 virtual void DispatchPaymentRequestEvent(int event_id, |
119 const WebPaymentAppRequest&) = 0; | 119 const WebPaymentAppRequest&) = 0; |
120 | 120 |
121 virtual void OnNavigationPreloadResponse( | 121 virtual void OnNavigationPreloadResponse( |
122 int fetch_event_id, | 122 int fetch_event_id, |
123 std::unique_ptr<WebURLResponse>, | 123 std::unique_ptr<WebURLResponse>, |
124 std::unique_ptr<WebDataConsumerHandle>) = 0; | 124 std::unique_ptr<WebDataConsumerHandle>) = 0; |
125 virtual void OnNavigationPreloadError( | 125 virtual void OnNavigationPreloadError( |
126 int fetch_event_id, | 126 int fetch_event_id, |
127 std::unique_ptr<WebServiceWorkerError>) = 0; | 127 std::unique_ptr<WebServiceWorkerError>) = 0; |
| 128 virtual void OnNavigationPreloadComplete(int fetch_event_id, |
| 129 double completion_time, |
| 130 int64_t encoded_data_length, |
| 131 int64_t encoded_body_length, |
| 132 int64_t decoded_body_length) = 0; |
128 }; | 133 }; |
129 | 134 |
130 } // namespace blink | 135 } // namespace blink |
131 | 136 |
132 #endif // WebServiceWorkerContextProxy_h | 137 #endif // WebServiceWorkerContextProxy_h |
OLD | NEW |