| Index: chrome/browser/extensions/extension_bookmarks_module.cc
|
| diff --git a/chrome/browser/extensions/extension_bookmarks_module.cc b/chrome/browser/extensions/extension_bookmarks_module.cc
|
| index fe19d67e07b1fcb7f3dcf4c377348064548ae428..00297023446088c1bfb6c832fcda2a7a2d1f98ee 100644
|
| --- a/chrome/browser/extensions/extension_bookmarks_module.cc
|
| +++ b/chrome/browser/extensions/extension_bookmarks_module.cc
|
| @@ -100,8 +100,6 @@ class ExtensionBookmarks {
|
| };
|
|
|
| void BookmarksFunction::Run() {
|
| - // TODO(erikkay) temporary hack until adding an event listener can notify the
|
| - // browser.
|
| BookmarkModel* model = profile()->GetBookmarkModel();
|
| if (!model->IsLoaded()) {
|
| // Bookmarks are not ready yet. We'll wait.
|
| @@ -111,9 +109,6 @@ void BookmarksFunction::Run() {
|
| return;
|
| }
|
|
|
| - ExtensionBookmarkEventRouter* event_router =
|
| - ExtensionBookmarkEventRouter::GetSingleton();
|
| - event_router->Observe(model);
|
| bool success = RunImpl();
|
| if (success) {
|
| NotificationService::current()->Notify(
|
|
|