diff options
author | joshia@google.com <joshia@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-21 20:34:45 +0000 |
---|---|---|
committer | joshia@google.com <joshia@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-21 20:34:45 +0000 |
commit | 18cb257530f2a7b6a5d8ce74d3486c1784fcdbf0 (patch) | |
tree | daa421607577ba79de24e9d9d8c62f60dff60a29 /chrome/browser/automation/automation_provider.h | |
parent | 8c026e7a5ab2077eb8381e7b79a78020624a5a64 (diff) | |
download | chromium_src-18cb257530f2a7b6a5d8ce74d3486c1784fcdbf0.zip chromium_src-18cb257530f2a7b6a5d8ce74d3486c1784fcdbf0.tar.gz chromium_src-18cb257530f2a7b6a5d8ce74d3486c1784fcdbf0.tar.bz2 |
Code review changes. Incorporated all the suggestions from previous review.
One item not changed yet is to rename 'receiver' in ForwardMessageToExternalHost.
The idea is to invoke receiver("message") at the other end. So for example if the
args to ForwardMessageToExternalHost("hello", "world") then we will invoke a
script hello("world") on the other side.
'receiver' doesn't really describe the first argument here so if there is a
better suggestion, I would be happy to change it :)
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1176 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_provider.h')
-rw-r--r-- | chrome/browser/automation/automation_provider.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h index 1fac8fa..1aadbc4 100644 --- a/chrome/browser/automation/automation_provider.h +++ b/chrome/browser/automation/automation_provider.h @@ -311,9 +311,9 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>, void AutocompleteEditGetMatches(const IPC::Message& message, int autocomplete_edit_handle); - // Handler for PostMessage sent by the automation client. - void OnPostMessage(int handle, const std::string& target, - const std::string& message); + // Handler for a message sent by the automation client. + void OnMessageFromExternalHost(int handle, const std::string& target, + const std::string& message); // Callback for history redirect queries. virtual void OnRedirectQueryComplete( |