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

Unified Diff: chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc

Issue 4635007: When an extension is uninstalled, close all desktop notifications from that e... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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/printing/cloud_print/cloud_print_proxy_service.cc
===================================================================
--- chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc (revision 66634)
+++ chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc (working copy)
@@ -124,9 +124,8 @@
void CloudPrintProxyService::TokenExpiredNotificationDone(bool keep_alive) {
if (token_expired_delegate_.get()) {
- g_browser_process->notification_ui_manager()->Cancel(
- Notification(GURL(), GURL(), string16(), string16(),
- token_expired_delegate_.get()));
+ g_browser_process->notification_ui_manager()->CancelById(
+ token_expired_delegate_->id());
token_expired_delegate_ = NULL;
if (!keep_alive)
BrowserList::EndKeepAlive();
« no previous file with comments | « chrome/browser/notifications/notification_ui_manager.cc ('k') | chrome/browser/task_manager/task_manager_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698