diff options
author | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-31 18:02:43 +0000 |
---|---|---|
committer | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-31 18:02:43 +0000 |
commit | 829f0e4cf2794efb9cc3297d6ee1a2ceaf75250b (patch) | |
tree | 4d122b2b51b4487382c64df3685333e37ff1fdf4 /dbus/end_to_end_async_unittest.cc | |
parent | 0f691fd6ffb0e98f298da4a5062f16216563778f (diff) | |
download | chromium_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/end_to_end_async_unittest.cc')
-rw-r--r-- | dbus/end_to_end_async_unittest.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dbus/end_to_end_async_unittest.cc b/dbus/end_to_end_async_unittest.cc index 33e785d..41b06b6 100644 --- a/dbus/end_to_end_async_unittest.cc +++ b/dbus/end_to_end_async_unittest.cc @@ -18,7 +18,7 @@ #include "dbus/test_service.h" #include "testing/gtest/include/gtest/gtest.h" -// The end-to-end test exercises the asynchronos APIs in ObjectProxy and +// The end-to-end test exercises the asynchronous APIs in ObjectProxy and // ExportedObject. class EndToEndAsyncTest : public testing::Test { public: @@ -69,7 +69,7 @@ class EndToEndAsyncTest : public testing::Test { bus_->Shutdown(base::Bind(&EndToEndAsyncTest::OnShutdown, base::Unretained(this))); // Wait until the bus is shutdown. OnShutdown() will be called in - // mesage_loop_. + // message_loop_. message_loop_.Run(); // Shut down the service. @@ -79,13 +79,13 @@ class EndToEndAsyncTest : public testing::Test { // Reset to the default. base::ThreadRestrictions::SetIOAllowed(true); - // Stopping a thread is considred an IO operation, so do this after + // Stopping a thread is considered an IO operation, so do this after // allowing IO. test_service_->Stop(); } protected: - // Calls the method asynchronosly. OnResponse() will be called once the + // Calls the method asynchronously. OnResponse() will be called once the // response is received. void CallMethod(dbus::MethodCall* method_call, int timeout_ms) { @@ -238,7 +238,7 @@ TEST_F(EndToEndAsyncTest, TestSignal) { const char kMessage[] = "hello, world"; // Send the test signal from the exported object. test_service_->SendTestSignal(kMessage); - // Receive the signal with the object proxy. The signal is handeled in + // Receive the signal with the object proxy. The signal is handled in // EndToEndAsyncTest::OnTestSignal() in the main thread. WaitForTestSignal(); ASSERT_EQ(kMessage, test_signal_string_); |