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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h

Issue 2265873003: binding: Moves hasPendingActivity from ActiveScriptWrappable to ScriptWrappable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comments. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h
index fdd2d3fae3fce6e8ca5045b7362a641b6ecf4030..995f4f37332b3d32c92d493c0065d2ba665f5fbd 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h
@@ -63,6 +63,9 @@ public:
String state() const;
DEFINE_ATTRIBUTE_EVENT_LISTENER(statechange);
+ // ScriptWrappable overrides.
+ bool hasPendingActivity() const final;
+
// WebServiceWorkerProxy overrides.
void dispatchStateChangeEvent() override;
@@ -74,9 +77,6 @@ private:
static ServiceWorker* getOrCreate(ExecutionContext*, std::unique_ptr<WebServiceWorker::Handle>);
ServiceWorker(ExecutionContext*, std::unique_ptr<WebServiceWorker::Handle>);
- // ActiveScriptWrappable overrides.
- bool hasPendingActivity() const final;
-
// ActiveDOMObject overrides.
void stop() override;

Powered by Google App Engine
This is Rietveld 408576698