diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-15 03:53:00 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-15 03:53:00 +0000 |
commit | 917defe16badc44a0d24348739a1657d6c13aca5 (patch) | |
tree | 4aecf9a612aff48274a8df392ff037015c0ff3e9 /chrome/browser/extensions/extension_browser_event_router.cc | |
parent | cf9a246cf386c7af0fb6524ac5d025c0d4e8563a (diff) | |
download | chromium_src-917defe16badc44a0d24348739a1657d6c13aca5.zip chromium_src-917defe16badc44a0d24348739a1657d6c13aca5.tar.gz chromium_src-917defe16badc44a0d24348739a1657d6c13aca5.tar.bz2 |
Reverting 20714.
Rietveld showed all green try bots, but looks like one ui test is failing
Review URL: http://codereview.chromium.org/149668
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20715 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_browser_event_router.cc')
-rw-r--r-- | chrome/browser/extensions/extension_browser_event_router.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/extensions/extension_browser_event_router.cc b/chrome/browser/extensions/extension_browser_event_router.cc index c7a5b33..3bd807a 100644 --- a/chrome/browser/extensions/extension_browser_event_router.cc +++ b/chrome/browser/extensions/extension_browser_event_router.cc @@ -329,7 +329,6 @@ void ExtensionBrowserEventRouter::TabChangedAt(TabContents* contents, void ExtensionBrowserEventRouter::TabStripEmpty() { } void ExtensionBrowserEventRouter::PageActionExecuted(Profile* profile, - std::string extension_id, std::string page_action_id, int tab_id, std::string url) { @@ -347,6 +346,5 @@ void ExtensionBrowserEventRouter::PageActionExecuted(Profile* profile, std::string json_args; JSONWriter::Write(&args, false, &json_args); - std::string event_name = extension_id + std::string("/") + page_action_id; - DispatchEvent(profile, event_name.c_str(), json_args); + DispatchEvent(profile, events::kOnPageActionExecuted, json_args); } |