| 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 #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PLATFORM_BRIDGE_LINUX_H_ | 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PLATFORM_BRIDGE_LINUX_H_ |
| 6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PLATFORM_BRIDGE_LINUX_H_ | 6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PLATFORM_BRIDGE_LINUX_H_ |
| 7 | 7 |
| 8 #include <string> |
| 9 |
| 8 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| 9 #include "base/macros.h" | 11 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 11 #include "chrome/browser/notifications/notification_platform_bridge.h" | 13 #include "chrome/browser/notifications/notification_platform_bridge.h" |
| 12 | 14 |
| 13 class NotificationPlatformBridgeLinuxImpl; | 15 class NotificationPlatformBridgeLinuxImpl; |
| 14 | 16 |
| 15 namespace dbus { | 17 namespace dbus { |
| 16 class Bus; | 18 class Bus; |
| 17 } | 19 } |
| (...skipping 25 matching lines...) Expand all Loading... |
| 43 explicit NotificationPlatformBridgeLinux(scoped_refptr<dbus::Bus> bus); | 45 explicit NotificationPlatformBridgeLinux(scoped_refptr<dbus::Bus> bus); |
| 44 | 46 |
| 45 void CleanUp(); | 47 void CleanUp(); |
| 46 | 48 |
| 47 scoped_refptr<NotificationPlatformBridgeLinuxImpl> impl_; | 49 scoped_refptr<NotificationPlatformBridgeLinuxImpl> impl_; |
| 48 | 50 |
| 49 DISALLOW_COPY_AND_ASSIGN(NotificationPlatformBridgeLinux); | 51 DISALLOW_COPY_AND_ASSIGN(NotificationPlatformBridgeLinux); |
| 50 }; | 52 }; |
| 51 | 53 |
| 52 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PLATFORM_BRIDGE_LINUX_H_ | 54 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PLATFORM_BRIDGE_LINUX_H_ |
| OLD | NEW |