/external/chromium_org/chrome/browser/sync/test/integration/ |
D | themes_helper.cc | 26 ThemeService* GetThemeService(Profile* profile) { in GetThemeService() argument 27 return ThemeServiceFactory::GetForProfile(profile); in GetThemeService() 38 std::string GetThemeID(Profile* profile) { in GetThemeID() argument 39 return GetThemeService(profile)->GetThemeID(); in GetThemeID() 42 bool UsingCustomTheme(Profile* profile) { in UsingCustomTheme() argument 43 return GetThemeID(profile) != ThemeService::kDefaultThemeID; in UsingCustomTheme() 46 bool UsingDefaultTheme(Profile* profile) { in UsingDefaultTheme() argument 47 return GetThemeService(profile)->UsingDefaultTheme(); in UsingDefaultTheme() 50 bool UsingSystemTheme(Profile* profile) { in UsingSystemTheme() argument 51 return GetThemeService(profile)->UsingSystemTheme(); in UsingSystemTheme() [all …]
|
D | apps_helper.cc | 43 std::string InstallApp(Profile* profile, int index) { in InstallApp() argument 45 profile, in InstallApp() 50 std::string InstallPlatformApp(Profile* profile, int index) { in InstallPlatformApp() argument 52 profile, in InstallPlatformApp() 63 void UninstallApp(Profile* profile, int index) { in UninstallApp() argument 65 profile, CreateFakeAppName(index)); in UninstallApp() 68 void EnableApp(Profile* profile, int index) { in EnableApp() argument 70 profile, CreateFakeAppName(index)); in EnableApp() 73 void DisableApp(Profile* profile, int index) { in DisableApp() argument 75 profile, CreateFakeAppName(index)); in DisableApp() [all …]
|
D | extensions_helper.cc | 52 std::string InstallExtension(Profile* profile, int index) { in InstallExtension() argument 54 profile, in InstallExtension() 65 void UninstallExtension(Profile* profile, int index) { in UninstallExtension() argument 67 profile, CreateFakeExtensionName(index)); in UninstallExtension() 70 std::vector<int> GetInstalledExtensions(Profile* profile) { in GetInstalledExtensions() argument 73 SyncExtensionHelper::GetInstance()->GetInstalledExtensionNames(profile); in GetInstalledExtensions() 84 void EnableExtension(Profile* profile, int index) { in EnableExtension() argument 86 profile, CreateFakeExtensionName(index)); in EnableExtension() 89 void DisableExtension(Profile* profile, int index) { in DisableExtension() argument 91 profile, CreateFakeExtensionName(index)); in DisableExtension() [all …]
|
D | bookmarks_helper.h | 40 int profile, 48 int profile, 57 int profile, 66 int profile, 72 int profile, 80 int profile, 87 void SetTitle(int profile, 99 void SetFavicon(int profile, 108 int profile, 115 int profile, [all …]
|
/external/chromium_org/chrome/browser/profiles/ |
D | profile_manager.cc | 202 size_t GetEnabledAppCount(Profile* profile) { in GetEnabledAppCount() argument 205 extensions::ExtensionRegistry::Get(profile)->enabled_extensions(); in GetEnabledAppCount() 294 Profile* profile = GetLastUsedProfile(); in GetLastUsedProfileAllowedByPolicy() local 295 if (profile->IsGuestSession() || in GetLastUsedProfileAllowedByPolicy() 296 IncognitoModePrefs::GetAvailability(profile->GetPrefs()) == in GetLastUsedProfileAllowedByPolicy() 298 return profile->GetOffTheRecordProfile(); in GetLastUsedProfileAllowedByPolicy() 300 return profile; in GetLastUsedProfileAllowedByPolicy() 345 Profile* profile = in GetActiveUserProfile() local 353 CHECK(profile) << profile_manager->user_data_dir().AsUTF8Unsafe(); in GetActiveUserProfile() 354 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/components/autofill/core/browser/android/ |
D | auxiliary_profile_unittest_android.cc | 46 AutofillProfile* profile = GetAndLoadProfile(); in TEST_F() local 48 EXPECT_EQ(profile->GetRawInfo(NAME_FIRST), first_name); in TEST_F() 49 EXPECT_EQ(profile->GetRawInfo(NAME_MIDDLE), middle_name); in TEST_F() 50 EXPECT_EQ(profile->GetRawInfo(NAME_LAST), last_name); in TEST_F() 54 AutofillProfile* profile = GetAndLoadProfile(); in TEST_F() local 56 EXPECT_EQ(profile->GetRawInfo(NAME_FIRST), base::string16()); in TEST_F() 57 EXPECT_EQ(profile->GetRawInfo(NAME_MIDDLE), base::string16()); in TEST_F() 58 EXPECT_EQ(profile->GetRawInfo(NAME_LAST), base::string16()); in TEST_F() 67 AutofillProfile* profile = GetAndLoadProfile(); in TEST_F() local 69 profile->GetRawMultiInfo(EMAIL_ADDRESS, &loaded_email_addresses); in TEST_F() [all …]
|
D | auxiliary_profiles_android.cc | 65 scoped_ptr<AutofillProfile> profile( in LoadContactsProfile() local 67 LoadName(profile.get()); in LoadContactsProfile() 68 LoadEmailAddress(profile.get()); in LoadContactsProfile() 69 LoadPhoneNumbers(profile.get()); in LoadContactsProfile() 78 return profile.Pass(); in LoadContactsProfile() 81 void AuxiliaryProfilesAndroid::LoadAddress(AutofillProfile* profile) { in LoadAddress() argument 92 profile->SetRawInfo(ADDRESS_HOME_LINE1, street); in LoadAddress() 93 profile->SetRawInfo(ADDRESS_HOME_LINE2, street2); in LoadAddress() 94 profile->SetRawInfo(ADDRESS_HOME_CITY, city); in LoadAddress() 95 profile->SetRawInfo(ADDRESS_HOME_STATE, region); in LoadAddress() [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 | 95 CrashNotificationDelegate(Profile* profile, in CrashNotificationDelegate() argument 97 : profile_(profile), in CrashNotificationDelegate() 166 Profile* profile, in NotificationImageReady() argument 186 profile); in NotificationImageReady() 192 void ShowBalloon(const Extension* extension, Profile* profile) { in ShowBalloon() argument 206 extensions::ImageLoader::Get(profile)->LoadImageAsync( in ShowBalloon() 214 make_scoped_refptr(new CrashNotificationDelegate(profile, extension)), in ShowBalloon() 215 profile)); in ShowBalloon() 219 void ReloadExtension(const std::string& extension_id, Profile* profile) { in ReloadExtension() argument 221 !g_browser_process->profile_manager()->IsValidProfile(profile)) { in ReloadExtension() [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() 97 scoped_ptr<TestingProfile> profile = profile_builder.Build(); in TEST_F() local 106 hotword_service_factory->GetForProfile(profile.get()); in TEST_F() 113 EXPECT_FALSE(HotwordServiceFactory::IsHotwordAllowed(profile.get())); in TEST_F() 121 EXPECT_FALSE(HotwordServiceFactory::IsHotwordAllowed(profile.get())); in TEST_F() 125 SetApplicationLocale(static_cast<Profile*>(profile.get()), "en"); in TEST_F() 126 EXPECT_FALSE(HotwordServiceFactory::IsHotwordAllowed(profile.get())); in TEST_F() [all …]
|
D | search.cc | 161 TemplateURL* GetDefaultSearchProviderTemplateURL(Profile* profile) { in GetDefaultSearchProviderTemplateURL() argument 162 if (profile) { in GetDefaultSearchProviderTemplateURL() 164 TemplateURLServiceFactory::GetForProfile(profile); in GetDefaultSearchProviderTemplateURL() 219 bool IsInstantURL(const GURL& url, Profile* profile) { in IsInstantURL() argument 226 const GURL new_tab_url(GetNewTabPageURL(profile)); in IsInstantURL() 231 TemplateURL* template_url = GetDefaultSearchProviderTemplateURL(profile); in IsInstantURL() 239 UIThreadSearchTermsData search_terms_data(profile); in IsInstantURL() 263 Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext()); in GetSearchTermsImpl() local 265 !IsRenderedInInstantProcess(contents, profile) && in GetSearchTermsImpl() 267 !ShouldAssignURLToInstantRenderer(entry->GetURL(), profile))) in GetSearchTermsImpl() [all …]
|
/external/chromium_org/chrome/browser/ui/app_list/ |
D | app_list_controller_delegate.cc | 39 const extensions::Extension* GetExtension(Profile* profile, in GetExtension() argument 42 extensions::ExtensionSystem::Get(profile)->extension_service(); in GetExtension() 80 Profile* profile, in UserMayModifySettings() argument 82 const extensions::Extension* extension = GetExtension(profile, app_id); in UserMayModifySettings() 84 extensions::ExtensionSystem::Get(profile)->management_policy(); in UserMayModifySettings() 94 Profile* profile, in DoShowAppInfoFlow() argument 98 extensions::ExtensionSystem::Get(profile)->extension_service(); in DoShowAppInfoFlow() 108 ShowAppInfoDialog(this, profile, extension); in DoShowAppInfoFlow() 111 void AppListControllerDelegate::UninstallApp(Profile* profile, in UninstallApp() argument 115 new ExtensionUninstaller(profile, app_id, this); in UninstallApp() [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() 93 bool OpenFile(Profile* profile, const base::FilePath& path, const GURL& url) { in OpenFile() argument 105 profile, in OpenFile() 106 drive::util::GetDriveAppRegistryByProfile(profile), in OpenFile() [all …]
|
/external/chromium_org/apps/app_shim/ |
D | extension_app_shim_handler_mac.cc | 39 Profile* profile, in ProfileLoadedCallback() argument 42 callback.Run(profile); in ProfileLoadedCallback() 50 void SetAppHidden(Profile* profile, const std::string& app_id, bool hidden) { in SetAppHidden() argument 52 apps::AppWindowRegistry::Get(profile)->GetAppWindowsForApp(app_id); in SetAppHidden() 84 EnableViaPrompt(Profile* profile, in EnableViaPrompt() argument 87 : profile_(profile), in EnableViaPrompt() 139 Profile* profile = profile_manager->GetProfileByPath(full_path); in ProfileForPath() local 142 return profile && profile_manager->IsValidProfile(profile) ? profile : NULL; in ProfileForPath() 157 Profile* profile, in GetWindows() argument 159 return AppWindowRegistry::Get(profile)->GetAppWindowsForApp(extension_id); in GetWindows() [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/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/components/autofill/core/browser/ |
D | autofill_test_utils.cc | 86 FormGroup* profile, ServerFieldType type, const char* value) { in check_and_set() argument 88 profile->SetRawInfo(type, base::UTF8ToUTF16(value)); in check_and_set() 92 AutofillProfile profile(base::GenerateGUID(), "http://www.example.com/"); in GetFullProfile() local 93 SetProfileInfo(&profile, in GetFullProfile() 105 return profile; in GetFullProfile() 109 AutofillProfile profile(base::GenerateGUID(), "https://www.example.com/"); in GetFullProfile2() local 110 SetProfileInfo(&profile, in GetFullProfile2() 122 return profile; in GetFullProfile2() 126 AutofillProfile profile(GetFullProfile()); in GetVerifiedProfile() local 127 profile.set_origin(kSettingsOrigin); in GetVerifiedProfile() [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/extensions/ |
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/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() 53 Profile* profile, const std::string& name) in AccessibilityControlInfo() argument 54 : AccessibilityEventInfo(profile), in AccessibilityControlInfo() 69 AccessibilityWindowInfo::AccessibilityWindowInfo(Profile* profile, in AccessibilityWindowInfo() argument 71 : AccessibilityControlInfo(profile, window_name) { in AccessibilityWindowInfo() [all …]
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/profiler/ |
D | ProfilesPanel.js | 137 function isFinished(profile) argument 139 return this._profileBeingRecorded !== profile; 175 var profile = this.createProfileLoadedFromFile(name); 176 profile.setFromFile(); 177 this.setProfileBeingRecorded(profile); 178 this.addProfile(profile); 179 profile.loadFromFile(file); 194 addProfile: function(profile) argument 196 this._profiles.push(profile); 197 this.dispatchEventToListeners(WebInspector.ProfileType.Events.AddProfileHeader, profile); [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 …]
|