| /external/chromium_org/apps/app_shim/ |
| extension_app_shim_handler_mac.cc | 18 #include "chrome/browser/profiles/profile.h" 38 void ProfileLoadedCallback(base::Callback<void(Profile*)> callback, 39 Profile* profile, 40 Profile::CreateStatus status) { 41 if (status == Profile::CREATE_STATUS_INITIALIZED) { 42 callback.Run(profile); 47 DCHECK_EQ(Profile::CREATE_STATUS_CREATED, status); 50 void SetAppHidden(Profile* profile, const std::string& app_id, bool hidden) 139 Profile* profile = profile_manager->GetProfileByPath(full_path); local 250 Profile* profile = Profile::FromBrowserContext(app_window->browser_context()); local 262 Profile* profile = Profile::FromBrowserContext(app_window->browser_context()); local 281 Profile* profile = Profile::FromBrowserContext(app_window->browser_context()); local 314 Profile* profile = delegate_->ProfileForPath(profile_path); local 379 Profile* profile = delegate_->ProfileForPath(profile_path); local 415 Profile* profile = delegate_->ProfileForPath(host->GetProfilePath()); local 439 Profile* profile = delegate_->ProfileForPath(host->GetProfilePath()); local 446 Profile* profile = delegate_->ProfileForPath(host->GetProfilePath()); local 467 Profile* profile = content::Source<Profile>(source).ptr(); local [all...] |
| /external/chromium_org/chrome/browser/profiles/ |
| profile_browsertest.cc | 5 #include "chrome/browser/profiles/profile.h" 32 class MockProfileDelegate : public Profile::Delegate { 34 MOCK_METHOD1(OnPrefsLoaded, void(Profile*)); 35 MOCK_METHOD3(OnProfileCreated, void(Profile*, bool, bool)); 45 scoped_ptr<Profile> CreateProfile( 47 Profile::Delegate* delegate, 48 Profile::CreateMode create_mode) { 49 scoped_ptr<Profile> profile(Profile::CreateProfile [all...] |
| /external/chromium_org/chrome/browser/google/ |
| google_profile_helper.h | 5 // Provides Google-related information for a given Profile. 15 class Profile; 20 // a value at all times (even during startup, in unittest mode or if |profile| 22 GURL GetGoogleHomePageURL(Profile* profile);
|
| /external/chromium_org/chrome/browser/sync/ |
| profile_sync_service_factory.h | 12 class Profile; 17 static ProfileSyncService* GetForProfile(Profile* profile); 18 static bool HasProfileSyncService(Profile* profile);
|
| /external/chromium_org/chrome/browser/sync/test/integration/performance/ |
| bookmarks_sync_perf_test.cc | 27 // Adds |num_urls| new unique bookmarks to the bookmark bar for |profile|. 28 void AddURLs(int profile, int num_urls); 30 // Updates the URL for all bookmarks in the bookmark bar for |profile|. 31 void UpdateURLs(int profile); 33 // Removes all bookmarks in the bookmark bar for |profile|. 34 void RemoveURLs(int profile); 36 // Returns the number of bookmarks stored in the bookmark bar for |profile|. 37 int GetURLCount(int profile); 51 void BookmarksSyncPerfTest::AddURLs(int profile, int num_urls) { 54 profile, 0, NextIndexedURLTitle(), GURL(NextIndexedURL())) != NULL) [all...] |
| extensions_sync_perf_test.cc | 31 // Adds |num_extensions| new unique extensions to |profile|. 32 void AddExtensions(int profile, int num_extensions); 34 // Updates the enabled/disabled state for all extensions in |profile|. 35 void UpdateExtensions(int profile); 37 // Uninstalls all currently installed extensions from |profile|. 38 void RemoveExtensions(int profile); 40 // Returns the number of currently installed extensions for |profile|. 41 int GetExtensionCount(int profile); 48 void ExtensionsSyncPerfTest::AddExtensions(int profile, int num_extensions) { 50 InstallExtension(GetProfile(profile), extension_number_++) [all...] |
| /external/chromium_org/chrome/browser/ui/ |
| browser_ui_prefs.h | 11 class Profile; 23 // given user profile. This is done only once per application name / per 24 // session / per user profile. 25 void RegisterAppPrefs(const std::string& app_name, Profile* profile);
|
| /external/chromium_org/chrome/browser/ui/startup/ |
| default_browser_prompt.h | 11 class Profile; 18 void ShowDefaultBrowserPrompt(Profile* profile, HostDesktopType desktop_type); 22 bool ShowFirstRunDefaultBrowserPrompt(Profile* profile);
|
| /external/chromium_org/chrome/browser/ui/sync/ |
| sync_promo_ui.cc | 7 #include "chrome/browser/profiles/profile.h" 10 bool SyncPromoUI::ShouldShowSyncPromo(Profile* profile) { 12 if (!signin::ShouldShowPromo(profile)) { 17 if (!profile->IsSyncAccessible())
|
| /hardware/libhardware/modules/usbaudio/ |
| alsa_device_profile.c | 61 void profile_init(alsa_device_profile* profile, int direction) 63 profile->card = profile->device = -1; 64 profile->direction = direction; 68 for (index = 0; index < ARRAY_SIZE(profile->formats); index++) { 69 profile->formats[index] = PCM_FORMAT_INVALID; 72 for (index = 0; index < ARRAY_SIZE(profile->sample_rates); index++) { 73 profile->sample_rates[index] = 0; 76 for (index = 0; index < ARRAY_SIZE(profile->channel_counts); index++) { 77 profile->channel_counts[index] = 0 [all...] |
| /external/chromium_org/chrome/browser/autofill/ |
| personal_data_manager_factory.cc | 11 #include "chrome/browser/profiles/profile.h" 21 Profile* profile) { 23 GetInstance()->GetServiceForBrowserContext(profile, true)); 43 Profile* profile = Profile::FromBrowserContext(context); local 47 profile, Profile::EXPLICIT_ACCESS), 48 profile->GetPrefs() [all...] |
| /external/chromium_org/chrome/browser/geolocation/ |
| geolocation_permission_context_factory.cc | 8 #include "chrome/browser/profiles/profile.h" 22 explicit Service(Profile* profile) { 24 context_ = new GeolocationPermissionContextAndroid(profile); 26 context_ = new GeolocationPermissionContext(profile); 48 GeolocationPermissionContextFactory::GetForProfile(Profile* profile) { 50 GetInstance()->GetServiceForBrowserContext(profile, true))->context(); 70 content::BrowserContext* profile) const { 71 return new Service(static_cast<Profile*>(profile)) [all...] |
| /external/chromium_org/chrome/browser/policy/cloud/ |
| user_cloud_policy_invalidator.h | 13 class Profile; 20 // KeyedService to allow profile-based lifetime management. 25 // |profile| is profile associated with the invalidator. It is used to get 26 // a reference to the profile's invalidation service. Both the profile and 31 Profile* profile, 43 // The profile associated with the invalidator. 44 Profile* profile_ [all...] |
| /external/chromium_org/chrome/browser/search_engines/ |
| template_url_fetcher_factory.cc | 8 #include "chrome/browser/profiles/profile.h" 15 Profile* profile) { 17 GetInstance()->GetServiceForBrowserContext(profile, true)); 26 void TemplateURLFetcherFactory::ShutdownForProfile(Profile* profile) { 28 factory->BrowserContextShutdown(profile); 29 factory->BrowserContextDestroyed(profile); 43 content::BrowserContext* profile) const { 44 return new TemplateURLFetcher(static_cast<Profile*>(profile)) [all...] |
| /external/chromium_org/chrome/browser/signin/ |
| profile_oauth2_token_service_factory.cc | 7 #include "chrome/browser/profiles/profile.h" 33 ProfileOAuth2TokenServiceFactory::GetForProfile(Profile* profile) { 35 GetInstance()->GetServiceForBrowserContext(profile, true)); 41 Profile* profile) { 43 GetForProfile(profile)); 54 Profile* profile = static_cast<Profile*>(context) local [all...] |
| /external/chromium_org/components/autofill/core/browser/android/ |
| auxiliary_profiles_android.h | 21 // a 'default' auxiliary profile. It depends on an 23 // that is re-organized into an Autofill profile. 33 // Returns autofill profile constructed from profile_loader_. 37 // Inserts contact's address data into profile. 38 void LoadAddress(AutofillProfile* profile); 39 // Inserts contact's name data into profile. 40 void LoadName(AutofillProfile* profile); 41 // Inserts contact's email address data into profile. 42 void LoadEmailAddress(AutofillProfile* profile); 43 // Inserts contact's phone number data into profile [all...] |
| /external/chromium_org/apps/ |
| app_restore_service_factory.cc | 9 #include "chrome/browser/profiles/profile.h" 15 AppRestoreService* AppRestoreServiceFactory::GetForProfile(Profile* profile) { 17 GetInstance()->GetServiceForBrowserContext(profile, true)); 35 content::BrowserContext* profile) const { 36 return new AppRestoreService(static_cast<Profile*>(profile));
|
| saved_files_service_factory.cc | 8 #include "chrome/browser/profiles/profile.h" 14 SavedFilesService* SavedFilesServiceFactory::GetForProfile(Profile* profile) { 16 GetInstance()->GetServiceForBrowserContext(profile, true)); 32 content::BrowserContext* profile) const { 33 return new SavedFilesService(static_cast<Profile*>(profile));
|
| /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/profiles/ |
| Profile.java | 10 * Wrapper that allows passing a Profile reference around in the Java layer. 12 public class Profile { 16 private Profile(long nativeProfileAndroid) { 20 public static Profile getLastUsedProfile() { 21 return (Profile) nativeGetLastUsedProfile(); 25 private static Profile create(long nativeProfileAndroid) { 26 return new Profile(nativeProfileAndroid);
|
| /external/chromium_org/chrome/browser/apps/ |
| shortcut_manager_factory.cc | 8 #include "chrome/browser/profiles/profile.h" 12 AppShortcutManager* AppShortcutManagerFactory::GetForProfile(Profile* profile) { 14 GetInstance()->GetServiceForBrowserContext(profile, 32 content::BrowserContext* profile) const { 33 return new AppShortcutManager(static_cast<Profile*>(profile));
|
| /external/chromium_org/chrome/browser/captive_portal/ |
| captive_portal_service_factory.cc | 9 #include "chrome/browser/profiles/profile.h" 14 Profile* profile) { 16 GetInstance()->GetServiceForBrowserContext(profile, true)); 34 content::BrowserContext* profile) const { 35 return new CaptivePortalService(static_cast<Profile*>(profile));
|
| /external/chromium_org/chrome/browser/extensions/token_cache/ |
| token_cache_service_factory.cc | 8 #include "chrome/browser/profiles/profile.h" 14 TokenCacheServiceFactory::GetForProfile(Profile* profile) { 16 GetInstance()->GetServiceForBrowserContext(profile, true)); 35 content::BrowserContext* profile) const { 36 return new extensions::TokenCacheService(static_cast<Profile*>(profile));
|
| /external/chromium_org/chrome/browser/favicon/ |
| favicon_service_factory.h | 9 #include "chrome/browser/profiles/profile.h" 14 class Profile; 22 // the ServiceAccessType definition in profile.h. 23 static FaviconService* GetForProfile(Profile* profile, 24 Profile::ServiceAccessType sat); 36 content::BrowserContext* profile) const OVERRIDE;
|
| /external/chromium_org/chrome/browser/media/ |
| midi_permission_context_factory.cc | 9 #include "chrome/browser/profiles/profile.h" 14 MidiPermissionContextFactory::GetForProfile(Profile* profile) { 16 GetInstance()->GetServiceForBrowserContext(profile, true)); 35 content::BrowserContext* profile) const { 36 return new MidiPermissionContext(static_cast<Profile*>(profile));
|
| /external/chromium_org/chrome/browser/notifications/sync_notifier/ |
| synced_notification_app_info_service_factory.cc | 16 Profile* profile, 17 Profile::ServiceAccessType service_access_type) { 19 GetInstance()->GetServiceForBrowserContext(profile, true)); 38 content::BrowserContext* profile) const { 40 new SyncedNotificationAppInfoService(static_cast<Profile*>(profile));
|