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

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

Issue 2748213003: Service Worker event dispatcher for Background Fetch (Closed)
Patch Set: uma fix Created 3 years, 9 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 void openWindow(const WebURL&, 58 void openWindow(const WebURL&,
59 std::unique_ptr<WebServiceWorkerClientCallbacks>) override; 59 std::unique_ptr<WebServiceWorkerClientCallbacks>) override;
60 void setCachedMetadata(const WebURL&, const char*, size_t) override; 60 void setCachedMetadata(const WebURL&, const char*, size_t) override;
61 void clearCachedMetadata(const WebURL&) override; 61 void clearCachedMetadata(const WebURL&) override;
62 62
63 WebURL scope() const override; 63 WebURL scope() const override;
64 64
65 void didHandleActivateEvent(int eventID, 65 void didHandleActivateEvent(int eventID,
66 WebServiceWorkerEventResult, 66 WebServiceWorkerEventResult,
67 double eventDispatchTime) override; 67 double eventDispatchTime) override;
68 void didHandleBackgroundFetchAbortEvent(int eventID,
69 WebServiceWorkerEventResult,
70 double eventDispatchTime) override;
71 void didHandleBackgroundFetchClickEvent(int eventID,
72 WebServiceWorkerEventResult,
73 double eventDispatchTime) override;
68 void didHandleExtendableMessageEvent(int eventID, 74 void didHandleExtendableMessageEvent(int eventID,
69 WebServiceWorkerEventResult, 75 WebServiceWorkerEventResult,
70 double eventDispatchTime) override; 76 double eventDispatchTime) override;
71 void respondToFetchEvent(int responseID, double eventDispatchTime) override; 77 void respondToFetchEvent(int responseID, double eventDispatchTime) override;
72 void respondToFetchEvent(int responseID, 78 void respondToFetchEvent(int responseID,
73 const WebServiceWorkerResponse&, 79 const WebServiceWorkerResponse&,
74 double eventDispatchTime) override; 80 double eventDispatchTime) override;
75 void didHandleFetchEvent(int fetchEventID, 81 void didHandleFetchEvent(int fetchEventID,
76 WebServiceWorkerEventResult, 82 WebServiceWorkerEventResult,
77 double eventDispatchTime) override; 83 double eventDispatchTime) override;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 119
114 private: 120 private:
115 explicit ServiceWorkerGlobalScopeClientImpl(WebServiceWorkerContextClient&); 121 explicit ServiceWorkerGlobalScopeClientImpl(WebServiceWorkerContextClient&);
116 122
117 WebServiceWorkerContextClient& m_client; 123 WebServiceWorkerContextClient& m_client;
118 }; 124 };
119 125
120 } // namespace blink 126 } // namespace blink
121 127
122 #endif // ServiceWorkerGlobalScopeClientImpl_h 128 #endif // ServiceWorkerGlobalScopeClientImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698