summaryrefslogtreecommitdiffstats
path: root/base/threading/thread_unittest.cc
diff options
context:
space:
mode:
authorxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-30 23:11:04 +0000
committerxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-30 23:11:04 +0000
commit9e7154126cd2e6dc9f7935758d17aea9b8df0dc3 (patch)
tree2b50814c21f5073b41f36661901b48d73e409be2 /base/threading/thread_unittest.cc
parente1bcc0207442374ab4d539e6a5623fe4cf1fe8cb (diff)
downloadchromium_src-9e7154126cd2e6dc9f7935758d17aea9b8df0dc3.zip
chromium_src-9e7154126cd2e6dc9f7935758d17aea9b8df0dc3.tar.gz
chromium_src-9e7154126cd2e6dc9f7935758d17aea9b8df0dc3.tar.bz2
Use base::MessageLoop in more files.
These are either missed in the first pass, or added after the first pass. TBR=thestig@chromium.org BUG=236029 Review URL: https://codereview.chromium.org/16092013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203259 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/threading/thread_unittest.cc')
-rw-r--r--base/threading/thread_unittest.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/base/threading/thread_unittest.cc b/base/threading/thread_unittest.cc
index 28696d9..5945e32 100644
--- a/base/threading/thread_unittest.cc
+++ b/base/threading/thread_unittest.cc
@@ -88,7 +88,8 @@ class CaptureToEventList : public Thread {
// Observer that writes a value into |event_list| when a message loop has been
// destroyed.
-class CapturingDestructionObserver : public MessageLoop::DestructionObserver {
+class CapturingDestructionObserver
+ : public base::MessageLoop::DestructionObserver {
public:
// |event_list| must remain valid throughout the observer's lifetime.
explicit CapturingDestructionObserver(EventList* event_list)
@@ -106,8 +107,9 @@ class CapturingDestructionObserver : public MessageLoop::DestructionObserver {
};
// Task that adds a destruction observer to the current message loop.
-void RegisterDestructionObserver(MessageLoop::DestructionObserver* observer) {
- MessageLoop::current()->AddDestructionObserver(observer);
+void RegisterDestructionObserver(
+ base::MessageLoop::DestructionObserver* observer) {
+ base::MessageLoop::current()->AddDestructionObserver(observer);
}
} // namespace