Fix typos in //dbus/bus.h
Change-Id: Iba484301445ece9e105c0023e3af6cb3ae84b8d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3501275
Reviewed-by: Satoru Takabayashi <satorux@chromium.org>
Reviewed-by: Ryo Hashimoto <hashimoto@chromium.org>
Commit-Queue: David Sanders <dsanders11@ucsbalum.com>
Cr-Commit-Position: refs/heads/main@{#977522}
NOKEYCHECK=True
GitOrigin-RevId: 880aecb5d7827de78a34aa27a4b5dbd892e491c7
diff --git a/bus.h b/bus.h
index 6095cce..f172016 100644
--- a/bus.h
+++ b/bus.h
@@ -36,7 +36,7 @@
//
// For asynchronous operations such as an asynchronous method call, the
// bus object will use a task runner to monitor the underlying file
-// descriptor used for D-Bus communication. By default, the bus will usegi
+// descriptor used for D-Bus communication. By default, the bus will use
// the current thread's task runner. If |dbus_task_runner| option is
// specified, the bus will use that task runner instead.
//
@@ -346,7 +346,7 @@
const ObjectPath& object_path);
// Unregisters the object manager for the given remote object path
- // |object_path| exported by the srevice |service_name|.
+ // |object_path| exported by the service |service_name|.
//
// Getting an object manager for the same remote object after this call
// will return a new object, method calls on any remaining copies of the
@@ -602,7 +602,7 @@
const std::string& service_name,
const ServiceOwnerChangeCallback& callback);
- // Return the unique name of the bus connnection if it is connected to
+ // Return the unique name of the bus connection if it is connected to
// D-BUS. Otherwise, return an empty string.
std::string GetConnectionName();
@@ -780,7 +780,7 @@
bool shutdown_completed_;
// Counters to make sure that OnAddWatch()/OnRemoveWatch() and
- // OnAddTimeout()/OnRemoveTimeou() are balanced.
+ // OnAddTimeout()/OnRemoveTimeout() are balanced.
int num_pending_watches_;
int num_pending_timeouts_;