/external/chromium_org/chrome/browser/ui/tabs/ |
pinned_tab_service_factory.cc | 7 #include "chrome/browser/profiles/profile.h" 13 Profile* profile) { 15 GetInstance()->GetServiceForBrowserContext(profile, true)); 32 content::BrowserContext* profile) const { 33 return new PinnedTabService(static_cast<Profile*>(profile));
|
/external/chromium/chrome/browser/ |
accessibility_events.cc | 10 #include "chrome/browser/profiles/profile.h" 18 Profile *profile = info->profile(); local 19 if (profile->ShouldSendAccessibilityEvents()) { 22 Source<Profile>(profile), 28 Profile* profile, const std::string& control_name) 29 : profile_(profile), name_(control_name) [all...] |
/external/chromium_org/apps/ |
app_restore_service.h | 19 class Profile; 31 explicit AppRestoreService(Profile* profile); 41 static AppRestoreService* Get(Profile* profile); 45 virtual void OnAppStart(Profile* profile, const std::string& app_id) OVERRIDE; 46 virtual void OnAppActivated(Profile* profile, 48 virtual void OnAppDeactivated(Profile* profile [all...] |
launcher.h | 12 class Profile; 25 // the |command_line| fields present. |extension| and |profile| must not be 28 void LaunchPlatformAppWithCommandLine(Profile* profile, 35 void LaunchPlatformAppWithPath(Profile* profile, 40 void LaunchPlatformApp(Profile* profile, 47 void LaunchPlatformAppWithFileHandler(Profile* profile, [all...] |
app_keep_alive_service.cc | 11 #include "chrome/browser/profiles/profile.h" 18 AppLifetimeMonitorFactory::GetForProfile(static_cast<Profile*>(context)); 26 AppLifetimeMonitorFactory::GetForProfile(static_cast<Profile*>(context_)); 31 void AppKeepAliveService::OnAppStart(Profile* profile, 33 if (profile != context_ || shut_down_) 40 void AppKeepAliveService::OnAppStop(Profile* profile, 42 if (profile != context_) 49 void AppKeepAliveService::OnAppActivated(Profile* profile [all...] |
/external/chromium_org/chrome/browser/extensions/ |
chrome_notification_observer.cc | 10 #include "chrome/browser/profiles/profile.h" 26 Profile* profile = browser->profile(); local 27 DCHECK(profile); 29 // Inform the process manager for this profile that the window is ready. 31 // a related incognito profile or other regular profiles. 33 ExtensionSystem::Get(profile)->process_manager(); 36 DCHECK_EQ(profile, manager->GetBrowserContext()); 39 // For incognito profiles also inform the original profile's process manage [all...] |
extension_warning_badge_service_unittest.cc | 9 #include "chrome/browser/profiles/profile.h" 21 explicit TestExtensionWarningSet(Profile* profile) 22 : ExtensionWarningService(profile) { 35 TestExtensionWarningBadgeService(Profile* profile, 37 : ExtensionWarningBadgeService(profile), 50 bool HasBadge(Profile* profile) { 52 GlobalErrorServiceFactory::GetForProfile(profile); 65 TestingProfile profile; local [all...] |
extension_sync_service_factory.cc | 13 #include "chrome/browser/profiles/profile.h" 18 Profile* profile) { 20 GetInstance()->GetServiceForBrowserContext(profile, true)); 41 Profile* profile = Profile::FromBrowserContext(context); local 43 profile, 44 extensions::ExtensionPrefsFactory::GetForBrowserContext(profile), 45 extensions::ExtensionSystemFactory::GetForProfile(profile)- [all...] |
install_tracker_factory.cc | 13 #include "chrome/browser/profiles/profile.h" 19 InstallTracker* InstallTrackerFactory::GetForProfile(Profile* profile) { 21 GetInstance()->GetServiceForBrowserContext(profile, true)); 40 Profile* profile = static_cast<Profile*>(context); local 42 extensions::ExtensionSystem::Get(profile)->extension_service(); 43 return new InstallTracker(profile, service->extension_prefs()); 48 // The installs themselves are routed to the non-incognito profile and s [all...] |
extension_install_ui.h | 14 class Profile; 27 static ExtensionInstallUI* Create(Profile* profile); 51 static void OpenAppInstalledUI(Profile* profile, const std::string& app_id); 64 // Creates an ExtensionInstallPrompt from |profile|. 68 Profile* profile); 70 Profile* profile() { return profile_; function in class:ExtensionInstallUI [all...] |
extension_system_factory.cc | 10 #include "chrome/browser/profiles/profile.h" 21 ExtensionSystemSharedFactory::GetForProfile(Profile* profile) { 23 GetInstance()->GetServiceForBrowserContext(profile, true)); 45 content::BrowserContext* profile) const { 46 return new ExtensionSystemImpl::Shared(static_cast<Profile*>(profile)); 59 ExtensionSystem* ExtensionSystemFactory::GetForProfile(Profile* profile) { 61 GetInstance()->GetServiceForBrowserContext(profile, true)) [all...] |
/external/chromium_org/apps/app_shim/ |
extension_app_shim_handler_mac.h | 20 class Profile; 49 virtual Profile* ProfileForPath(const base::FilePath& path); 51 base::Callback<void(Profile*)> callback); 54 Profile* profile, const std::string& extension_id); 57 Profile* profile, const std::string& extension_id); 58 virtual void EnableExtension(Profile* profile, 61 virtual void LaunchApp(Profile* profile [all...] |
/external/chromium_org/chrome/browser/ui/app_list/ |
app_list_controller_delegate.cc | 23 const extensions::Extension* GetExtension(Profile* profile, 26 extensions::ExtensionSystem::Get(profile)->extension_service(); 57 Profile* profile, 59 const extensions::Extension* extension = GetExtension(profile, app_id); 61 extensions::ExtensionSystem::Get(profile)->management_policy(); 66 void AppListControllerDelegate::UninstallApp(Profile* profile, 70 new ExtensionUninstaller(profile, app_id, this) [all...] |
/external/chromium_org/components/autofill/core/browser/android/ |
auxiliary_profiles_android.cc | 5 // Populates default autofill profile from user's own Android contact. 22 // Generates the autofill profile by accessing the Android 23 // ContactsContract.Profile API through PersonalAutofillPopulator via JNI. 24 // The generated profile corresponds to the user's "ME" contact in the 65 scoped_ptr<AutofillProfile> profile( 67 LoadName(profile.get()); 68 LoadEmailAddress(profile.get()); 69 LoadPhoneNumbers(profile.get()); 71 // Android user's profile contact does not parse its address 76 // LoadAddress(profile.get()) [all...] |
/external/chromium_org/chrome/browser/profiles/ |
profile_manager.cc | 105 // Simple task to log the size of the current profile. 112 UMA_HISTOGRAM_COUNTS_10000("Profile.TotalSize", size_MB); 116 UMA_HISTOGRAM_COUNTS_10000("Profile.HistorySize", size_MB); 120 UMA_HISTOGRAM_COUNTS_10000("Profile.TotalHistorySize", size_MB); 124 UMA_HISTOGRAM_COUNTS_10000("Profile.CookiesSize", size_MB); 128 UMA_HISTOGRAM_COUNTS_10000("Profile.BookmarksSize", size_MB); 132 UMA_HISTOGRAM_COUNTS_10000("Profile.FaviconsSize", size_MB); 136 UMA_HISTOGRAM_COUNTS_10000("Profile.TopSitesSize", size_MB); 140 UMA_HISTOGRAM_COUNTS_10000("Profile.VisitedLinksSize", size_MB); 144 UMA_HISTOGRAM_COUNTS_10000("Profile.WebDataSize", size_MB) 254 Profile* profile = GetLastUsedProfile(); local 378 Profile* profile = GetProfile(profile_path.Append(profile_dir)); local 413 std::string profile; local 482 Profile* profile = GetProfile(default_profile_dir); local 499 Profile* profile = GetProfile(default_profile_dir); local 539 Profile* profile = GetProfileByPath(profile_dir); local 597 Profile* profile = info->profile.get(); local 695 Profile* profile = browser->profile(); local 714 Profile* profile = browser->profile(); local 775 Profile* profile = browser->profile(); local 1218 Profile* profile = GetProfileByPath(profile_dir); local [all...] |
profiles_state.h | 12 class Profile; 20 // Checks if new profile management is enabled. 23 // Returns the path to the default profile directory, based on the given 27 // Returns the path to the preferences file given the user profile directory. 30 // Register multi-profile related preferences in Local State. 33 // Returns the display name of the active on-the-record profile (or guest). 36 // Update the name of |profile| to |new_profile_name|. This updates the 37 // profile preferences, which triggers an update in the ProfileInfoCache. 38 void UpdateProfileName(Profile* profile, [all...] |
/external/chromium/chrome/browser/sync/glue/ |
theme_util.h | 10 class Profile; 34 Profile* profile); 39 Profile* profile, 52 const sync_pb::ThemeSpecifics& theme_specifics, Profile* profile); 55 // |theme_specifics| uses the default theme and |profile| does not, the local 59 Profile* profile, sync_pb::ThemeSpecifics* theme_specifics) [all...] |
/external/chromium_org/chrome/browser/autocomplete/ |
autocomplete_classifier_factory.cc | 11 #include "chrome/browser/profiles/profile.h" 18 Profile* profile) { 20 GetInstance()->GetServiceForBrowserContext(profile, true)); 30 content::BrowserContext* profile) { 31 return new AutocompleteClassifier(static_cast<Profile*>(profile)); 59 content::BrowserContext* profile) const { 60 return BuildInstanceFor(static_cast<Profile*>(profile)); [all...] |
/external/chromium_org/chrome/browser/extensions/api/bluetooth/ |
bluetooth_extension_function.cc | 10 #include "chrome/browser/profiles/profile.h" 19 extensions::ExtensionBluetoothEventRouter* GetEventRouter(Profile* profile) { 20 return extensions::BluetoothAPI::Get(profile)->bluetooth_event_router(); 23 bool IsBluetoothSupported(Profile* profile) { 24 return GetEventRouter(profile)->IsBluetoothSupported(); 29 Profile* profile) { 30 GetEventRouter(profile)->GetAdapter(callback) [all...] |
/external/chromium_org/chrome/browser/managed_mode/ |
managed_user_service_factory.cc | 10 #include "chrome/browser/profiles/profile.h" 15 ManagedUserService* ManagedUserServiceFactory::GetForProfile(Profile* profile) { 17 GetInstance()->GetServiceForBrowserContext(profile, true)); 27 Profile* profile) { 28 return new ManagedUserService(profile); 47 content::BrowserContext* profile) const { 48 return BuildInstanceFor(static_cast<Profile*>(profile)); [all...] |
/external/chromium_org/chrome/browser/media/ |
protected_media_identifier_permission_context_factory.cc | 9 #include "chrome/browser/profiles/profile.h" 18 explicit Service(Profile* profile) { 19 context_ = new ProtectedMediaIdentifierPermissionContext(profile); 41 Profile* profile) { 43 GetInstance()->GetServiceForBrowserContext(profile, true))->context(); 66 content::BrowserContext* profile) const { 67 return new Service(static_cast<Profile*>(profile)); [all...] |
/external/chromium_org/chrome/browser/search/ |
hotword_service_factory.cc | 9 #include "chrome/browser/profiles/profile.h" 16 HotwordService* HotwordServiceFactory::GetForProfile(Profile* profile) { 17 if (!profile->GetPrefs()->GetBoolean(prefs::kHotwordSearchEnabled) || 18 (profile->IsOffTheRecord() && 19 !profile->GetPrefs()->GetBoolean(prefs::kHotwordSearchIncognitoEnabled))) 23 GetInstance()->GetServiceForBrowserContext(profile, true)); 57 content::BrowserContext* profile) const { 58 return new HotwordService(static_cast<Profile*>(profile)); [all...] |
/external/chromium_org/chrome/browser/sync/ |
profile_sync_service_mock.cc | 15 ProfileSyncServiceMock::ProfileSyncServiceMock(Profile* profile) 18 profile, 20 ProfileOAuth2TokenServiceFactory::GetForProfile(profile), 28 TestingProfile* profile = new TestingProfile(); local 29 profile->GetPrefs()->SetString(prefs::kGoogleServicesUsername, "foo"); 30 return profile; 35 content::BrowserContext* profile) { 36 return new ProfileSyncServiceMock(static_cast<Profile*>(profile)); [all...] |
/external/chromium_org/chrome/browser/themes/ |
theme_service_factory.h | 12 class Profile; 20 // Profiles. Listens for the Profile's destruction notification and cleans up 25 // |profile|. Note that even if a Profile doesn't have a theme installed, it 27 static ThemeService* GetForProfile(Profile* profile); 30 // |profile|. Returns NULL if the theme is no longer installed, if there is 32 static const extensions::Extension* GetThemeForProfile(Profile* profile); 44 content::BrowserContext* profile) const OVERRIDE [all...] |
/external/chromium_org/chrome/browser/ui/ |
browser_finder.cc | 7 #include "chrome/browser/profiles/profile.h" 30 // . If it contains kMatchOriginalProfile then the original profile of the 31 // browser must match |profile->GetOriginalProfile()|. This is used to match 37 Profile* profile, 46 if (browser->profile()->GetOriginalProfile() != 47 profile->GetOriginalProfile()) 49 } else if (browser->profile() != profile) { 65 Profile* profile [all...] |