void DOMStorageObserver::Notify(const char* aTopic, const nsACString& aData) { for (uint32_t i = 0; i < mSinks.Length(); ++i) { DOMStorageObserverSink* sink = mSinks[i]; sink->Observe(aTopic, aData); } }
void DOMStorageObserver::Notify(const char* aTopic, const nsAString& aOriginAttributesPattern, const nsACString& aOriginScope) { for (uint32_t i = 0; i < mSinks.Length(); ++i) { DOMStorageObserverSink* sink = mSinks[i]; sink->Observe(aTopic, aOriginAttributesPattern, aOriginScope); } }