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

Unified Diff: content/shell/browser/layout_test/layout_test_notification_manager.cc

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: Address comments. 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: content/shell/browser/layout_test/layout_test_notification_manager.cc
diff --git a/content/shell/browser/layout_test/layout_test_notification_manager.cc b/content/shell/browser/layout_test/layout_test_notification_manager.cc
index bc7a88fd8355b614ecb166a16a7b152e766dec8b..08e84a79d9beeb95e331b800841389f7e63021a4 100644
--- a/content/shell/browser/layout_test/layout_test_notification_manager.cc
+++ b/content/shell/browser/layout_test/layout_test_notification_manager.cc
@@ -66,7 +66,6 @@ void LayoutTestNotificationManager::DisplayNotification(
const SkBitmap& icon,
const PlatformNotificationData& notification_data,
scoped_ptr<DesktopNotificationDelegate> delegate,
- int render_process_id,
base::Closure* cancel_callback) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
std::string title = base::UTF16ToUTF8(notification_data.title);
@@ -87,8 +86,7 @@ void LayoutTestNotificationManager::DisplayPersistentNotification(
int64 service_worker_registration_id,
const GURL& origin,
const SkBitmap& icon,
- const PlatformNotificationData& notification_data,
- int render_process_id) {
+ const PlatformNotificationData& notification_data) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
std::string title = base::UTF16ToUTF8(notification_data.title);

Powered by Google App Engine
This is Rietveld 408576698