Index: chrome/browser/extensions/extension_bookmarks_module.cc |
=================================================================== |
--- chrome/browser/extensions/extension_bookmarks_module.cc (revision 30303) |
+++ chrome/browser/extensions/extension_bookmarks_module.cc (working copy) |
@@ -114,7 +114,14 @@ |
ExtensionBookmarkEventRouter* event_router = |
ExtensionBookmarkEventRouter::GetSingleton(); |
event_router->Observe(model); |
- SendResponse(RunImpl()); |
+ bool success = RunImpl(); |
+ if (success) { |
+ NotificationService::current()->Notify( |
+ NotificationType::EXTENSION_BOOKMARKS_API_INVOKED, |
+ Source<const Extension>(GetExtension()), |
+ Details<const BookmarksFunction>(this)); |
+ } |
+ SendResponse(success); |
} |
bool BookmarksFunction::GetBookmarkIdAsInt64( |