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

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

Issue 2422793002: HTML MessagePort as mojo::MessagePipeHandle (Closed)
Patch Set: Rebase Created 3 years, 10 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 ~ServiceWorkerGlobalScopeProxy() override; 78 ~ServiceWorkerGlobalScopeProxy() override;
79 79
80 // WebServiceWorkerContextProxy overrides: 80 // WebServiceWorkerContextProxy overrides:
81 void setRegistration( 81 void setRegistration(
82 std::unique_ptr<WebServiceWorkerRegistration::Handle>) override; 82 std::unique_ptr<WebServiceWorkerRegistration::Handle>) override;
83 void dispatchActivateEvent(int) override; 83 void dispatchActivateEvent(int) override;
84 void dispatchExtendableMessageEvent( 84 void dispatchExtendableMessageEvent(
85 int eventID, 85 int eventID,
86 const WebString& message, 86 const WebString& message,
87 const WebSecurityOrigin& sourceOrigin, 87 const WebSecurityOrigin& sourceOrigin,
88 const WebMessagePortChannelArray&, 88 WebMessagePortChannelArray,
89 const WebServiceWorkerClientInfo&) override; 89 const WebServiceWorkerClientInfo&) override;
90 void dispatchExtendableMessageEvent( 90 void dispatchExtendableMessageEvent(
91 int eventID, 91 int eventID,
92 const WebString& message, 92 const WebString& message,
93 const WebSecurityOrigin& sourceOrigin, 93 const WebSecurityOrigin& sourceOrigin,
94 const WebMessagePortChannelArray&, 94 WebMessagePortChannelArray,
95 std::unique_ptr<WebServiceWorker::Handle>) override; 95 std::unique_ptr<WebServiceWorker::Handle>) override;
96 void dispatchFetchEvent(int fetchEventID, 96 void dispatchFetchEvent(int fetchEventID,
97 const WebServiceWorkerRequest&, 97 const WebServiceWorkerRequest&,
98 bool navigationPreloadSent) override; 98 bool navigationPreloadSent) override;
99 void dispatchForeignFetchEvent(int fetchEventID, 99 void dispatchForeignFetchEvent(int fetchEventID,
100 const WebServiceWorkerRequest&) override; 100 const WebServiceWorkerRequest&) override;
101 void dispatchInstallEvent(int) override; 101 void dispatchInstallEvent(int) override;
102 void dispatchNotificationClickEvent(int, 102 void dispatchNotificationClickEvent(int,
103 const WebString& notificationID, 103 const WebString& notificationID,
104 const WebNotificationData&, 104 const WebNotificationData&,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 HeapHashMap<int, Member<FetchEvent>> m_pendingPreloadFetchEvents; 170 HeapHashMap<int, Member<FetchEvent>> m_pendingPreloadFetchEvents;
171 171
172 WebServiceWorkerContextClient* m_client; 172 WebServiceWorkerContextClient* m_client;
173 173
174 CrossThreadPersistent<ServiceWorkerGlobalScope> m_workerGlobalScope; 174 CrossThreadPersistent<ServiceWorkerGlobalScope> m_workerGlobalScope;
175 }; 175 };
176 176
177 } // namespace blink 177 } // namespace blink
178 178
179 #endif // ServiceWorkerGlobalScopeProxy_h 179 #endif // ServiceWorkerGlobalScopeProxy_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698