Rename ChromeThread to BrowserThread Part 1:
- Add a typedef ChromeThread BrowserThread
- Rename the entries under autofill and bookmarks from ChromeThread to BrowserThread.
Reason: "ChromeThread should be called BrowserThread to emphasize that it's a
browser process only concept."
BUG=56926
TEST=trybots
Review URL: http://codereview.chromium.org/3400026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61476 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/autofill/personal_data_manager_unittest.cc b/chrome/browser/autofill/personal_data_manager_unittest.cc
index 5453c5f..2d151f2 100644
--- a/chrome/browser/autofill/personal_data_manager_unittest.cc
+++ b/chrome/browser/autofill/personal_data_manager_unittest.cc
@@ -28,7 +28,7 @@
using webkit_glue::FormData;
ACTION(QuitUIMessageLoop) {
- DCHECK(ChromeThread::CurrentlyOn(ChromeThread::UI));
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
MessageLoop::current()->Quit();
}
@@ -43,8 +43,8 @@
class PersonalDataManagerTest : public testing::Test {
protected:
PersonalDataManagerTest()
- : ui_thread_(ChromeThread::UI, &message_loop_),
- db_thread_(ChromeThread::DB) {
+ : ui_thread_(BrowserThread::UI, &message_loop_),
+ db_thread_(BrowserThread::DB) {
}
virtual void SetUp() {
@@ -80,8 +80,8 @@
}
MessageLoopForUI message_loop_;
- ChromeThread ui_thread_;
- ChromeThread db_thread_;
+ BrowserThread ui_thread_;
+ BrowserThread db_thread_;
scoped_ptr<TestingProfile> profile_;
scoped_refptr<PersonalDataManager> personal_data_;
NotificationRegistrar registrar_;