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

Side by Side Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp

Issue 2218943002: Introduce ServiceWorker.EventDispatchingDelay UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: diff from https://codereview.chromium.org/2249063004/#ps40001 Created 4 years, 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 void ServiceWorkerGlobalScopeClientImpl::didHandleActivateEvent(int eventID, Web ServiceWorkerEventResult result) 80 void ServiceWorkerGlobalScopeClientImpl::didHandleActivateEvent(int eventID, Web ServiceWorkerEventResult result)
81 { 81 {
82 m_client.didHandleActivateEvent(eventID, result); 82 m_client.didHandleActivateEvent(eventID, result);
83 } 83 }
84 84
85 void ServiceWorkerGlobalScopeClientImpl::didHandleExtendableMessageEvent(int eve ntID, WebServiceWorkerEventResult result) 85 void ServiceWorkerGlobalScopeClientImpl::didHandleExtendableMessageEvent(int eve ntID, WebServiceWorkerEventResult result)
86 { 86 {
87 m_client.didHandleExtendableMessageEvent(eventID, result); 87 m_client.didHandleExtendableMessageEvent(eventID, result);
88 } 88 }
89 89
90 void ServiceWorkerGlobalScopeClientImpl::respondToFetchEvent(int responseID) 90 void ServiceWorkerGlobalScopeClientImpl::respondToFetchEvent(int responseID, dou ble eventDispatchTime)
91 { 91 {
92 m_client.respondToFetchEvent(responseID); 92 m_client.respondToFetchEvent(responseID, eventDispatchTime);
93 } 93 }
94 94
95 void ServiceWorkerGlobalScopeClientImpl::respondToFetchEvent(int responseID, con st WebServiceWorkerResponse& response) 95 void ServiceWorkerGlobalScopeClientImpl::respondToFetchEvent(int responseID, con st WebServiceWorkerResponse& response, double eventDispatchTime)
96 { 96 {
97 m_client.respondToFetchEvent(responseID, response); 97 m_client.respondToFetchEvent(responseID, response, eventDispatchTime);
98 } 98 }
99 99
100 void ServiceWorkerGlobalScopeClientImpl::didHandleFetchEvent(int eventFinishID, WebServiceWorkerEventResult result) 100 void ServiceWorkerGlobalScopeClientImpl::didHandleFetchEvent(int eventFinishID, WebServiceWorkerEventResult result)
101 { 101 {
102 m_client.didHandleFetchEvent(eventFinishID, result); 102 m_client.didHandleFetchEvent(eventFinishID, result);
103 } 103 }
104 104
105 void ServiceWorkerGlobalScopeClientImpl::didHandleInstallEvent(int installEventI D, WebServiceWorkerEventResult result) 105 void ServiceWorkerGlobalScopeClientImpl::didHandleInstallEvent(int installEventI D, WebServiceWorkerEventResult result)
106 { 106 {
107 m_client.didHandleInstallEvent(installEventID, result); 107 m_client.didHandleInstallEvent(installEventID, result);
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 { 161 {
162 m_client.registerForeignFetchScopes(subScopes, origins); 162 m_client.registerForeignFetchScopes(subScopes, origins);
163 } 163 }
164 164
165 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServic eWorkerContextClient& client) 165 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServic eWorkerContextClient& client)
166 : m_client(client) 166 : m_client(client)
167 { 167 {
168 } 168 }
169 169
170 } // namespace blink 170 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698