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

Side by Side Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h

Issue 2416863002: Use fetch_event_id (fetchEventID in blink) for FetchEvent (Closed)
Patch Set: Created 4 years, 2 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) 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 const WebString& message, 81 const WebString& message,
82 const WebSecurityOrigin& sourceOrigin, 82 const WebSecurityOrigin& sourceOrigin,
83 const WebMessagePortChannelArray&, 83 const WebMessagePortChannelArray&,
84 const WebServiceWorkerClientInfo&) override; 84 const WebServiceWorkerClientInfo&) override;
85 void dispatchExtendableMessageEvent( 85 void dispatchExtendableMessageEvent(
86 int eventID, 86 int eventID,
87 const WebString& message, 87 const WebString& message,
88 const WebSecurityOrigin& sourceOrigin, 88 const WebSecurityOrigin& sourceOrigin,
89 const WebMessagePortChannelArray&, 89 const WebMessagePortChannelArray&,
90 std::unique_ptr<WebServiceWorker::Handle>) override; 90 std::unique_ptr<WebServiceWorker::Handle>) override;
91 void dispatchFetchEvent(int responseID, 91 void dispatchFetchEvent(int fetchEventID,
92 int eventFinishID,
93 const WebServiceWorkerRequest&) override; 92 const WebServiceWorkerRequest&) override;
94 void dispatchForeignFetchEvent(int responseID, 93 void dispatchForeignFetchEvent(int fetchEventID,
95 int eventFinishID,
96 const WebServiceWorkerRequest&) override; 94 const WebServiceWorkerRequest&) override;
97 void dispatchInstallEvent(int) override; 95 void dispatchInstallEvent(int) override;
98 void dispatchNotificationClickEvent(int, 96 void dispatchNotificationClickEvent(int,
99 const WebString& notificationID, 97 const WebString& notificationID,
100 const WebNotificationData&, 98 const WebNotificationData&,
101 int actionIndex) override; 99 int actionIndex) override;
102 void dispatchNotificationCloseEvent(int, 100 void dispatchNotificationCloseEvent(int,
103 const WebString& notificationID, 101 const WebString& notificationID,
104 const WebNotificationData&) override; 102 const WebNotificationData&) override;
105 void dispatchPushEvent(int, const WebString& data) override; 103 void dispatchPushEvent(int, const WebString& data) override;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 Member<Document> m_document; 148 Member<Document> m_document;
151 149
152 WebServiceWorkerContextClient* m_client; 150 WebServiceWorkerContextClient* m_client;
153 151
154 CrossThreadPersistent<ServiceWorkerGlobalScope> m_workerGlobalScope; 152 CrossThreadPersistent<ServiceWorkerGlobalScope> m_workerGlobalScope;
155 }; 153 };
156 154
157 } // namespace blink 155 } // namespace blink
158 156
159 #endif // ServiceWorkerGlobalScopeProxy_h 157 #endif // ServiceWorkerGlobalScopeProxy_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698