| Index: chrome/browser/notifications/notification_platform_bridge_mac.h
|
| diff --git a/chrome/browser/notifications/notification_ui_manager_mac.h b/chrome/browser/notifications/notification_platform_bridge_mac.h
|
| similarity index 73%
|
| rename from chrome/browser/notifications/notification_ui_manager_mac.h
|
| rename to chrome/browser/notifications/notification_platform_bridge_mac.h
|
| index 16854262ce41440121fc337aa699c229e97250eb..ad261aaa79764597f596b48b1d6b0472d580f005 100644
|
| --- a/chrome/browser/notifications/notification_ui_manager_mac.h
|
| +++ b/chrome/browser/notifications/notification_platform_bridge_mac.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_MAC_H_
|
| -#define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_MAC_H_
|
| +#ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PLATFORM_BRIDGE_MAC_H_
|
| +#define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PLATFORM_BRIDGE_MAC_H_
|
|
|
| #include <set>
|
| #include <string>
|
| @@ -17,13 +17,13 @@ class Notification;
|
| @class NSUserNotificationCenter;
|
| class PrefService;
|
|
|
| -// This class is an implementation of NotificationPlatfrormBridge that will
|
| +// This class is an implementation of NotificationPlatformBridge that will
|
| // send platform notifications to the the MacOSX notification center.
|
| -class NotificationUIManagerMac : public NotificationPlatformBridge {
|
| +class NotificationPlatformBridgeMac : public NotificationPlatformBridge {
|
| public:
|
| - explicit NotificationUIManagerMac(
|
| + explicit NotificationPlatformBridgeMac(
|
| NSUserNotificationCenter* notification_center);
|
| - ~NotificationUIManagerMac() override;
|
| + ~NotificationPlatformBridgeMac() override;
|
|
|
| // NotificationPlatformBridge implementation.
|
| void Display(const std::string& notification_id,
|
| @@ -44,7 +44,7 @@ class NotificationUIManagerMac : public NotificationPlatformBridge {
|
| // The notification center to use, this can be overriden in tests
|
| NSUserNotificationCenter* notification_center_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(NotificationUIManagerMac);
|
| + DISALLOW_COPY_AND_ASSIGN(NotificationPlatformBridgeMac);
|
| };
|
|
|
| -#endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_UI_MANAGER_MAC_H_
|
| +#endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PLATFORM_BRIDGE_MAC_H_
|
|
|