Chromium Code Reviews| 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 76% |
| rename from chrome/browser/notifications/notification_ui_manager_mac.h |
| rename to chrome/browser/notifications/notification_platform_bridge_mac.h |
| index 16854262ce41440121fc337aa699c229e97250eb..70ae23ed8680efbc1044594a8c92162f9083cc38 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> |
| @@ -19,11 +19,11 @@ class PrefService; |
| // This class is an implementation of NotificationPlatfrormBridge that will |
|
Peter Beverloo
2016/04/27 21:26:58
nit: Platfrorm -> Platform
Miguel Garcia
2016/04/27 21:35:41
Done.
|
| // 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_ |