| // Copyright 2019 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include "chrome/browser/notifications/scheduler/internal/notification_entry.h" |
| |
| #include <utility> |
| |
| namespace notifications { |
| |
| NotificationEntry::NotificationEntry() |
| : NotificationEntry(SchedulerClientType::kUnknown, std::string()) {} |
| |
| NotificationEntry::NotificationEntry(SchedulerClientType type, |
| const std::string& guid) |
| : type(type), guid(guid), create_time(base::Time::Now()) {} |
| |
| NotificationEntry::NotificationEntry(const NotificationEntry& other) = default; |
| |
| NotificationEntry::~NotificationEntry() = default; |
| |
| } // namespace notifications |