Home
last modified time | relevance | path

Searched refs:GetAuthenticatedUsername (Results 1 – 25 of 47) sorted by relevance

12

/external/chromium_org/chrome/browser/signin/
Dsignin_manager_unittest.cc160 EXPECT_FALSE(manager_->GetAuthenticatedUsername().empty()); in ExpectSignInWithRefreshTokenSuccess()
165 manager_->GetAuthenticatedUsername())); in ExpectSignInWithRefreshTokenSuccess()
190 EXPECT_TRUE(manager_->GetAuthenticatedUsername().empty()); in TEST_F()
204 EXPECT_EQ("user@gmail.com", manager_->GetAuthenticatedUsername()); in TEST_F()
209 EXPECT_TRUE(manager_->GetAuthenticatedUsername().empty()); in TEST_F()
234 EXPECT_TRUE(manager_->GetAuthenticatedUsername().empty()); in TEST_F()
239 EXPECT_TRUE(manager_->GetAuthenticatedUsername().empty()); in TEST_F()
244 EXPECT_TRUE(manager_->GetAuthenticatedUsername().empty()); in TEST_F()
249 EXPECT_FALSE(manager_->GetAuthenticatedUsername().empty()); in TEST_F()
252 EXPECT_TRUE(manager_->GetAuthenticatedUsername().empty()); in TEST_F()
[all …]
Dsignin_ui_util.cc82 username = signin_manager->GetAuthenticatedUsername(); in GetSigninMenuLabel()
100 base::UTF8ToUTF16(signin_manager.GetAuthenticatedUsername()); in GetStatusLabelsForAuthError()
Dprofile_identity_provider.cc28 return signin_manager_->GetAuthenticatedUsername(); in GetActiveUsername()
Dscreenlock_bridge.cc35 return signin_manager->GetAuthenticatedUsername(); in GetAuthenticatedUserEmail()
Dfake_signin_manager.cc84 MergeSessionCompleted(GetAuthenticatedUsername(), error)); in NotifyMergeSessionObservers()
Dsignin_global_error.cc128 std::string username = signin_manager->GetAuthenticatedUsername(); in GetBubbleViewMessages()
/external/chromium_org/components/signin/core/browser/
Dsignin_manager.cc84 const std::string& account_id = GetAuthenticatedUsername(); in InitTokenService()
133 DCHECK(GetAuthenticatedUsername().empty() || in StartSignInWithRefreshToken()
134 gaia::AreEmailsSame(username, GetAuthenticatedUsername())); in StartSignInWithRefreshToken()
180 if (GetAuthenticatedUsername().empty()) { in SignOut()
203 const std::string username = GetAuthenticatedUsername(); in SignOut()
259 if (!GetAuthenticatedUsername().empty() && in OnGoogleServicesUsernamePatternChanged()
260 !IsAllowedUsername(GetAuthenticatedUsername())) { in OnGoogleServicesUsernamePatternChanged()
341 DCHECK(!GetAuthenticatedUsername().empty()); in CompletePendingSignin()
342 token_service_->UpdateCredentials(GetAuthenticatedUsername(), in CompletePendingSignin()
347 merge_session_helper_->LogIn(GetAuthenticatedUsername()); in CompletePendingSignin()
[all …]
Dsignin_manager_base.cc54 const std::string& SigninManagerBase::GetAuthenticatedUsername() const { in GetAuthenticatedUsername() function in SigninManagerBase
59 return GetAuthenticatedUsername(); in GetAuthenticatedAccountId()
Dsignin_manager_base.h79 const std::string& GetAuthenticatedUsername() const;
/external/chromium_org/chrome/browser/sync/
Dsync_ui_util.cc56 std::string user_display_name = signin.GetAuthenticatedUsername(); in GetSyncedStateStatusLabel()
144 if (signin.GetAuthenticatedUsername().empty()) in GetStatusInfo()
269 } else if (!signin.GetAuthenticatedUsername().empty()) { in GetStatusInfo()
274 base::UTF8ToUTF16(signin.GetAuthenticatedUsername())); in GetStatusInfo()
Dmanaged_user_signin_manager_wrapper.cc28 const std::string& auth_username = original_->GetAuthenticatedUsername(); in GetEffectiveUsername()
Dprofile_sync_service_mock.h52 MOCK_CONST_METHOD0(GetAuthenticatedUsername, base::string16());
/external/chromium_org/chrome/browser/ui/webui/
Dsync_setup_handler.cc313 GetProfile())->GetAuthenticatedUsername().empty()); in DisplayConfigureSync()
520 browser->profile())->GetAuthenticatedUsername(); in DisplayGaiaLoginInNewTabOrWindow()
763 if (signin->GetAuthenticatedUsername().empty()) { in HandleShowSetupUI()
802 GetAuthenticatedUsername().empty()); in HandleStartSignin()
895 if (signin->GetAuthenticatedUsername().empty() || in OpenSyncSetup()
/external/chromium_org/chrome/browser/extensions/api/feedback_private/
Dfeedback_service_nonchromeos.cc52 return signin->GetAuthenticatedUsername(); in GetUserEmail()
/external/chromium_org/chrome/browser/services/gcm/
Dfake_signin_manager.cc46 const std::string username = GetAuthenticatedUsername(); in SignOut()
/external/chromium_org/chrome/browser/extensions/
Dexternal_component_loader.cc18 return signin && !signin->GetAuthenticatedUsername().empty(); in IsUserSignedin()
/external/chromium_org/chrome/browser/ui/webui/options/
Dmanaged_user_create_confirm_handler.cc48 signin->GetAuthenticatedUsername()); in GetLocalizedValues()
Dmanage_profile_handler.cc222 username = manager->GetAuthenticatedUsername(); in GenerateSignedinUserSpecificStrings()
470 base::UTF8ToUTF16(manager->GetAuthenticatedUsername()); in RequestCreateProfileUpdate()
Dmanaged_user_import_handler.cc217 return signin_manager && !signin_manager->GetAuthenticatedUsername().empty(); in IsAccountConnected()
Doptions_ui_browsertest.cc279 EXPECT_TRUE(signin->GetAuthenticatedUsername().empty()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/sync/
Done_click_signin_sync_starter.cc123 if (signin->GetAuthenticatedUsername().empty()) { in ConfirmSignin()
267 DCHECK(old_signin_manager->GetAuthenticatedUsername().empty()); in CompleteInitForNewProfile()
268 DCHECK(new_signin_manager->GetAuthenticatedUsername().empty()); in CompleteInitForNewProfile()
/external/chromium_org/chrome/browser/policy/cloud/
Duser_policy_signin_service.cc123 InitializeForSignedInUser(signin_manager()->GetAuthenticatedUsername(), in OnRefreshTokenAvailable()
Duser_policy_signin_service_mobile.cc196 const std::string& username = signin_manager()->GetAuthenticatedUsername(); in RegisterCloudPolicyService()
Duser_policy_signin_service_base.cc194 std::string username = signin_manager()->GetAuthenticatedUsername(); in InitializeOnProfileReady()
/external/chromium_org/chrome/browser/ui/webui/ntp/
Dnew_tab_page_sync_handler.cc139 Profile::FromWebUI(web_ui()))->GetAuthenticatedUsername()); in HandleSyncLinkClicked()

12