fix: Add stub implementations for ScheduleTrigger and

ReadNextTriggerTimestamp

Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1479330
This commit is contained in:
Samuel Attard 2019-03-21 20:25:48 -07:00
parent 866cbb0147
commit 7382c519c9
2 changed files with 13 additions and 0 deletions

View file

@ -134,4 +134,13 @@ void PlatformNotificationService::RecordNotificationUkmEvent(
content::BrowserContext* browser_context,
const content::NotificationDatabaseData& data) {}
void PlatformNotificationService::ScheduleTrigger(
BrowserContext* browser_context,
base::Time timestamp) {}
base::Time PlatformNotificationService::ReadNextTriggerTimestamp(
BrowserContext* browser_context) {
return base::Time::Max();
}
} // namespace atom

View file

@ -49,6 +49,10 @@ class PlatformNotificationService
void RecordNotificationUkmEvent(
content::BrowserContext* browser_context,
const content::NotificationDatabaseData& data) override;
void ScheduleTrigger(content::BrowserContext* browser_context,
base::Time timestamp) override;
base::Time ReadNextTriggerTimestamp(
content::BrowserContext* browser_context) override;
private:
AtomBrowserClient* browser_client_;