Commit b7e36411 authored by Yuta Kasai's avatar Yuta Kasai Committed by Commit Bot

Fix typo (calback -> callback)

This CL doesn't change any behaviors. This just fixes typo.

Change-Id: Idf8f85314d8d718bec7562f7b25de3a2f8ce8b28
Bug: N/A
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1943069
Auto-Submit: Yuta Kasai <yutakasai@google.com>
Commit-Queue: Ryo Hashimoto <hashimoto@chromium.org>
Reviewed-by: default avatarRyo Hashimoto <hashimoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#720376}
parent 6ce6a155
...@@ -89,24 +89,24 @@ void ExportedObject::ExportMethod( ...@@ -89,24 +89,24 @@ void ExportedObject::ExportMethod(
const std::string& interface_name, const std::string& interface_name,
const std::string& method_name, const std::string& method_name,
const MethodCallCallback& method_call_callback, const MethodCallCallback& method_call_callback,
OnExportedCallback on_exported_calback) { OnExportedCallback on_exported_callback) {
bus_->AssertOnOriginThread(); bus_->AssertOnOriginThread();
base::OnceClosure task = base::BindOnce( base::OnceClosure task = base::BindOnce(
&ExportedObject::ExportMethodInternal, this, interface_name, method_name, &ExportedObject::ExportMethodInternal, this, interface_name, method_name,
method_call_callback, std::move(on_exported_calback)); method_call_callback, std::move(on_exported_callback));
bus_->GetDBusTaskRunner()->PostTask(FROM_HERE, std::move(task)); bus_->GetDBusTaskRunner()->PostTask(FROM_HERE, std::move(task));
} }
void ExportedObject::UnexportMethod( void ExportedObject::UnexportMethod(
const std::string& interface_name, const std::string& interface_name,
const std::string& method_name, const std::string& method_name,
OnUnexportedCallback on_unexported_calback) { OnUnexportedCallback on_unexported_callback) {
bus_->AssertOnOriginThread(); bus_->AssertOnOriginThread();
base::OnceClosure task = base::BindOnce( base::OnceClosure task = base::BindOnce(
&ExportedObject::UnexportMethodInternal, this, interface_name, &ExportedObject::UnexportMethodInternal, this, interface_name,
method_name, std::move(on_unexported_calback)); method_name, std::move(on_unexported_callback));
bus_->GetDBusTaskRunner()->PostTask(FROM_HERE, std::move(task)); bus_->GetDBusTaskRunner()->PostTask(FROM_HERE, std::move(task));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment