diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-11 02:45:52 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-11 02:45:52 +0000 |
commit | f8b3ef8aab85985cb74d748112a1a3ec8e2b7ed8 (patch) | |
tree | 3bca9c7a2c36af1c29ae37e0668be3ee1849356a /chrome/browser/login_prompt_mac.mm | |
parent | ad27b85ef15c7446744911b776a733842f8e9206 (diff) | |
download | chromium_src-f8b3ef8aab85985cb74d748112a1a3ec8e2b7ed8.zip chromium_src-f8b3ef8aab85985cb74d748112a1a3ec8e2b7ed8.tar.gz chromium_src-f8b3ef8aab85985cb74d748112a1a3ec8e2b7ed8.tar.bz2 |
Rename ChromeThread to BrowserThread Part15:
- Rename entries in more 40 files under chrome/browser.
BUG=56926
TEST=trybots
Review URL: http://codereview.chromium.org/3704001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62130 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/login_prompt_mac.mm')
-rw-r--r-- | chrome/browser/login_prompt_mac.mm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/login_prompt_mac.mm b/chrome/browser/login_prompt_mac.mm index a211af6..36a113c 100644 --- a/chrome/browser/login_prompt_mac.mm +++ b/chrome/browser/login_prompt_mac.mm @@ -46,7 +46,7 @@ class LoginHandlerMac : public LoginHandler, // LoginModelObserver implementation. virtual void OnAutofillDataAvailable(const std::wstring& username, const std::wstring& password) { - DCHECK(ChromeThread::CurrentlyOn(ChromeThread::UI)); + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); [sheet_controller_ autofillLogin:base::SysWideToNSString(username) password:base::SysWideToNSString(password)]; @@ -55,7 +55,7 @@ class LoginHandlerMac : public LoginHandler, // LoginHandler: virtual void BuildViewForPasswordManager(PasswordManager* manager, std::wstring explanation) { - DCHECK(ChromeThread::CurrentlyOn(ChromeThread::UI)); + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); // Load nib here instead of in constructor. sheet_controller_ = [[[LoginHandlerSheet alloc] @@ -79,7 +79,7 @@ class LoginHandlerMac : public LoginHandler, // Overridden from ConstrainedWindowMacDelegate: virtual void DeleteDelegate() { - DCHECK(ChromeThread::CurrentlyOn(ChromeThread::UI)); + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); // The constrained window is going to delete itself; clear our pointer. SetDialog(NULL); @@ -95,13 +95,13 @@ class LoginHandlerMac : public LoginHandler, void OnLoginPressed(const std::wstring& username, const std::wstring& password) { - DCHECK(ChromeThread::CurrentlyOn(ChromeThread::UI)); + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); SetAuth(username, password); } void OnCancelPressed() { - DCHECK(ChromeThread::CurrentlyOn(ChromeThread::UI)); + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); CancelAuth(); } |