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

Side by Side Diff: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h

Issue 2837943006: [WIP] Support PerformanceResourceTiming for Service Worker Navigation Preload (Closed)
Patch Set: clean up Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698