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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.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/ServiceWorkerRegistration.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
index bff04eb6ab298ae15fca06e4f3ea26382839d74a..caf618ea7d7ac2e2f821000d8f5a582f27b2c54e 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
@@ -36,6 +36,9 @@ class ServiceWorkerRegistration final
USING_GARBAGE_COLLECTED_MIXIN(ServiceWorkerRegistration);
USING_PRE_FINALIZER(ServiceWorkerRegistration, dispose);
public:
+ // ScriptWrappable overrides.
+ bool hasPendingActivity() const final;
+
// EventTarget overrides.
const AtomicString& interfaceName() const override;
ExecutionContext* getExecutionContext() const override { return ActiveDOMObject::getExecutionContext(); }
@@ -71,9 +74,6 @@ private:
ServiceWorkerRegistration(ExecutionContext*, std::unique_ptr<WebServiceWorkerRegistration::Handle>);
void dispose();
- // ActiveScriptWrappable overrides.
- bool hasPendingActivity() const final;
-
// ActiveDOMObject overrides.
void stop() override;

Powered by Google App Engine
This is Rietveld 408576698