Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: chrome/browser/notifications/notification_platform_bridge_linux.cc

Issue 2709213005: [Mac] Add XPC alerts to GetDisplayedNotifications (Closed)
Patch Set: review Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698