OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/notifications/notification_platform_bridge_linux.h" | 5 #include "chrome/browser/notifications/notification_platform_bridge_linux.h" |
6 | 6 |
7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 #include "chrome/browser/notifications/notification.h" | 9 #include "chrome/browser/notifications/notification.h" |
10 | 10 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 void NotificationPlatformBridgeLinux::Close( | 56 void NotificationPlatformBridgeLinux::Close( |
57 const std::string& profile_id, | 57 const std::string& profile_id, |
58 const std::string& notification_id) { | 58 const std::string& notification_id) { |
59 NOTIMPLEMENTED(); | 59 NOTIMPLEMENTED(); |
60 } | 60 } |
61 | 61 |
62 void NotificationPlatformBridgeLinux::GetDisplayed( | 62 void NotificationPlatformBridgeLinux::GetDisplayed( |
63 const std::string& profile_id, | 63 const std::string& profile_id, |
64 bool incognito, | 64 bool incognito, |
65 const DisplayedNotificationsCallback& callback) const { | 65 const GetDisplayedNotificationsCallback& callback) const { |
| 66 // TODO(thomasanderson): implement. |
66 callback.Run(base::MakeUnique<std::set<std::string>>(), false); | 67 callback.Run(base::MakeUnique<std::set<std::string>>(), false); |
67 } | 68 } |
OLD | NEW |