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 b824ff7c3e7314db2a2b78e7d19a61db48280a01..37d32a4be0af174ccdaa0b24942c9d600fd39429 100644 |
--- a/chrome/browser/notifications/notification_platform_bridge_linux.h |
+++ b/chrome/browser/notifications/notification_platform_bridge_linux.h |
@@ -12,6 +12,10 @@ |
class NotificationPlatformBridgeLinuxImpl; |
+namespace dbus { |
+class Bus; |
+} |
+ |
class NotificationPlatformBridgeLinux : public NotificationPlatformBridge { |
public: |
NotificationPlatformBridgeLinux(); |
@@ -33,6 +37,13 @@ class NotificationPlatformBridgeLinux : public NotificationPlatformBridge { |
void SetReadyCallback(NotificationBridgeReadyCallback callback) override; |
private: |
+ friend class NotificationPlatformBridgeLinuxTest; |
+ |
+ // Constructor only used in unit testing. |
+ explicit NotificationPlatformBridgeLinux(scoped_refptr<dbus::Bus> bus); |
+ |
+ void CleanUp(); |
+ |
scoped_refptr<NotificationPlatformBridgeLinuxImpl> impl_; |
DISALLOW_COPY_AND_ASSIGN(NotificationPlatformBridgeLinux); |