| Index: chrome/browser/extensions/extension_browser_event_router.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/extension_browser_event_router.cc (revision 20629)
|
| +++ chrome/browser/extensions/extension_browser_event_router.cc (working copy)
|
| @@ -329,6 +329,7 @@
|
| void ExtensionBrowserEventRouter::TabStripEmpty() { }
|
|
|
| void ExtensionBrowserEventRouter::PageActionExecuted(Profile* profile,
|
| + std::string extension_id,
|
| std::string page_action_id,
|
| int tab_id,
|
| std::string url) {
|
| @@ -346,5 +347,6 @@
|
| std::string json_args;
|
| JSONWriter::Write(&args, false, &json_args);
|
|
|
| - DispatchEvent(profile, events::kOnPageActionExecuted, json_args);
|
| + std::string event_name = extension_id + std::string("/") + page_action_id;
|
| + DispatchEvent(profile, event_name.c_str(), json_args);
|
| }
|
|
|