summaryrefslogtreecommitdiffstats
path: root/chrome/test/thread_test_helper.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-11 11:55:26 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-11 11:55:26 +0000
commit0c7d74fa3286ec04c080a2ffdc5d015c10fe7c37 (patch)
treeb6803b94d704e6986642e36da11532eecffceb9d /chrome/test/thread_test_helper.h
parenta2e6df2c24bd6ecfcd95a0cda680a27a3403bec7 (diff)
downloadchromium_src-0c7d74fa3286ec04c080a2ffdc5d015c10fe7c37.zip
chromium_src-0c7d74fa3286ec04c080a2ffdc5d015c10fe7c37.tar.gz
chromium_src-0c7d74fa3286ec04c080a2ffdc5d015c10fe7c37.tar.bz2
Rename ChromeThread to BrowserThread Part16:
- Rename entries starting from shell_integration.cc. More 30 files covered. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3708001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62136 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/thread_test_helper.h')
-rw-r--r--chrome/test/thread_test_helper.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/test/thread_test_helper.h b/chrome/test/thread_test_helper.h
index 8dd7a8c..ea5c923 100644
--- a/chrome/test/thread_test_helper.h
+++ b/chrome/test/thread_test_helper.h
@@ -17,7 +17,7 @@
// executed.
class ThreadTestHelper : public base::RefCountedThreadSafe<ThreadTestHelper> {
public:
- explicit ThreadTestHelper(ChromeThread::ID thread_id)
+ explicit ThreadTestHelper(BrowserThread::ID thread_id)
: test_result_(false),
thread_id_(thread_id),
done_event_(false, false) {
@@ -25,7 +25,7 @@ class ThreadTestHelper : public base::RefCountedThreadSafe<ThreadTestHelper> {
// True if RunTest() was successfully executed on the target thread.
bool Run() WARN_UNUSED_RESULT {
- if (!ChromeThread::PostTask(thread_id_, FROM_HERE, NewRunnableMethod(
+ if (!BrowserThread::PostTask(thread_id_, FROM_HERE, NewRunnableMethod(
this, &ThreadTestHelper::RunInThread))) {
return false;
}
@@ -50,7 +50,7 @@ class ThreadTestHelper : public base::RefCountedThreadSafe<ThreadTestHelper> {
}
bool test_result_;
- ChromeThread::ID thread_id_;
+ BrowserThread::ID thread_id_;
base::WaitableEvent done_event_;
DISALLOW_COPY_AND_ASSIGN(ThreadTestHelper);