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

Unified Diff: chrome/browser/notifications/notification_platform_bridge_linux.h

Issue 2828503005: Add NotificationDisplayServiceProxy (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/notifications/notification_platform_bridge_linux.h
diff --git a/chrome/browser/notifications/notification_platform_bridge_linux.h b/chrome/browser/notifications/notification_platform_bridge_linux.h
index 64cbde7e4eba453a1f9cda478ea5b4df05645a18..7cd9d3dd38fae50f5106e4c061880174f2aab79b 100644
--- a/chrome/browser/notifications/notification_platform_bridge_linux.h
+++ b/chrome/browser/notifications/notification_platform_bridge_linux.h
@@ -29,9 +29,7 @@ class NotificationPlatformBridgeLinux : public NotificationPlatformBridge {
bool incognito,
const DisplayedNotificationsCallback& callback) const override;
- // Waits until the D-Bus connection has been created. Returns true
- // if the connection was successful.
- bool BlockUntilReady();
+ void IsConnected(const base::Callback<void(bool)>& callback);
Peter Beverloo 2017/04/19 13:26:41 nit: there's a bunch of massive refactoring CLs in
Tom (Use chromium acct) 2017/04/20 01:43:47 Done.
private:
class NativeNotificationThread;

Powered by Google App Engine
This is Rietveld 408576698