Home | History | Annotate | Download | only in apps

Lines Matching full:profile

22 #include "chrome/browser/profiles/profile.h"
105 void LaunchPlatformAppWithNoData(Profile* profile, const Extension* extension) {
107 extensions::AppEventRouter::DispatchOnLaunchedEvent(profile, extension);
118 PlatformAppPathLauncher(Profile* profile,
121 : profile_(profile), extension_(extension), file_path_(file_path) {}
299 // The profile the app should be run in.
300 Profile* profile_;
313 void LaunchPlatformAppWithCommandLine(Profile* profile,
317 if (!AppsClient::Get()->CheckAppLaunch(profile, extension))
339 LaunchPlatformAppWithNoData(profile, extension);
344 LaunchPlatformAppWithPath(profile, extension, path);
347 void LaunchPlatformAppWithPath(Profile* profile,
354 new PlatformAppPathLauncher(profile, extension, file_path);
358 void LaunchPlatformApp(Profile* profile, const Extension* extension) {
359 LaunchPlatformAppWithCommandLine(profile, extension, NULL, base::FilePath());
362 void LaunchPlatformAppWithFileHandler(Profile* profile,
367 new PlatformAppPathLauncher(profile, extension, file_path);
371 void RestartPlatformApp(Profile* profile, const Extension* extension) {
379 ExtensionSystem::Get(profile)->event_router();
385 extensions::AppEventRouter::DispatchOnRestartedEvent(profile, extension);
389 extensions::ExtensionPrefs* extension_prefs = ExtensionSystem::Get(profile)->
398 LaunchPlatformAppWithNoData(profile, extension);
401 void LaunchPlatformAppWithUrl(Profile* profile,
407 profile, extension, handler_id, url, referrer_url);