fix: Add stub implementations for ScheduleTrigger and
ReadNextTriggerTimestamp
Refs: 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,
|
content::BrowserContext* browser_context,
|
||||||
const content::NotificationDatabaseData& data) {}
|
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
|
} // namespace atom
|
||||||
|
|
|
@ -49,6 +49,10 @@ class PlatformNotificationService
|
||||||
void RecordNotificationUkmEvent(
|
void RecordNotificationUkmEvent(
|
||||||
content::BrowserContext* browser_context,
|
content::BrowserContext* browser_context,
|
||||||
const content::NotificationDatabaseData& data) override;
|
const content::NotificationDatabaseData& data) override;
|
||||||
|
void ScheduleTrigger(content::BrowserContext* browser_context,
|
||||||
|
base::Time timestamp) override;
|
||||||
|
base::Time ReadNextTriggerTimestamp(
|
||||||
|
content::BrowserContext* browser_context) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
AtomBrowserClient* browser_client_;
|
AtomBrowserClient* browser_client_;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue