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

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

Issue 2416843002: Implement FetchEvent.navigationPreload (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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 fetchEventID, 91 void dispatchFetchEvent(int fetchEventID,
92 const WebServiceWorkerRequest&) override; 92 const WebServiceWorkerRequest&,
93 bool navigationPreloadSent) override;
93 void dispatchForeignFetchEvent(int fetchEventID, 94 void dispatchForeignFetchEvent(int fetchEventID,
94 const WebServiceWorkerRequest&) override; 95 const WebServiceWorkerRequest&) override;
95 void dispatchInstallEvent(int) override; 96 void dispatchInstallEvent(int) override;
96 void dispatchNotificationClickEvent(int, 97 void dispatchNotificationClickEvent(int,
97 const WebString& notificationID, 98 const WebString& notificationID,
98 const WebNotificationData&, 99 const WebNotificationData&,
99 int actionIndex, 100 int actionIndex,
100 const WebString& reply) override; 101 const WebString& reply) override;
101 void dispatchNotificationCloseEvent(int, 102 void dispatchNotificationCloseEvent(int,
102 const WebString& notificationID, 103 const WebString& notificationID,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 Member<Document> m_document; 150 Member<Document> m_document;
150 151
151 WebServiceWorkerContextClient* m_client; 152 WebServiceWorkerContextClient* m_client;
152 153
153 CrossThreadPersistent<ServiceWorkerGlobalScope> m_workerGlobalScope; 154 CrossThreadPersistent<ServiceWorkerGlobalScope> m_workerGlobalScope;
154 }; 155 };
155 156
156 } // namespace blink 157 } // namespace blink
157 158
158 #endif // ServiceWorkerGlobalScopeProxy_h 159 #endif // ServiceWorkerGlobalScopeProxy_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698