Lines Matching full:profile
38 #include "chrome/browser/profiles/profile.h"
154 // The Profile that we restore sessions from.
155 Profile* profile_;
172 profile_(contents->profile()),
314 // The Profile that we restore sessions from.
315 Profile* profile_;
323 profile_(contents->profile()) {
362 Profile* profile) {
363 SessionStartupPref pref = SessionStartupPref::GetStartupPref(profile);
368 profile->GetPrefs()->GetBoolean(prefs::kIncognitoEnabled)) {
449 Profile* profile,
454 ExtensionService* extensions_service = profile->GetExtensionService();
480 Profile* profile,
483 ExtensionService* extension_service = profile->GetExtensionService();
520 Profile* profile,
525 DCHECK(profile);
537 // Continue with the incognito profile from here on if --incognito
539 profile->GetPrefs()->GetBoolean(prefs::kIncognitoEnabled)) {
540 profile = profile->GetOffTheRecordProfile();
545 command_line, cur_dir, profile);
546 bool launched = lwp.Launch(profile, urls_to_launch, process_startup);
559 // done after |profile| is switched to the incognito profile (which
562 profile->InitChromeOSPreferences();
581 new chromeos::LowBatteryObserver(profile);
586 new chromeos::UpdateObserver(profile);
591 new chromeos::NetworkMessageObserver(profile);
600 new chromeos::SmsObserver(profile);
604 profile->SetupChromeOSEnterpriseExtensionObserver();
643 Profile* profile,
646 DCHECK(profile);
647 profile_ = profile;
691 if (OpenApplicationWindow(profile)) {
700 OpenApplicationTab(profile);
706 CheckDefaultBrowser(profile);
711 KeystoneInfoBar::PromotionInfoBar(profile);
763 bool BrowserInit::LaunchWithProfile::OpenApplicationTab(Profile* profile) {
774 if (!GetAppLaunchContainer(profile, app_id, &extension, &launch_container))
783 TabContents* app_tab = Browser::OpenApplicationTab(profile, extension, NULL);
787 bool BrowserInit::LaunchWithProfile::OpenApplicationWindow(Profile* profile) {
799 if (!GetAppLaunchContainer(profile, app_id, &extension, &launch_container))
811 profile, extension, launch_container, NULL);
830 if (profile->GetExtensionService()->IsInstalledApp(url)) {
839 profile,
974 // If we don't yet have a profile, try to use the one we're given from
976 // could be a popup window), we can at least use the profile.
978 profile_ = browser->profile();
1215 void BrowserInit::LaunchWithProfile::CheckDefaultBrowser(Profile* profile) {
1220 if (!profile->GetPrefs()->GetBoolean(prefs::kCheckDefaultBrowser) ||
1244 Profile* profile) {
1254 profile->GetTemplateURLModel()->GetDefaultSearchProvider();
1300 Profile* profile,
1303 DCHECK(profile);
1331 command_line, cur_dir, profile);
1337 profile,
1351 command_line, cur_dir, profile);
1359 automation_channel_id, profile, expected_tabs))
1363 automation_channel_id, profile, expected_tabs))
1372 profile->GetCloudPrintProxyService()->ShowTokenExpiredNotification();
1423 command_line, profile, cur_dir, process_startup, return_code);
1430 Profile* profile,
1433 new AutomationProviderClass(profile);