Searched defs:profile (Results 226 - 250 of 1666) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/extensions/
H A Dwindow_controller.cc10 #include "chrome/browser/profiles/profile.h"
19 WindowController::WindowController(ui::BaseWindow* window, Profile* profile) argument
20 : window_(window), profile_(profile) {
H A Dwindow_controller.h44 WindowController(ui::BaseWindow* window, Profile* profile);
49 Profile* profile() const { return profile_; } function in class:extensions::WindowController
/external/chromium_org/chrome/browser/favicon/
H A Dfavicon_service_factory.cc18 Profile* profile, Profile::ServiceAccessType sat) {
19 if (!profile->IsOffTheRecord()) {
21 GetInstance()->GetServiceForBrowserContext(profile, true));
26 profile->GetOriginalProfile(), true));
30 NOTREACHED() << "This profile is OffTheRecord";
50 content::BrowserContext* profile) const {
52 ChromeFaviconClientFactory::GetForProfile(static_cast<Profile*>(profile));
53 return new FaviconService(static_cast<Profile*>(profile), favicon_client);
17 GetForProfile( Profile* profile, Profile::ServiceAccessType sat) argument
/external/chromium_org/chrome/browser/feedback/
H A Dfeedback_profile_observer.cc9 #include "chrome/browser/profiles/profile.h"
45 Profile* profile = content::Source<Profile>(source).ptr(); local
46 if (profile && !profile->IsOffTheRecord())
47 QueueUnsentReports(profile);
H A Dshow_feedback_page.cc9 #include "chrome/browser/profiles/profile.h"
49 Profile* profile = NULL; local
51 profile = browser->profile();
53 profile = ProfileManager::GetLastUsedProfileAllowedByPolicy();
55 if (!profile) {
56 LOG(ERROR) << "Cannot invoke feedback: No profile found!";
60 // We do not want to launch on an OTR profile.
61 profile = profile
[all...]
/external/chromium_org/chrome/browser/geolocation/
H A Dgeolocation_permission_context_factory.cc8 #include "chrome/browser/profiles/profile.h"
22 explicit Service(Profile* profile) { argument
24 context_ = new GeolocationPermissionContextAndroid(profile);
26 context_ = new GeolocationPermissionContext(profile);
48 GeolocationPermissionContextFactory::GetForProfile(Profile* profile) { argument
50 GetInstance()->GetServiceForBrowserContext(profile, true))->context();
70 content::BrowserContext* profile) const {
71 return new Service(static_cast<Profile*>(profile));
H A Dgeolocation_settings_state_unittest.cc33 TestingProfile profile; local
34 GeolocationSettingsState state(&profile);
43 profile.GetHostContentSettingsMap()->SetContentSetting(
52 profile.GetHostContentSettingsMap()->SetContentSetting(
138 TestingProfile profile; local
139 GeolocationSettingsState state(&profile);
148 profile.GetHostContentSettingsMap()->SetContentSetting(
157 profile.GetHostContentSettingsMap()->SetContentSetting(
166 profile.GetHostContentSettingsMap()->SetContentSetting(
/external/chromium_org/chrome/browser/google/
H A Dchrome_google_url_tracker_client.cc11 #include "chrome/browser/profiles/profile.h"
19 ChromeGoogleURLTrackerClient::ChromeGoogleURLTrackerClient(Profile* profile) argument
20 : profile_(profile) {
H A Dgoogle_search_counter_android.cc17 GoogleSearchCounterAndroid::GoogleSearchCounterAndroid(Profile* profile) argument
18 : profile_(profile) {
H A Dgoogle_url_tracker_factory.cc10 #include "chrome/browser/profiles/profile.h"
18 GoogleURLTracker* GoogleURLTrackerFactory::GetForProfile(Profile* profile) { argument
20 GetInstance()->GetServiceForBrowserContext(profile, true));
/external/chromium_org/chrome/browser/history/
H A Dhistory_service_factory.cc21 Profile* profile, Profile::ServiceAccessType sat) {
23 if (profile->GetPrefs()->GetBoolean(prefs::kSavingBrowserHistoryDisabled) &&
28 GetInstance()->GetServiceForBrowserContext(profile, true));
34 Profile* profile, Profile::ServiceAccessType sat) {
36 if (profile->GetPrefs()->GetBoolean(prefs::kSavingBrowserHistoryDisabled) &&
41 GetInstance()->GetServiceForBrowserContext(profile, false));
46 HistoryServiceFactory::GetForProfileWithoutCreating(Profile* profile) { argument
48 GetInstance()->GetServiceForBrowserContext(profile, false));
57 void HistoryServiceFactory::ShutdownForProfile(Profile* profile) { argument
59 factory->BrowserContextDestroyed(profile);
20 GetForProfile( Profile* profile, Profile::ServiceAccessType sat) argument
33 GetForProfileIfExists( Profile* profile, Profile::ServiceAccessType sat) argument
74 Profile* profile = static_cast<Profile*>(context); local
[all...]
H A Dtop_sites.cc34 TopSites* TopSites::Create(Profile* profile, const base::FilePath& db_name) { argument
35 TopSitesImpl* top_sites_impl = new TopSitesImpl(profile);
/external/chromium_org/chrome/browser/
H A Dimage_holder.cc10 #include "chrome/browser/profiles/profile.h"
17 Profile* profile,
24 profile_(profile) {
15 ImageHolder(const GURL& low_dpi_url, const GURL& high_dpi_url, Profile* profile, ImageHolderDelegate* delegate) argument
H A Dplatform_util_android.cc13 void ShowItemInFolder(Profile* profile, const base::FilePath& full_path) { argument
17 void OpenItem(Profile* profile, const base::FilePath& full_path) { argument
21 void OpenExternal(Profile* profile, const GURL& url) { argument
/external/chromium_org/chrome/browser/invalidation/
H A Dprofile_invalidation_provider_factory.cc11 #include "chrome/browser/profiles/profile.h"
50 Profile* profile) {
53 // when this method is called during the creation of the sign-in profile
55 // not try to access the sign-in profile.
56 if (profile->GetPath() == chromeos::ProfileHelper::GetSigninProfileDir() ||
65 GetInstance()->GetServiceForBrowserContext(profile, true));
97 Profile* profile = static_cast<Profile*>(context); local
104 new InvalidationServiceAndroid(profile,
123 SigninManagerFactory::GetForProfile(profile),
124 ProfileOAuth2TokenServiceFactory::GetForProfile(profile),
49 GetForProfile( Profile* profile) argument
[all...]
/external/chromium_org/chrome/browser/media/
H A Dmedia_stream_device_permissions.cc11 #include "chrome/browser/profiles/profile.h"
38 bool CheckAllowAllMediaStreamContentForOrigin(Profile* profile, argument
43 return profile->GetHostContentSettingsMap()->ShouldAllowAllContent(
47 MediaStreamDevicePolicy GetDevicePolicy(Profile* profile, argument
56 PrefService* prefs = profile->GetPrefs();
H A Dprotected_media_identifier_permission_context_factory.cc9 #include "chrome/browser/profiles/profile.h"
18 explicit Service(Profile* profile) { argument
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));
40 GetForProfile( Profile* profile) argument
/external/chromium_org/chrome/browser/media_galleries/
H A Dmedia_galleries_preferences_factory.cc9 #include "chrome/browser/profiles/profile.h"
15 MediaGalleriesPreferencesFactory::GetForProfile(Profile* profile) { argument
17 GetInstance()->GetServiceForBrowserContext(profile, true));
34 content::BrowserContext* profile) const {
35 return new MediaGalleriesPreferences(static_cast<Profile*>(profile));
/external/chromium_org/chrome/browser/notifications/
H A Ddesktop_notification_profile_util.cc8 #include "chrome/browser/profiles/profile.h"
13 Profile* profile) {
14 profile->GetHostContentSettingsMap()->SetDefaultContentSetting(
20 Profile* profile, const ContentSettingsPattern& pattern) {
21 profile->GetHostContentSettingsMap()->SetContentSetting(
32 Profile* profile, const GURL& origin) {
35 profile->GetHostContentSettingsMap()->SetContentSetting(
44 Profile* profile, const GURL& origin) {
47 profile->GetHostContentSettingsMap()->SetContentSetting(
56 Profile* profile, ContentSettingsForOneTyp
12 ResetToDefaultContentSetting( Profile* profile) argument
19 ClearSetting( Profile* profile, const ContentSettingsPattern& pattern) argument
31 GrantPermission( Profile* profile, const GURL& origin) argument
43 DenyPermission( Profile* profile, const GURL& origin) argument
55 GetNotificationsSettings( Profile* profile, ContentSettingsForOneType* settings) argument
63 GetContentSetting( Profile* profile, const GURL& origin) argument
72 UsePermission(Profile* profile, const GURL& origin) argument
[all...]
/external/chromium_org/chrome/browser/notifications/sync_notifier/
H A Dchrome_notifier_service_factory.cc14 Profile* profile, Profile::ServiceAccessType service_access_type) {
16 GetInstance()->GetServiceForBrowserContext(profile, true));
35 content::BrowserContext* profile) const {
37 new ChromeNotifierService(static_cast<Profile*>(profile));
13 GetForProfile( Profile* profile, Profile::ServiceAccessType service_access_type) argument
/external/chromium_org/chrome/browser/plugins/
H A Dplugin_prefs_factory.cc11 #include "chrome/browser/profiles/profile.h"
25 Profile* profile) {
27 GetInstance()->GetServiceForBrowserContext(profile, true).get());
32 PluginPrefsFactory::CreateForTestingProfile(content::BrowserContext* profile) { argument
34 GetInstance()->BuildServiceInstanceFor(profile).get());
47 Profile* profile = static_cast<Profile*>(context); local
49 plugin_prefs->set_profile(profile->GetOriginalProfile());
50 plugin_prefs->SetPrefs(profile->GetPrefs());
24 GetPrefsForProfile( Profile* profile) argument
H A Dplugin_status_pref_setter.cc13 #include "chrome/browser/profiles/profile.h"
31 Profile* profile,
34 profile->GetPrefs(), observer);
36 profile->GetPrefs(), observer);
37 profile_ = profile;
39 content::Source<Profile>(profile));
30 Init( Profile* profile, const BooleanPrefMember::NamedChangeCallback& observer) argument
/external/chromium_org/chrome/browser/policy/cloud/
H A Duser_cloud_policy_invalidator.cc20 Profile* profile,
27 profile_(profile) {
28 DCHECK(profile);
30 // Register for notification that profile creation is complete. The
35 // context can be accessed during profile-keyed service creation. Tracked by
39 content::Source<Profile>(profile));
64 // Initialize now that profile creation is complete and the invalidation
19 UserCloudPolicyInvalidator( Profile* profile, CloudPolicyManager* policy_manager) argument
H A Duser_cloud_policy_invalidator_factory.cc9 #include "chrome/browser/profiles/profile.h"
43 Profile* profile = static_cast<Profile*>(context); local
46 UserCloudPolicyManagerFactoryChromeOS::GetForProfile(profile);
54 return new UserCloudPolicyInvalidator(profile, policy_manager);
/external/chromium_org/chrome/browser/predictors/
H A Dresource_prefetch_predictor_factory.cc11 #include "chrome/browser/profiles/profile.h"
43 Profile* profile = Profile::FromBrowserContext(context); local
46 if (!IsSpeculativeResourcePrefetchingEnabled(profile, &config))
49 return new ResourcePrefetchPredictor(config, profile);

Completed in 1461 milliseconds

1234567891011>>