mirror of
https://github.com/electron/electron.git
synced 2026-01-28 08:48:14 -05:00
fix: Add stub implementations for ScheduleTrigger and
ReadNextTriggerTimestamp Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1479330
This commit is contained in:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user