Lines Matching refs:profile
21 #include "chrome/browser/profiles/profile.h"
51 CrashNotificationDelegate(Profile* profile, const Extension* extension)
52 : profile_(profile),
84 Profile* profile_;
91 void ShowBalloon(const Extension* extension, Profile* profile) {
102 new CrashNotificationDelegate(profile, extension));
103 g_browser_process->notification_ui_manager()->Add(notification, profile);
124 Profile* profile, const CommandLine* command_line)
127 // the parent profile is incognito.
128 if (!profile->IsOffTheRecord() &&
130 prefs_ = profile->GetPrefs();
134 StartObserving(profile);
153 void BackgroundContentsService::StartObserving(Profile* profile) {
156 Source<Profile>(profile));
163 Source<Profile>(profile));
168 Source<Profile>(profile));
173 Source<Profile>(profile));
178 Source<Profile>(profile));
183 Source<Profile>(profile));
185 Source<Profile>(profile));
190 Source<Profile>(profile));
197 Source<Profile>(profile));
205 LoadBackgroundContentsFromManifests(Source<Profile>(source).ptr());
206 LoadBackgroundContentsFromPrefs(Source<Profile>(source).ptr());
222 Profile* profile = Source<Profile>(source).ptr();
224 ExtensionService* extension_service = profile->GetExtensionService();
237 Profile* profile = Source<Profile>(source).ptr();
244 ExtensionService* service = profile->GetExtensionService();
249 LoadBackgroundContents(profile, extension->background_url(),
260 Profile* profile = Source<Profile>(source).ptr();
266 BackgroundContentsServiceFactory::GetForProfile(profile)->
269 profile->GetExtensionService()->GetExtensionById(extension_id, false);
283 NewRunnableFunction(&ShowBalloon, extension, profile));
330 Profile* profile) {
337 ExtensionService* extensions_service = profile->GetExtensionService();
353 LoadBackgroundContentsFromDictionary(profile, *it, contents);
358 Profile* profile,
362 profile->GetExtensionService()->GetExtensionById(extension_id, false);
365 LoadBackgroundContents(profile,
379 LoadBackgroundContentsFromDictionary(profile, extension_id, contents);
383 Profile* profile,
386 ExtensionService* extensions_service = profile->GetExtensionService();
397 LoadBackgroundContents(profile,
404 Profile* profile) {
406 profile->GetExtensionService()->extensions();
412 LoadBackgroundContents(profile,
421 Profile* profile,
434 SiteInstance::CreateSiteInstanceForURL(profile, url),
436 profile,
450 Profile* profile,
463 Source<Profile>(profile),
565 new_contents->profile());