Skip to content
Permalink
Browse files

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: Ryo Hashimoto <hashimoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#720376}
  • Loading branch information
Yang-33 authored and Commit Bot committed Dec 2, 2019
1 parent 6ce6a15 commit b7e3641143239ee997ec6531ece5cab69c6fd041
Showing with 4 additions and 4 deletions.
  1. +4 −4 dbus/exported_object.cc
@@ -89,24 +89,24 @@ void ExportedObject::ExportMethod(
const std::string& interface_name,
const std::string& method_name,
const MethodCallCallback& method_call_callback,
OnExportedCallback on_exported_calback) {
OnExportedCallback on_exported_callback) {
bus_->AssertOnOriginThread();

base::OnceClosure task = base::BindOnce(
&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));
}

void ExportedObject::UnexportMethod(
const std::string& interface_name,
const std::string& method_name,
OnUnexportedCallback on_unexported_calback) {
OnUnexportedCallback on_unexported_callback) {
bus_->AssertOnOriginThread();

base::OnceClosure task = base::BindOnce(
&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));
}

0 comments on commit b7e3641

Please sign in to comment.
You can’t perform that action at this time.