fix: Add stub implementations for ScheduleTrigger and
ReadNextTriggerTimestamp Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1479330
This commit is contained in:
parent
866cbb0147
commit
7382c519c9
2 changed files with 13 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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_;
|
||||
|
|
Loading…
Reference in a new issue