summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/automation_extension_function.cc
diff options
context:
space:
mode:
authormpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-05 19:07:01 +0000
committermpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-05 19:07:01 +0000
commit32dda3615ecec2a9f0ce3318658588b4103d997d (patch)
tree0705a3eeb8f48c52329a1dcc5804aee59d80966a /chrome/browser/automation/automation_extension_function.cc
parentc2f5dd7f69af7a59321e5acd1aa39fea5b2b2bfd (diff)
downloadchromium_src-32dda3615ecec2a9f0ce3318658588b4103d997d.zip
chromium_src-32dda3615ecec2a9f0ce3318658588b4103d997d.tar.gz
chromium_src-32dda3615ecec2a9f0ce3318658588b4103d997d.tar.bz2
Make AsyncExtensionFunction possible.
Change the bookmarks API to be async functions, so that they can delay their response until the bookmark system is loaded. BUG=12353 TEST=none Review URL: http://codereview.chromium.org/114079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17751 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_extension_function.cc')
-rw-r--r--chrome/browser/automation/automation_extension_function.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/automation/automation_extension_function.cc b/chrome/browser/automation/automation_extension_function.cc
index 776866e..57690fd 100644
--- a/chrome/browser/automation/automation_extension_function.cc
+++ b/chrome/browser/automation/automation_extension_function.cc
@@ -46,7 +46,7 @@ void AutomationExtensionFunction::Run() {
std::string message;
JSONWriter::Write(&message_to_host, false, &message);
- dispatcher_->render_view_host_->delegate()->ProcessExternalHostMessage(
+ dispatcher()->render_view_host_->delegate()->ProcessExternalHostMessage(
message, keys::kAutomationOrigin, keys::kAutomationRequestTarget);
}