summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation
diff options
context:
space:
mode:
authorjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-18 01:46:07 +0000
committerjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-18 01:46:07 +0000
commit301e5f36c2539ddebd68d98eec9a2c91480d477f (patch)
treee2f00243ab9367d74fad3f3427a726a771f08b26 /chrome/browser/automation
parentcb0612ea5b10d6003de853d0339869df5adcc985 (diff)
downloadchromium_src-301e5f36c2539ddebd68d98eec9a2c91480d477f.zip
chromium_src-301e5f36c2539ddebd68d98eec9a2c91480d477f.tar.gz
chromium_src-301e5f36c2539ddebd68d98eec9a2c91480d477f.tar.bz2
Revert 66571 - When an extension is uninstalled, close all desktop notifications from that extension.
This change also refactors the balloon collection code to remove duplication between chrome and chromeos. Removes some gross removal code which was using fake notifications just to get the right ID. BUG=58266 TEST=open notifications from extension, uninstall extensions Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65879 Review URL: http://codereview.chromium.org/4635007 TBR=johnnyg@chromium.org Review URL: http://codereview.chromium.org/5162003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66572 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation')
-rw-r--r--chrome/browser/automation/testing_automation_provider.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index f56488b..18c57e4 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -4277,7 +4277,7 @@ void TestingAutomationProvider::CloseNotification(
// This will delete itself when finished.
new OnNotificationBalloonCountObserver(
this, reply_message, collection, balloon_count - 1);
- manager->CancelById(balloons[index]->notification().notification_id());
+ manager->Cancel(balloons[index]->notification());
}
// Refer to WaitForNotificationCount() in chrome/test/pyautolib/pyauto.py for