summaryrefslogtreecommitdiffstats
path: root/dbus/bus.h
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.h
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.h')
-rw-r--r--dbus/bus.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/dbus/bus.h b/dbus/bus.h
index 2f8d215..792eb83 100644
--- a/dbus/bus.h
+++ b/dbus/bus.h
@@ -1,4 +1,3 @@
-
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -15,6 +14,7 @@
#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
+#include "base/threading/platform_thread.h"
#include "base/tracked_objects.h"
class MessageLoop;
@@ -42,7 +42,7 @@ class ObjectProxy;
// In the D-Bus library, we use the two threads:
//
// - The origin thread: the thread that created the Bus object.
-// - The D-Bus thread: the thread supplifed by |dbus_thread| option.
+// - The D-Bus thread: the thread supplied by |dbus_thread| option.
//
// The origin thread is usually Chrome's UI thread. The D-Bus thread is
// usually a dedicated thread for the D-Bus library.
@@ -57,7 +57,7 @@ class ObjectProxy;
// or not (ex. dbus_bus_request_name() internally calls
// dbus_connection_send_with_reply_and_block(), which is a blocking
// call). To err on the safe side, we consider all libdbus functions that
-// deal with the connection to dbus-damoen to be blocking.
+// deal with the connection to dbus-daemon to be blocking.
//
// SHUTDOWN
//
@@ -120,7 +120,7 @@ class ObjectProxy;
//
// Bus is a ref counted object, to ensure that |this| of the object is
// alive when callbacks referencing |this| are called. However, after
-// Shutdown() is called, |connection_| can be NULL. Hence, calbacks should
+// Shutdown() is called, |connection_| can be NULL. Hence, callbacks should
// not rely on that |connection_| is alive.
class Bus : public base::RefCountedThreadSafe<Bus> {
public: