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

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

Issue 1925803002: Rename NotificationUIManagerMac to NotificationPlatformBridgeMac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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_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_

Powered by Google App Engine
This is Rietveld 408576698