Home
last modified time | relevance | path

Searched refs:GetProfile (Results 1 – 25 of 71) sorted by relevance

123

/external/chromium/chrome/browser/history/
Dhistory_browsertest.cc91 return GetProfile()->GetPrefs(); in GetPrefs()
94 Profile* GetProfile() { in GetProfile() function in __anon5c5d09940111::HistoryBrowserTest
95 return browser()->GetProfile(); in GetProfile()
99 return GetProfile()->GetHistoryService(Profile::EXPLICIT_ACCESS); in GetHistoryService()
136 EXPECT_TRUE(GetProfile()->GetHistoryService(Profile::EXPLICIT_ACCESS)); in IN_PROC_BROWSER_TEST_F()
137 EXPECT_TRUE(GetProfile()->GetHistoryService(Profile::IMPLICIT_ACCESS)); in IN_PROC_BROWSER_TEST_F()
159 EXPECT_TRUE(GetProfile()->GetHistoryService(Profile::EXPLICIT_ACCESS)); in IN_PROC_BROWSER_TEST_F()
160 EXPECT_FALSE(GetProfile()->GetHistoryService(Profile::IMPLICIT_ACCESS)); in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/ui/webui/
Dmost_visited_handler.cc67 Profile* profile = web_ui->GetProfile(); in Attach()
119 Profile* profile = web_ui_->GetProfile(); in SendPagesValue()
138 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); in StartQueryForMostVisited()
163 web_ui_->GetProfile()); in HandleRemoveURLsFromBlacklist()
164 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); in HandleRemoveURLsFromBlacklist()
172 web_ui_->GetProfile()); in HandleClearBlacklist()
174 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); in HandleClearBlacklist()
214 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); in AddPinnedURL()
225 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); in RemovePinnedURL()
236 PrefService* prefs = web_ui_->GetProfile()->GetPrefs(); in GetPinnedURLAtIndex()
[all …]
Dnew_tab_ui.cc134 tab_restore_service_ = web_ui_->GetProfile()->GetTabRestoreService(); in HandleGetRecentlyClosedTabs()
202 UserMetrics::RecordComputedAction(string_action, web_ui_->GetProfile()); in HandleMetrics()
238 web_ui_->GetProfile()->GetPrefs()->SetBoolean(prefs::kHomePageIsNewTabPage, in HandleSetHomePage()
276 web_ui_->GetProfile()->GetPrefs()->SetBoolean(prefs::kNTPPromoClosed, true); in HandleClosePromo()
313 if (!GetProfile()->IsOffTheRecord()) { in NewTabUI()
314 PrefService* pref_service = GetProfile()->GetPrefs(); in NewTabUI()
322 if (GetProfile()->IsSyncAccessible()) in NewTabUI()
324 ExtensionService* service = GetProfile()->GetExtensionService(); in NewTabUI()
339 new NewTabHTMLSource(GetProfile()->GetOriginalProfile()); in NewTabUI()
402 ThemeServiceFactory::GetForProfile(GetProfile())->HasCustomImage( in Observe()
[all …]
Dhistory2_ui.cc131 Profile* profile = web_ui->GetProfile(); in Attach()
168 web_ui_->GetProfile()->GetHistoryService(Profile::EXPLICIT_ACCESS); in HandleGetHistory()
193 web_ui_->GetProfile()->GetHistoryService(Profile::EXPLICIT_ACCESS); in HandleSearchHistory()
230 web_ui_->GetProfile()->GetHistoryService(Profile::EXPLICIT_ACCESS); in HandleRemoveURLsOnOneDay()
239 Browser* browser = BrowserList::FindBrowserWithProfile(web_ui_->GetProfile()); in HandleClearBrowsingData()
287 web_ui_->GetProfile()->GetBookmarkModel()->IsBookmarked(page.url())); in QueryComplete()
Dhistory_ui.cc131 Profile* profile = web_ui->GetProfile(); in Attach()
168 web_ui_->GetProfile()->GetHistoryService(Profile::EXPLICIT_ACCESS); in HandleGetHistory()
193 web_ui_->GetProfile()->GetHistoryService(Profile::EXPLICIT_ACCESS); in HandleSearchHistory()
230 web_ui_->GetProfile()->GetHistoryService(Profile::EXPLICIT_ACCESS); in HandleRemoveURLsOnOneDay()
239 Browser* browser = BrowserList::FindBrowserWithProfile(web_ui_->GetProfile()); in HandleClearBrowsingData()
287 web_ui_->GetProfile()->GetBookmarkModel()->IsBookmarked(page.url())); in QueryComplete()
Dntp_login_handler.cc25 PrefService* pref_service = web_ui->GetProfile()->GetPrefs(); in Attach()
50 std::string username = web_ui_->GetProfile()->GetPrefs()->GetString( in UpdateLogin()
Dforeign_session_handler.cc73 ProfileSyncService* service = web_ui_->GetProfile()->GetProfileSyncService(); in GetModelAssociator()
84 return web_ui_->GetProfile()->GetProfileSyncService()-> in GetModelAssociator()
175 SessionRestore::RestoreForeignSessionTab(web_ui_->GetProfile(), *tab); in HandleOpenForeignSession()
190 SessionRestore::RestoreForeignSessionWindows(web_ui_->GetProfile(), in HandleOpenForeignSession()
Dsync_internals_ui.cc57 ProfileSyncService* service = GetProfile()->GetProfileSyncService(); in ProcessWebUIMessage()
82 ProfileSyncService* sync_service = GetProfile()->GetProfileSyncService(); in GetJsFrontend()
Dplugins_ui.cc209 PrefService* prefs = web_ui->GetProfile()->GetPrefs(); in Attach()
275 plugin_updater->UpdatePreferences(web_ui_->GetProfile(), 0); in HandleEnablePluginMessage()
280 Browser* browser = Browser::Create(web_ui_->GetProfile()); in HandleShowTermsOfServiceMessage()
/external/chromium/chrome/browser/ui/webui/options/
Dadvanced_options_handler.cc225 PrefService* prefs = web_ui_->GetProfile()->GetPrefs(); in Attach()
338 PrefService* pref_service = web_ui_->GetProfile()->GetPrefs(); in HandleSelectDownloadLocation()
370 DownloadManager* manager = web_ui_->GetProfile()->GetDownloadManager(); in HandleAutoOpenButton()
448 web_ui_->GetProfile(), cloud_print_setup_handler_->AsWeakPtr(), in ShowCloudPrintSetupDialog()
455 web_ui_->GetProfile()->GetCloudPrintProxyService()->DisableForUser(); in HandleDisableCloudPrintProxy()
462 CloudPrintURL(web_ui_->GetProfile()).GetCloudPrintServiceManageURL(), in ShowCloudPrintManagePage()
469 web_ui_->GetProfile()->GetCloudPrintProxyService()-> in RefreshCloudPrintStatusFromService()
474 if (NULL == web_ui_->GetProfile()->GetCloudPrintProxyService()) { in SetupCloudPrintProxySection()
486 if (web_ui_->GetProfile()->GetPrefs()->HasPrefPath(prefs::kCloudPrintEmail) && in SetupCloudPrintProxySection()
488 email = web_ui_->GetProfile()->GetPrefs()->GetString( in SetupCloudPrintProxySection()
[all …]
Dpersonal_options_handler.cc65 web_ui_->GetProfile()->GetProfileSyncService(); in ~PersonalOptionsHandler()
239 ProfileSyncService* service = web_ui_->GetProfile()->GetProfileSyncService(); in OnStateChanged()
333 Profile* profile = web_ui_->GetProfile(); in ObserveThemeChanged()
363 web_ui_->GetProfile()->GetProfileSyncService(); in Initialize()
379 ProfileSyncService* service = web_ui_->GetProfile()->GetProfileSyncService(); in ShowSyncActionDialog()
385 ProfileSyncService* service = web_ui_->GetProfile()->GetProfileSyncService(); in ShowSyncLoginDialog()
392 ProfileSyncService* service = web_ui_->GetProfile()->GetProfileSyncService(); in ShowCustomizeSyncDialog()
399 ThemeServiceFactory::GetForProfile(web_ui_->GetProfile())->UseDefaultTheme(); in ThemesReset()
405 ThemeServiceFactory::GetForProfile(web_ui_->GetProfile())->SetNativeTheme(); in ThemesSetGTK()
413 Source<Profile>(web_ui_->GetProfile()), in OnPreferredDataTypesUpdated()
Dcontent_settings_handler.cc285 PrefService* prefs = web_ui_->GetProfile()->GetPrefs(); in Initialize()
361 default_setting = web_ui_->GetProfile()-> in GetSettingDefaultFromModel()
365 web_ui_->GetProfile())->GetDefaultContentSetting(); in GetSettingDefaultFromModel()
376 return web_ui_->GetProfile()-> in GetDefaultSettingManagedFromModel()
380 web_ui_->GetProfile())->IsDefaultContentSettingManaged(); in GetDefaultSettingManagedFromModel()
436 web_ui_->GetProfile()->GetGeolocationContentSettingsMap(); in UpdateGeolocationExceptionsView()
480 DesktopNotificationServiceFactory::GetForProfile(web_ui_->GetProfile()); in UpdateNotificationExceptionsView()
576 web_ui_->GetProfile()->GetGeolocationContentSettingsMap()-> in SetContentFilter()
579 DesktopNotificationServiceFactory::GetForProfile(web_ui_->GetProfile())-> in SetContentFilter()
608 web_ui_->GetProfile()->GetGeolocationContentSettingsMap()-> in RemoveException()
[all …]
Dbrowser_options_handler.cc125 Profile* profile = web_ui_->GetProfile(); in Initialize()
205 PrefService* prefs = web_ui_->GetProfile()->GetPrefs(); in BecomeDefaultBrowser()
298 template_url_model_ = web_ui_->GetProfile()->GetTemplateURLModel(); in UpdateSearchEngines()
307 Profile* profile = web_ui_->GetProfile(); in UpdateStartupPages()
408 PrefService* prefs = web_ui_->GetProfile()->GetPrefs(); in SaveStartupPagesPref()
427 Source<Profile> source(web_ui_->GetProfile()); in ToggleShowBookmarksBar()
Dcore_options_handler.cc94 registrar_.Init(web_ui_->GetProfile()->GetPrefs()); in Attach()
134 PrefService* pref_service = web_ui_->GetProfile()->GetPrefs(); in FetchPref()
158 PrefService* pref_service = web_ui_->GetProfile()->GetPrefs(); in SetPref()
179 PrefService* pref_service = web_ui_->GetProfile()->GetPrefs(); in ClearPref()
367 PrefService* pref_service = web_ui_->GetProfile()->GetPrefs(); in NotifyPrefChanged()
Dpassword_manager_handler.cc75 web_ui_->GetProfile()->GetPrefs(), this); in Initialize()
100 return web_ui_->GetProfile()->GetPasswordStore(Profile::EXPLICIT_ACCESS); in GetPasswordStore()
122 web_ui_->GetProfile()->GetPrefs()->GetString(prefs::kAcceptLanguages); in UpdatePasswordLists()
/external/chromium/chrome/browser/notifications/
Dballoon_host.cc74 RenderViewHostDelegateHelper::GetWebkitPrefs(GetProfile(), in GetWebkitPrefs()
84 Profile* BalloonHost::GetProfile() const { in GetProfile() function in BalloonHost
198 if (GetProfile()->GetExtensionService()) { in Init()
207 GetProfile()->GetExtensionService()->GetInstalledApp( in Init()
240 GetProfile(), key, value); in UpdateInspectorSetting()
244 RenderViewHostDelegateHelper::ClearInspectorSettings(GetProfile()); in ClearInspectorSettings()
/external/chromium/chrome/browser/profiles/
Dprofile_manager_unittest.cc79 TEST_F(ProfileManagerTest, GetProfile) { in TEST_F() argument
86 profile = profile_manager_->GetProfile(dest_path); in TEST_F()
90 EXPECT_EQ(profile, profile_manager_->GetProfile(dest_path)); in TEST_F()
142 profile1 = profile_manager_->GetProfile(dest_path1); in TEST_F()
145 profile2 = profile_manager_->GetProfile(dest_path2); in TEST_F()
Dprofile_manager.cc154 profile = GetProfile(default_profile_dir); in GetDefaultProfile()
157 profile = GetProfile(default_profile_dir); in GetDefaultProfile()
162 return GetProfile(default_profile_dir); in GetDefaultProfile()
208 Profile* ProfileManager::GetProfile(const FilePath& profile_dir) { in GetProfile() function in ProfileManager
/external/chromium/chrome/browser/chromeos/status/
Dclock_menu_button.cc36 if (host->GetProfile()) { // This can be NULL in the login screen. in ClockMenuButton()
37 registrar_.Init(host->GetProfile()->GetPrefs()); in ClockMenuButton()
77 host_->GetProfile() && in UpdateText()
78 host_->GetProfile()->GetPrefs()->GetBoolean(prefs::kUse24HourClock); in UpdateText()
Dinput_method_menu_button.cc25 if (host->GetProfile()) { in GetPrefService()
26 return host->GetProfile()->GetPrefs(); in GetPrefService()
/external/chromium/chrome/browser/remoting/
Dremoting_options_handler.cc35 web_ui_->GetProfile()); in Init()
42 web_ui_->GetProfile()->GetPrefs()->SetBoolean( in Init()
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_menu_cocoa_controller.mm76 Browser* browser = Browser::GetTabbedBrowser(bridge_->GetProfile(), true);
78 browser = Browser::Create(bridge_->GetProfile());
93 Browser* browser = Browser::GetTabbedBrowser(bridge_->GetProfile(), true);
95 browser = Browser::Create(bridge_->GetProfile());
/external/chromium/chrome/browser/extensions/
Dextensions_ui.cc286 bool developer_mode = web_ui_->GetProfile()->GetPrefs() in HandleRequestExtensionsData()
328 new ExtensionUninstallDialog(web_ui_->GetProfile())); in GetExtensionUninstallDialog()
334 bool developer_mode = web_ui_->GetProfile()->GetPrefs() in HandleToggleDeveloperMode()
336 web_ui_->GetProfile()->GetPrefs()->SetBoolean( in HandleToggleDeveloperMode()
384 web_ui_->GetProfile(), extension); in HandleEnableMessage()
496 web_ui_->GetProfile()->GetExtensionProcessManager()->OpenOptionsPage( in HandleOptionsMessage()
822 GetProfile()->GetOriginalProfile()->GetExtensionService(); in ExtensionsUI()
/external/chromium/chrome/browser/tabs/
Dtab_handler.h15 virtual Profile* GetProfile() const = 0;
/external/chromium/chrome/browser/printing/
Dprint_dialog_cloud.cc294 web_ui_->GetProfile()).GetCloudPrintServiceDialogURL()); in RegisterMessages()
398 web_ui_->GetProfile()->GetPrefs()->SetInteger( in StoreDialogClientSize()
400 web_ui_->GetProfile()->GetPrefs()->SetInteger( in StoreDialogClientSize()
530 profile = browser->GetProfile(); in CreateDialogImpl()

123