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

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

Issue 661643002: Adds a context message of the security origin for web notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix merge error. Created 5 years, 11 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/platform_notification_service_impl.h
diff --git a/chrome/browser/notifications/platform_notification_service_impl.h b/chrome/browser/notifications/platform_notification_service_impl.h
index da9bcbf93166c818d997d2512bb886329d89eef8..ee8cda27cb450d69e18dd89529dfbd095c9d5482 100644
--- a/chrome/browser/notifications/platform_notification_service_impl.h
+++ b/chrome/browser/notifications/platform_notification_service_impl.h
@@ -97,6 +97,16 @@ class PlatformNotificationServiceImpl
const GURL& origin,
int process_id) const;
+#if defined(ENABLE_EXTENSIONS)
+ bool ExtensionDisplayName(Profile* profile,
+ const GURL& origin,
+ int process_id,
+ base::string16* out) const;
+#endif
+
+ static base::string16 OriginDisplayName(const GURL& origin,
Peter Beverloo 2015/01/10 00:03:33 Muh. I feel like this shouldn't be something in ou
dewittj 2015/01/13 22:18:01 right, that's the reason this patch has been in li
Peter Beverloo 2015/01/14 19:18:14 Agreed.
+ const std::string& languages);
+
// Weak reference. Ownership maintains with the test.
NotificationUIManager* notification_ui_manager_for_tests_;

Powered by Google App Engine
This is Rietveld 408576698