summaryrefslogtreecommitdiffstats
path: root/dbus/bus.cc
diff options
context:
space:
mode:
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-31 18:02:43 +0000
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-31 18:02:43 +0000
commit829f0e4cf2794efb9cc3297d6ee1a2ceaf75250b (patch)
tree4d122b2b51b4487382c64df3685333e37ff1fdf4 /dbus/bus.cc
parent0f691fd6ffb0e98f298da4a5062f16216563778f (diff)
downloadchromium_src-829f0e4cf2794efb9cc3297d6ee1a2ceaf75250b.zip
chromium_src-829f0e4cf2794efb9cc3297d6ee1a2ceaf75250b.tar.gz
chromium_src-829f0e4cf2794efb9cc3297d6ee1a2ceaf75250b.tar.bz2
Fix typos in the D-Bus library.
Just wanted to remove the blank line in bus.h, but fixed typos along the way. BUG=chromium:90036 TEST=dbus_unittests Review URL: http://codereview.chromium.org/7792049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99006 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'dbus/bus.cc')
-rw-r--r--dbus/bus.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbus/bus.cc b/dbus/bus.cc
index 550f390..1b766acd 100644
--- a/dbus/bus.cc
+++ b/dbus/bus.cc
@@ -150,7 +150,7 @@ class Timeout : public base::RefCountedThreadSafe<Timeout> {
// occur if this function is called after Bus::OnRemoveTimeout().
if (is_completed)
return;
- // Skip if monitoring is cancled.
+ // Skip if monitoring is canceled.
if (!monitoring_is_active_)
return;
@@ -332,7 +332,7 @@ bool Bus::RequestOwnership(const std::string& service_name) {
DBUS_NAME_FLAG_DO_NOT_QUEUE,
error.get());
if (result != DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER) {
- LOG(ERROR) << "Failed to get the onwership of " << service_name << ": "
+ LOG(ERROR) << "Failed to get the ownership of " << service_name << ": "
<< (dbus_error_is_set(error.get()) ? error.message() : "");
return false;
}
@@ -360,7 +360,7 @@ bool Bus::ReleaseOwnership(const std::string& service_name) {
owned_service_names_.erase(found);
return true;
} else {
- LOG(ERROR) << "Failed to release the onwership of " << service_name << ": "
+ LOG(ERROR) << "Failed to release the ownership of " << service_name << ": "
<< (error.is_set() ? error.message() : "");
return false;
}