diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-05 03:35:34 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-05 03:35:34 +0000 |
commit | faec631688b3e0c87032d95a47cc945613431f45 (patch) | |
tree | 52e0372c6aa7ef7a3eef3e50e18aaef4d7f3dea8 /chrome/browser/autofill | |
parent | 882b7b2ac4db4348b28f0de68e48febbfd814a70 (diff) | |
download | chromium_src-faec631688b3e0c87032d95a47cc945613431f45.zip chromium_src-faec631688b3e0c87032d95a47cc945613431f45.tar.gz chromium_src-faec631688b3e0c87032d95a47cc945613431f45.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/autofill')
-rw-r--r-- | chrome/browser/autofill/personal_data_manager.cc | 2 | ||||
-rw-r--r-- | chrome/browser/autofill/personal_data_manager_unittest.cc | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/autofill/personal_data_manager.cc b/chrome/browser/autofill/personal_data_manager.cc index 8fc91c2..87600f3 100644 --- a/chrome/browser/autofill/personal_data_manager.cc +++ b/chrome/browser/autofill/personal_data_manager.cc @@ -591,7 +591,7 @@ const std::vector<AutoFillProfile*>& PersonalDataManager::web_profiles() { AutoFillProfile* PersonalDataManager::CreateNewEmptyAutoFillProfileForDBThread( const string16& label) { // See comment in header for thread details. - DCHECK(ChromeThread::CurrentlyOn(ChromeThread::DB)); + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); AutoLock lock(unique_ids_lock_); AutoFillProfile* p = new AutoFillProfile(label, CreateNextUniqueIDFor(&unique_profile_ids_)); 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 PersonalDataLoadedObserverMock : public PersonalDataManager::Observer { 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 @@ class PersonalDataManagerTest : public testing::Test { } 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_; |