/external/chromium_org/chrome/browser/profiles/ |
D | profile_manager.cc | 207 size_t GetEnabledAppCount(Profile* profile) { in GetEnabledAppCount() argument 210 extensions::ExtensionRegistry::Get(profile)->enabled_extensions(); in GetEnabledAppCount() 299 Profile* profile = GetLastUsedProfile(); in GetLastUsedProfileAllowedByPolicy() local 300 if (profile->IsGuestSession() || in GetLastUsedProfileAllowedByPolicy() 301 IncognitoModePrefs::GetAvailability(profile->GetPrefs()) == in GetLastUsedProfileAllowedByPolicy() 303 return profile->GetOffTheRecordProfile(); in GetLastUsedProfileAllowedByPolicy() 305 return profile; in GetLastUsedProfileAllowedByPolicy() 356 Profile* profile = in GetActiveUserProfile() local 364 CHECK(profile) << profile_manager->user_data_dir().AsUTF8Unsafe(); in GetActiveUserProfile() 365 return profile; in GetActiveUserProfile() [all …]
|
D | profile_destroyer.cc | 29 void ProfileDestroyer::DestroyProfileWhenAppropriate(Profile* const profile) { in DestroyProfileWhenAppropriate() argument 32 DCHECK(profile); in DestroyProfileWhenAppropriate() 33 profile->MaybeSendDestroyedNotification(); in DestroyProfileWhenAppropriate() 39 if (profile->AsTestingProfile() == NULL) { in DestroyProfileWhenAppropriate() 40 GetHostsForProfile(profile, &hosts); in DestroyProfileWhenAppropriate() 41 if (!profile->IsOffTheRecord() && profile->HasOffTheRecordProfile()) in DestroyProfileWhenAppropriate() 42 GetHostsForProfile(profile->GetOffTheRecordProfile(), &hosts); in DestroyProfileWhenAppropriate() 51 DCHECK(hosts.empty() || profile->IsOffTheRecord() || in DestroyProfileWhenAppropriate() 57 if (hosts.empty() || !profile->IsOffTheRecord()) { in DestroyProfileWhenAppropriate() 58 if (profile->IsOffTheRecord()) in DestroyProfileWhenAppropriate() [all …]
|
/external/chromium_org/chrome/browser/search/ |
D | hotword_service_unittest.cc | 28 explicit MockHotwordService(Profile* profile) in MockHotwordService() argument 29 : HotwordService(profile), in MockHotwordService() 80 void SetApplicationLocale(Profile* profile, const std::string& new_locale) { in SetApplicationLocale() argument 83 profile->GetPrefs()->SetString(prefs::kApplicationLocale, new_locale); in SetApplicationLocale() 95 scoped_ptr<TestingProfile> profile = profile_builder.Build(); in TEST_F() local 103 hotword_service_factory->GetForProfile(profile.get()); in TEST_F() 110 EXPECT_FALSE(HotwordServiceFactory::IsHotwordAllowed(profile.get())); in TEST_F() 118 EXPECT_FALSE(HotwordServiceFactory::IsHotwordAllowed(profile.get())); in TEST_F() 122 SetApplicationLocale(static_cast<Profile*>(profile.get()), "en"); in TEST_F() 123 EXPECT_FALSE(HotwordServiceFactory::IsHotwordAllowed(profile.get())); in TEST_F() [all …]
|
D | search.cc | 131 TemplateURL* GetDefaultSearchProviderTemplateURL(Profile* profile) { in GetDefaultSearchProviderTemplateURL() argument 132 if (profile) { in GetDefaultSearchProviderTemplateURL() 134 TemplateURLServiceFactory::GetForProfile(profile); in GetDefaultSearchProviderTemplateURL() 185 bool IsInstantURL(const GURL& url, Profile* profile) { in IsInstantURL() argument 192 const GURL new_tab_url(GetNewTabPageURL(profile)); in IsInstantURL() 197 TemplateURL* template_url = GetDefaultSearchProviderTemplateURL(profile); in IsInstantURL() 205 UIThreadSearchTermsData search_terms_data(profile); in IsInstantURL() 229 Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext()); in GetSearchTermsImpl() local 231 !IsRenderedInInstantProcess(contents, profile) && in GetSearchTermsImpl() 233 !ShouldAssignURLToInstantRenderer(entry->GetURL(), profile))) in GetSearchTermsImpl() [all …]
|
/external/chromium_org/chrome/browser/extensions/ |
D | chrome_process_manager_delegate.cc | 40 Profile* profile = static_cast<Profile*>(context); in IsBackgroundPageAllowed() local 46 return !(profile->IsGuestSession() && !profile->IsOffTheRecord()); in IsBackgroundPageAllowed() 51 Profile* profile = static_cast<Profile*>(context); in DeferCreatingStartupBackgroundHosts() local 57 if (!g_browser_process->profile_manager()->IsValidProfile(profile)) in DeferCreatingStartupBackgroundHosts() 63 return chrome::GetTotalBrowserCountForProfile(profile) == 0 && in DeferCreatingStartupBackgroundHosts() 78 Profile* profile = content::Source<Profile>(source).ptr(); in Observe() local 79 OnProfileCreated(profile); in Observe() 83 Profile* profile = content::Source<Profile>(source).ptr(); in Observe() local 84 OnProfileDestroyed(profile); in Observe() 93 Profile* profile = browser->profile(); in OnBrowserWindowReady() local [all …]
|
D | extension_view_host_factory.cc | 31 Profile* profile, in CreateViewHostForExtension() argument 34 DCHECK(profile); in CreateViewHostForExtension() 38 ExtensionSystem::Get(profile)->process_manager(); in CreateViewHostForExtension() 54 Profile* profile, in CreateViewHostForIncognito() argument 58 DCHECK(profile->IsOffTheRecord()); in CreateViewHostForIncognito() 62 Profile* original_profile = profile->GetOriginalProfile(); in CreateViewHostForIncognito() 68 if (util::IsIncognitoEnabled(extension->id(), profile)) { in CreateViewHostForIncognito() 70 extension, url, profile, browser, view_type); in CreateViewHostForIncognito() 80 const Extension* GetExtensionForUrl(Profile* profile, const GURL& url) { in GetExtensionForUrl() argument 82 ExtensionSystem::Get(profile)->extension_service(); in GetExtensionForUrl() [all …]
|
/external/chromium_org/chrome/browser/resources/options/ |
D | manage_profile_overlay.css | 5 #manage-profile-overlay { 9 .profile-icon-grid-item { 16 .profile-icon { 21 #create-profile-name-input-container, 22 #manage-profile-name-input-container { 26 #create-profile-name-input-container { 30 #create-profile-name, 31 #manage-profile-name { 35 #create-profile-name:invalid, 36 #manage-profile-name:invalid { [all …]
|
/external/chromium_org/chrome/browser/background/ |
D | background_contents_service_unittest.cc | 49 const base::DictionaryValue* GetPrefs(Profile* profile) { in GetPrefs() argument 50 return profile->GetPrefs()->GetDictionary( in GetPrefs() 55 std::string GetPrefURLForApp(Profile* profile, const base::string16& appid) { in GetPrefURLForApp() argument 56 const base::DictionaryValue* pref = GetPrefs(profile); in GetPrefURLForApp() 70 explicit MockBackgroundContents(Profile* profile) in MockBackgroundContents() argument 72 profile_(profile) { in MockBackgroundContents() 74 MockBackgroundContents(Profile* profile, const std::string& id) in MockBackgroundContents() argument 76 profile_(profile) { in MockBackgroundContents() 95 void MockClose(Profile* profile) { in MockClose() argument 98 content::Source<Profile>(profile), in MockClose() [all …]
|
D | background_contents_service.cc | 96 CrashNotificationDelegate(Profile* profile, in CrashNotificationDelegate() argument 98 : profile_(profile), in CrashNotificationDelegate() 167 Profile* profile, in NotificationImageReady() argument 187 profile); in NotificationImageReady() 193 void ShowBalloon(const Extension* extension, Profile* profile) { in ShowBalloon() argument 207 extensions::ImageLoader::Get(profile)->LoadImageAsync( in ShowBalloon() 215 make_scoped_refptr(new CrashNotificationDelegate(profile, extension)), in ShowBalloon() 216 profile)); in ShowBalloon() 220 void ReloadExtension(const std::string& extension_id, Profile* profile) { in ReloadExtension() argument 222 !g_browser_process->profile_manager()->IsValidProfile(profile)) { in ReloadExtension() [all …]
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
D | open_util.cc | 39 void ShowWarningMessageBox(Profile* profile, in ShowWarningMessageBox() argument 43 profile, false, chrome::HOST_DESKTOP_TYPE_ASH); in ShowWarningMessageBox() 54 void ExecuteFileTaskForUrl(Profile* profile, in ExecuteFileTaskForUrl() argument 58 GetFileSystemContextForExtensionId(profile, kFileManagerAppId); in ExecuteFileTaskForUrl() 61 profile, in ExecuteFileTaskForUrl() 76 void OpenFileManagerWithInternalActionId(Profile* profile, in OpenFileManagerWithInternalActionId() argument 87 ExecuteFileTaskForUrl(profile, task, url); in OpenFileManagerWithInternalActionId() 91 void OpenFileWithMimeType(Profile* profile, in OpenFileWithMimeType() argument 104 profile, in OpenFileWithMimeType() 105 drive::util::GetDriveAppRegistryByProfile(profile), in OpenFileWithMimeType() [all …]
|
D | open_with_browser.cc | 67 bool IsPepperPluginEnabled(Profile* profile, in IsPepperPluginEnabled() argument 69 DCHECK(profile); in IsPepperPluginEnabled() 76 scoped_refptr<PluginPrefs> plugin_prefs = PluginPrefs::GetForProfile(profile); in IsPepperPluginEnabled() 83 bool IsPdfPluginEnabled(Profile* profile) { in IsPdfPluginEnabled() argument 84 DCHECK(profile); in IsPdfPluginEnabled() 88 return IsPepperPluginEnabled(profile, plugin_path); in IsPdfPluginEnabled() 91 bool IsFlashPluginEnabled(Profile* profile) { in IsFlashPluginEnabled() argument 92 DCHECK(profile); in IsFlashPluginEnabled() 99 return IsPepperPluginEnabled(profile, plugin_path); in IsFlashPluginEnabled() 102 void OpenNewTab(Profile* profile, const GURL& url) { in OpenNewTab() argument [all …]
|
/external/chromium_org/chrome/browser/ui/app_list/ |
D | app_list_controller_delegate.cc | 40 const extensions::Extension* GetExtension(Profile* profile, in GetExtension() argument 43 extensions::ExtensionSystem::Get(profile)->extension_service(); in GetExtension() 81 Profile* profile, in UserMayModifySettings() argument 83 const extensions::Extension* extension = GetExtension(profile, app_id); in UserMayModifySettings() 85 extensions::ExtensionSystem::Get(profile)->management_policy(); in UserMayModifySettings() 95 Profile* profile, in DoShowAppInfoFlow() argument 99 extensions::ExtensionSystem::Get(profile)->extension_service(); in DoShowAppInfoFlow() 111 profile, in DoShowAppInfoFlow() 117 void AppListControllerDelegate::UninstallApp(Profile* profile, in UninstallApp() argument 121 new ExtensionUninstaller(profile, app_id, this); in UninstallApp() [all …]
|
/external/chromium_org/third_party/qcms/src/ |
D | iccread.c | 182 static void read_class_signature(qcms_profile *profile, struct mem_source *mem) in read_class_signature() argument 184 profile->class = read_u32(mem, 12); in read_class_signature() 185 switch (profile->class) { in read_class_signature() 196 static void read_color_space(qcms_profile *profile, struct mem_source *mem) in read_color_space() argument 198 profile->color_space = read_u32(mem, 16); in read_color_space() 199 switch (profile->color_space) { in read_color_space() 208 static void read_pcs(qcms_profile *profile, struct mem_source *mem) in read_pcs() argument 210 profile->pcs = read_u32(mem, 20); in read_pcs() 211 switch (profile->pcs) { in read_pcs() 232 static struct tag_index read_tag_table(qcms_profile *profile, struct mem_source *mem) in read_tag_table() argument [all …]
|
/external/chromium_org/chrome/browser/apps/app_shim/ |
D | extension_app_shim_handler_mac.cc | 42 Profile* profile, in ProfileLoadedCallback() argument 45 callback.Run(profile); in ProfileLoadedCallback() 53 void SetAppHidden(Profile* profile, const std::string& app_id, bool hidden) { in SetAppHidden() argument 55 AppWindowRegistry::Get(profile)->GetAppWindowsForApp(app_id); in SetAppHidden() 87 EnableViaPrompt(Profile* profile, in EnableViaPrompt() argument 90 : profile_(profile), in EnableViaPrompt() 142 Profile* profile = profile_manager->GetProfileByPath(full_path); in ProfileForPath() local 145 return profile && profile_manager->IsValidProfile(profile) ? profile : NULL; in ProfileForPath() 160 Profile* profile, in GetWindows() argument 162 return AppWindowRegistry::Get(profile)->GetAppWindowsForApp(extension_id); in GetWindows() [all …]
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
D | themes_helper.cc | 32 ThemeService* GetThemeService(Profile* profile) { in GetThemeService() argument 33 return ThemeServiceFactory::GetForProfile(profile); in GetThemeService() 44 std::string GetThemeID(Profile* profile) { in GetThemeID() argument 45 return GetThemeService(profile)->GetThemeID(); in GetThemeID() 48 bool UsingCustomTheme(Profile* profile) { in UsingCustomTheme() argument 49 return GetThemeID(profile) != ThemeService::kDefaultThemeID; in UsingCustomTheme() 52 bool UsingDefaultTheme(Profile* profile) { in UsingDefaultTheme() argument 53 return GetThemeService(profile)->UsingDefaultTheme(); in UsingDefaultTheme() 56 bool UsingSystemTheme(Profile* profile) { in UsingSystemTheme() argument 57 return GetThemeService(profile)->UsingSystemTheme(); in UsingSystemTheme() [all …]
|
D | bookmarks_helper.h | 43 int profile, 51 int profile, 60 int profile, 69 int profile, 75 int profile, 83 int profile, 90 void SetTitle(int profile, 102 void SetFavicon(int profile, 111 int profile, 118 int profile, [all …]
|
/external/chromium_org/chrome/browser/sync/ |
D | profile_sync_service_mock.cc | 19 ProfileSyncServiceMock::ProfileSyncServiceMock(Profile* profile) in ProfileSyncServiceMock() argument 23 profile, in ProfileSyncServiceMock() 25 profile, in ProfileSyncServiceMock() 26 SigninManagerFactory::GetForProfile(profile))), in ProfileSyncServiceMock() 27 ProfileOAuth2TokenServiceFactory::GetForProfile(profile), in ProfileSyncServiceMock() 32 scoped_ptr<ProfileSyncComponentsFactory> factory, Profile* profile) in ProfileSyncServiceMock() argument 35 profile, in ProfileSyncServiceMock() 37 profile, in ProfileSyncServiceMock() 38 SigninManagerFactory::GetForProfile(profile))), in ProfileSyncServiceMock() 39 ProfileOAuth2TokenServiceFactory::GetForProfile(profile), in ProfileSyncServiceMock() [all …]
|
/external/chromium_org/components/autofill/core/browser/ |
D | autofill_test_utils.cc | 85 FormGroup* profile, ServerFieldType type, const char* value) { in check_and_set() argument 87 profile->SetRawInfo(type, base::UTF8ToUTF16(value)); in check_and_set() 91 AutofillProfile profile(base::GenerateGUID(), "http://www.example.com/"); in GetFullProfile() local 92 SetProfileInfo(&profile, in GetFullProfile() 104 return profile; in GetFullProfile() 108 AutofillProfile profile(base::GenerateGUID(), "https://www.example.com/"); in GetFullProfile2() local 109 SetProfileInfo(&profile, in GetFullProfile2() 121 return profile; in GetFullProfile2() 125 AutofillProfile profile(GetFullProfile()); in GetVerifiedProfile() local 126 profile.set_origin(kSettingsOrigin); in GetVerifiedProfile() [all …]
|
/external/chromium_org/chrome/browser/sessions/ |
D | session_service_factory.cc | 13 SessionService* SessionServiceFactory::GetForProfile(Profile* profile) { in GetForProfile() argument 19 GetInstance()->GetServiceForBrowserContext(profile, true)); in GetForProfile() 25 Profile* profile) { in GetForProfileIfExisting() argument 31 GetInstance()->GetServiceForBrowserContext(profile, false)); in GetForProfileIfExisting() 37 Profile* profile) { in GetForProfileForSessionRestore() argument 38 SessionService* service = GetForProfile(profile); in GetForProfileForSessionRestore() 42 GetInstance()->Disassociate(profile); in GetForProfileForSessionRestore() 43 service = GetForProfile(profile); in GetForProfileForSessionRestore() 49 void SessionServiceFactory::ShutdownForProfile(Profile* profile) { in ShutdownForProfile() argument 50 DeleteSessionOnlyData(profile); in ShutdownForProfile() [all …]
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/profiler/ |
D | ProfilesPanel.js | 145 function isFinished(profile) argument 147 return this._profileBeingRecorded !== profile; 183 var profile = this.createProfileLoadedFromFile(name); 184 profile.setFromFile(); 185 this.setProfileBeingRecorded(profile); 186 this.addProfile(profile); 187 profile.loadFromFile(file); 202 addProfile: function(profile) argument 204 this._profiles.push(profile); 205 this.dispatchEventToListeners(WebInspector.ProfileType.Events.AddProfileHeader, profile); [all …]
|
/external/chromium_org/chrome/browser/ui/ |
D | browser_mac.cc | 14 void OpenAboutWindow(Profile* profile) { in OpenAboutWindow() argument 16 new Browser(Browser::CreateParams(profile, in OpenAboutWindow() 22 void OpenHistoryWindow(Profile* profile) { in OpenHistoryWindow() argument 24 new Browser(Browser::CreateParams(profile, in OpenHistoryWindow() 30 void OpenDownloadsWindow(Profile* profile) { in OpenDownloadsWindow() argument 32 new Browser(Browser::CreateParams(profile, in OpenDownloadsWindow() 38 void OpenHelpWindow(Profile* profile, HelpSource source) { in OpenHelpWindow() argument 40 new Browser(Browser::CreateParams(profile, in OpenHelpWindow() 46 void OpenOptionsWindow(Profile* profile) { in OpenOptionsWindow() argument 48 new Browser(Browser::CreateParams(profile, in OpenOptionsWindow() [all …]
|
D | browser_finder.cc | 37 Profile* profile, in BrowserMatches() argument 46 if (browser->profile()->GetOriginalProfile() != in BrowserMatches() 47 profile->GetOriginalProfile()) in BrowserMatches() 49 } else if (browser->profile() != profile) { in BrowserMatches() 65 Profile* profile, in FindBrowserMatching() argument 69 if (BrowserMatches(*i, profile, window_feature, match_types)) in FindBrowserMatching() 75 Browser* FindBrowserWithTabbedOrAnyType(Profile* profile, in FindBrowserWithTabbedOrAnyType() argument 89 profile, in FindBrowserWithTabbedOrAnyType() 95 profile, in FindBrowserWithTabbedOrAnyType() 100 size_t GetBrowserCountImpl(Profile* profile, in GetBrowserCountImpl() argument [all …]
|
/external/chromium_org/chrome/browser/accessibility/ |
D | accessibility_events.cc | 21 Profile* profile = info->profile(); in SendControlAccessibilityNotification() local 22 if (profile->ShouldSendAccessibilityEvents()) { in SendControlAccessibilityNotification() 32 Profile* profile = info->profile(); in SendMenuAccessibilityNotification() local 33 if (profile->ShouldSendAccessibilityEvents()) { in SendMenuAccessibilityNotification() 43 Profile* profile = info->profile(); in SendWindowAccessibilityNotification() local 44 if (profile->ShouldSendAccessibilityEvents()) { in SendWindowAccessibilityNotification() 52 Profile* profile, const std::string& name) in AccessibilityControlInfo() argument 53 : AccessibilityEventInfo(profile), in AccessibilityControlInfo() 76 AccessibilityWindowInfo::AccessibilityWindowInfo(Profile* profile, in AccessibilityWindowInfo() argument 78 : AccessibilityControlInfo(profile, window_name) { in AccessibilityWindowInfo() [all …]
|
/external/chromium_org/chrome/browser/supervised_user/ |
D | supervised_user_service_browsertest.cc | 55 Profile* profile = browser()->profile(); in IN_PROC_BROWSER_TEST_F() local 56 size_t index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in IN_PROC_BROWSER_TEST_F() 61 SupervisedUserServiceFactory::GetForProfile(profile); in IN_PROC_BROWSER_TEST_F() 67 profile, in IN_PROC_BROWSER_TEST_F() 75 profile, in IN_PROC_BROWSER_TEST_F() 82 Profile* profile = browser()->profile(); in IN_PROC_BROWSER_TEST_F() local 83 PrefService* prefs = profile->GetPrefs(); in IN_PROC_BROWSER_TEST_F() 89 Profile* profile = browser()->profile(); in IN_PROC_BROWSER_TEST_F() local 90 PrefService* prefs = profile->GetPrefs(); in IN_PROC_BROWSER_TEST_F() 96 size_t profile_index = cache.GetIndexOfProfileWithPath(profile->GetPath()); in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium_org/chrome/browser/history/ |
D | history_service_factory.cc | 21 Profile* profile, Profile::ServiceAccessType sat) { in GetForProfile() argument 23 if (profile->GetPrefs()->GetBoolean(prefs::kSavingBrowserHistoryDisabled) && in GetForProfile() 28 GetInstance()->GetServiceForBrowserContext(profile, true)); in GetForProfile() 34 Profile* profile, Profile::ServiceAccessType sat) { in GetForProfileIfExists() argument 36 if (profile->GetPrefs()->GetBoolean(prefs::kSavingBrowserHistoryDisabled) && in GetForProfileIfExists() 41 GetInstance()->GetServiceForBrowserContext(profile, false)); in GetForProfileIfExists() 46 HistoryServiceFactory::GetForProfileWithoutCreating(Profile* profile) { in GetForProfileWithoutCreating() argument 48 GetInstance()->GetServiceForBrowserContext(profile, false)); in GetForProfileWithoutCreating() 57 void HistoryServiceFactory::ShutdownForProfile(Profile* profile) { in ShutdownForProfile() argument 59 factory->BrowserContextDestroyed(profile); in ShutdownForProfile() [all …]
|