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

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

Issue 2746783002: [ServiceWorker] Mojofy InstallEvent of Service Worker (Closed)
Patch Set: Rebase and address shimazu's comment #33 Created 3 years, 8 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) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 const WebString& message, 114 const WebString& message,
115 WebMessagePortChannelArray) override; 115 WebMessagePortChannelArray) override;
116 void SkipWaiting( 116 void SkipWaiting(
117 std::unique_ptr<WebServiceWorkerSkipWaitingCallbacks>) override; 117 std::unique_ptr<WebServiceWorkerSkipWaitingCallbacks>) override;
118 void Claim(std::unique_ptr<WebServiceWorkerClientsClaimCallbacks>) override; 118 void Claim(std::unique_ptr<WebServiceWorkerClientsClaimCallbacks>) override;
119 void Focus(const WebString& client_uuid, 119 void Focus(const WebString& client_uuid,
120 std::unique_ptr<WebServiceWorkerClientCallbacks>) override; 120 std::unique_ptr<WebServiceWorkerClientCallbacks>) override;
121 void Navigate(const WebString& client_uuid, 121 void Navigate(const WebString& client_uuid,
122 const WebURL&, 122 const WebURL&,
123 std::unique_ptr<WebServiceWorkerClientCallbacks>) override; 123 std::unique_ptr<WebServiceWorkerClientCallbacks>) override;
124 void RegisterForeignFetchScopes(const WebVector<WebURL>& sub_scopes, 124 void RegisterForeignFetchScopes(const int event_id,
125 const WebVector<WebURL>& sub_scopes,
125 const WebVector<WebSecurityOrigin>&) override; 126 const WebVector<WebSecurityOrigin>&) override;
126 127
127 DEFINE_INLINE_VIRTUAL_TRACE() { 128 DEFINE_INLINE_VIRTUAL_TRACE() {
128 ServiceWorkerGlobalScopeClient::Trace(visitor); 129 ServiceWorkerGlobalScopeClient::Trace(visitor);
129 } 130 }
130 131
131 private: 132 private:
132 explicit ServiceWorkerGlobalScopeClientImpl(WebServiceWorkerContextClient&); 133 explicit ServiceWorkerGlobalScopeClientImpl(WebServiceWorkerContextClient&);
133 134
134 WebServiceWorkerContextClient& client_; 135 WebServiceWorkerContextClient& client_;
135 }; 136 };
136 137
137 } // namespace blink 138 } // namespace blink
138 139
139 #endif // ServiceWorkerGlobalScopeClientImpl_h 140 #endif // ServiceWorkerGlobalScopeClientImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698