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

Side by Side Diff: content/renderer/service_worker/service_worker_script_context.h

Issue 966393002: ServiceWorkerVersion: remove unused parameter in DispatchInstallEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build fix Created 5 years, 9 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_ 5 #ifndef CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_
6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_ 6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 typedef IDMap<blink::WebServiceWorkerClientsCallbacks, IDMapOwnPointer> 106 typedef IDMap<blink::WebServiceWorkerClientsCallbacks, IDMapOwnPointer>
107 ClientsCallbacksMap; 107 ClientsCallbacksMap;
108 typedef IDMap<blink::WebServiceWorkerClientsClaimCallbacks, IDMapOwnPointer> 108 typedef IDMap<blink::WebServiceWorkerClientsClaimCallbacks, IDMapOwnPointer>
109 ClaimClientsCallbacksMap; 109 ClaimClientsCallbacksMap;
110 typedef IDMap<blink::WebServiceWorkerClientCallbacks, IDMapOwnPointer> 110 typedef IDMap<blink::WebServiceWorkerClientCallbacks, IDMapOwnPointer>
111 ClientCallbacksMap; 111 ClientCallbacksMap;
112 typedef IDMap<blink::WebServiceWorkerSkipWaitingCallbacks, IDMapOwnPointer> 112 typedef IDMap<blink::WebServiceWorkerSkipWaitingCallbacks, IDMapOwnPointer>
113 SkipWaitingCallbacksMap; 113 SkipWaitingCallbacksMap;
114 114
115 void OnActivateEvent(int request_id); 115 void OnActivateEvent(int request_id);
116 void OnInstallEvent(int request_id, int active_version_id); 116 void OnInstallEvent(int request_id);
117 void OnFetchEvent(int request_id, const ServiceWorkerFetchRequest& request); 117 void OnFetchEvent(int request_id, const ServiceWorkerFetchRequest& request);
118 void OnSyncEvent(int request_id); 118 void OnSyncEvent(int request_id);
119 void OnNotificationClickEvent( 119 void OnNotificationClickEvent(
120 int request_id, 120 int request_id,
121 const std::string& notification_id, 121 const std::string& notification_id,
122 const PlatformNotificationData& notification_data); 122 const PlatformNotificationData& notification_data);
123 void OnPushEvent(int request_id, const std::string& data); 123 void OnPushEvent(int request_id, const std::string& data);
124 void OnGeofencingEvent(int request_id, 124 void OnGeofencingEvent(int request_id,
125 blink::WebGeofencingEventType event_type, 125 blink::WebGeofencingEventType event_type,
126 const std::string& region_id, 126 const std::string& region_id,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 std::map<int, base::TimeTicks> install_start_timings_; 181 std::map<int, base::TimeTicks> install_start_timings_;
182 std::map<int, base::TimeTicks> notification_click_start_timings_; 182 std::map<int, base::TimeTicks> notification_click_start_timings_;
183 std::map<int, base::TimeTicks> push_start_timings_; 183 std::map<int, base::TimeTicks> push_start_timings_;
184 184
185 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerScriptContext); 185 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerScriptContext);
186 }; 186 };
187 187
188 } // namespace content 188 } // namespace content
189 189
190 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_ 190 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_SCRIPT_CONTEXT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698