Home | History | Annotate | Download | only in login

Lines Matching refs:profile

42 #include "chrome/browser/profiles/profile.h"
90 net::URLRequestContextGetter* getter = Profile::GetDefaultRequestContext();
138 Profile* profile,
143 Profile* profile,
153 virtual void OnProfileCreated(Profile* profile);
162 // Check user's profile for kApplicationLocale setting.
163 void RespectLocalePreference(Profile* pref);
173 // Delegate to be fired when the profile will be prepared.
236 // The default profile will have been changed because the ProfileManager
241 void LoginUtilsImpl::OnProfileCreated(Profile* profile) {
242 CHECK(profile);
248 // use the preference configuration from the logged-in profile. This ensures
253 // fixed to use the request context of the profile they are associated with.
262 profile->GetProxyConfigTracker(),
274 FetchCookies(profile, credentials_);
279 // logging in and the profile is not OTR.
280 if (profile->GetExtensionService() &&
281 profile->GetExtensionService()->extensions_enabled()) {
282 profile->GetExtensionService()->InitEventRouters();
287 TokenService* token_service = profile->GetTokenService();
289 profile);
295 FetchTokens(profile, credentials_);
301 profile->GetProfileSyncService(username_)->SetPassphrase(password_,
320 RespectLocalePreference(profile);
323 SetFirstLoginPrefs(profile->GetPrefs());
327 PluginUpdater::GetInstance()->UpdatePluginGroupsStateFromPrefs(profile);
335 PrefService* pref_service = profile->GetPrefs();
339 profile->OnLogin();
341 delegate_->OnProfilePrepared(profile);
350 Profile* profile,
357 CookieFetcher* cf = new CookieFetcher(profile);
363 Profile* profile,
365 TokenService* token_service = profile->GetTokenService();
372 void LoginUtilsImpl::RespectLocalePreference(Profile* profile) {
373 DCHECK(profile != NULL);
374 PrefService* prefs = profile->GetPrefs();
385 profile->ChangeAppLocale(pref_locale, Profile::APP_LOCALE_CHANGED_VIA_LOGIN);
580 void LoginUtils::DoBrowserLaunch(Profile* profile) {
591 profile,