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

Unified Diff: chrome/browser/extensions/image_loading_tracker_unittest.cc

Issue 5968009: Change extension unload notification to indicate updates.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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/extensions/image_loading_tracker_unittest.cc
===================================================================
--- chrome/browser/extensions/image_loading_tracker_unittest.cc (revision 69996)
+++ chrome/browser/extensions/image_loading_tracker_unittest.cc (working copy)
@@ -160,10 +160,12 @@
EXPECT_EQ(0, image_loaded_count());
// Send out notification the extension was uninstalled.
+ UnloadedExtensionInfo details(extension.get(),
+ UnloadedExtensionInfo::UNINSTALL);
NotificationService::current()->Notify(
NotificationType::EXTENSION_UNLOADED,
NotificationService::AllSources(),
- Details<const Extension>(extension.get()));
+ Details<UnloadedExtensionInfo>(&details));
// Chuck the extension, that way if anyone tries to access it we should crash
// or get valgrind errors.

Powered by Google App Engine
This is Rietveld 408576698