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

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

Issue 1205783004: Update navigator.services API to use the new services.onconnect event [3/3]. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@serviceport-serviceside
Patch Set: remove extra space Created 5 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) 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 : public WebServiceWorkerContextProxy 64 : public WebServiceWorkerContextProxy
65 , public WorkerReportingProxy { 65 , public WorkerReportingProxy {
66 WTF_MAKE_NONCOPYABLE(ServiceWorkerGlobalScopeProxy); 66 WTF_MAKE_NONCOPYABLE(ServiceWorkerGlobalScopeProxy);
67 public: 67 public:
68 static PassOwnPtr<ServiceWorkerGlobalScopeProxy> create(WebEmbeddedWorkerImp l&, Document&, WebServiceWorkerContextClient&); 68 static PassOwnPtr<ServiceWorkerGlobalScopeProxy> create(WebEmbeddedWorkerImp l&, Document&, WebServiceWorkerContextClient&);
69 ~ServiceWorkerGlobalScopeProxy() override; 69 ~ServiceWorkerGlobalScopeProxy() override;
70 70
71 // WebServiceWorkerContextProxy overrides: 71 // WebServiceWorkerContextProxy overrides:
72 void setRegistration(WebServiceWorkerRegistration*) override; 72 void setRegistration(WebServiceWorkerRegistration*) override;
73 void dispatchActivateEvent(int) override; 73 void dispatchActivateEvent(int) override;
74 void dispatchCrossOriginConnectEvent(int, const WebCrossOriginServiceWorkerC lient&) override;
75 void dispatchCrossOriginMessageEvent(const WebCrossOriginServiceWorkerClient &, const WebString& message, const WebMessagePortChannelArray&) override; 74 void dispatchCrossOriginMessageEvent(const WebCrossOriginServiceWorkerClient &, const WebString& message, const WebMessagePortChannelArray&) override;
76 void dispatchFetchEvent(int, const WebServiceWorkerRequest&) override; 75 void dispatchFetchEvent(int, const WebServiceWorkerRequest&) override;
77 void dispatchGeofencingEvent(int, WebGeofencingEventType, const WebString& r egionID, const WebCircularGeofencingRegion&) override; 76 void dispatchGeofencingEvent(int, WebGeofencingEventType, const WebString& r egionID, const WebCircularGeofencingRegion&) override;
78 void dispatchInstallEvent(int) override; 77 void dispatchInstallEvent(int) override;
79 void dispatchMessageEvent(const WebString& message, const WebMessagePortChan nelArray&) override; 78 void dispatchMessageEvent(const WebString& message, const WebMessagePortChan nelArray&) override;
80 void dispatchNotificationClickEvent(int, int64_t notificationID, const WebNo tificationData&) override; 79 void dispatchNotificationClickEvent(int, int64_t notificationID, const WebNo tificationData&) override;
81 void dispatchPushEvent(int, const WebString& data) override; 80 void dispatchPushEvent(int, const WebString& data) override;
82 void dispatchServicePortConnectEvent(WebServicePortConnectEventCallbacks*, c onst WebURL& targetURL, const WebString& origin, WebServicePortID) override; 81 void dispatchServicePortConnectEvent(WebServicePortConnectEventCallbacks*, c onst WebURL& targetURL, const WebString& origin, WebServicePortID) override;
83 void dispatchSyncEvent(int, const WebSyncRegistration&) override; 82 void dispatchSyncEvent(int, const WebSyncRegistration&) override;
84 83
(...skipping 15 matching lines...) Expand all
100 Document& m_document; 99 Document& m_document;
101 100
102 WebServiceWorkerContextClient& m_client; 101 WebServiceWorkerContextClient& m_client;
103 102
104 ServiceWorkerGlobalScope* m_workerGlobalScope; 103 ServiceWorkerGlobalScope* m_workerGlobalScope;
105 }; 104 };
106 105
107 } // namespace blink 106 } // namespace blink
108 107
109 #endif // ServiceWorkerGlobalScopeProxy_h 108 #endif // ServiceWorkerGlobalScopeProxy_h
OLDNEW
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeClientImpl.cpp ('k') | Source/web/ServiceWorkerGlobalScopeProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698