Home
last modified time | relevance | path

Searched refs:PrefService (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/external/chromium/chrome/browser/prefs/
Dpref_service.cc80 void NotifyReadError(PrefService* pref, int message_id) { in NotifyReadError()
87 PrefService* PrefService::CreatePrefService(const FilePath& pref_filename, in CreatePrefService()
94 PrefService* PrefService::CreatePrefServiceAsync( in CreatePrefServiceAsync()
98 PrefService::Delegate* delegate) { in CreatePrefServiceAsync()
130 return new PrefService(managed_platform, managed_cloud, extension_prefs, in CreatePrefServiceAsync()
135 PrefService* PrefService::CreateIncognitoPrefService( in CreateIncognitoPrefService()
137 return new PrefService(*this, incognito_extension_prefs); in CreateIncognitoPrefService()
140 PrefService::PrefService(PrefStore* managed_platform_prefs, in PrefService() function in PrefService
148 PrefService::Delegate* delegate) in PrefService()
166 PrefService::PrefService(const PrefService& original, in PrefService() function in PrefService
[all …]
Dpref_service.h36 class PrefService : public base::NonThreadSafe,
47 Preference(const PrefService* service,
100 friend class PrefService;
111 const PrefService* pref_service_;
118 virtual void OnPrefsLoaded(PrefService* prefs, bool success) = 0;
135 static PrefService* CreatePrefService(const FilePath& pref_filename,
140 static PrefService* CreatePrefServiceAsync(const FilePath& pref_filename,
149 PrefService* CreateIncognitoPrefService(PrefStore* incognito_extension_prefs);
151 virtual ~PrefService();
257 PrefService(PrefStore* managed_platform_prefs,
[all …]
Dsession_startup_pref.h13 class PrefService; variable
31 static void RegisterUserPrefs(PrefService* prefs);
35 static void SetStartupPref(PrefService* prefs,
38 static SessionStartupPref GetStartupPref(PrefService* prefs);
41 static bool TypeIsManaged(PrefService* prefs);
42 static bool URLsAreManaged(PrefService* prefs);
Dbrowser_prefs.h9 class PrefService; variable
21 void RegisterLocalState(PrefService* local_state);
22 void RegisterUserPrefs(PrefService* user_prefs);
24 void MigrateBrowserPrefs(PrefService* user_prefs, PrefService* local_state);
Dsession_startup_pref.cc47 void SessionStartupPref::RegisterUserPrefs(PrefService* prefs) { in RegisterUserPrefs()
62 void SessionStartupPref::SetStartupPref(PrefService* prefs, in SetStartupPref()
91 SessionStartupPref SessionStartupPref::GetStartupPref(PrefService* prefs) { in GetStartupPref()
116 bool SessionStartupPref::TypeIsManaged(PrefService* prefs) { in TypeIsManaged()
118 const PrefService::Preference* pref_restore = in TypeIsManaged()
125 bool SessionStartupPref::URLsAreManaged(PrefService* prefs) { in URLsAreManaged()
127 const PrefService::Preference* pref_urls = in URLsAreManaged()
Dpref_set_observer.h21 PrefSetObserver(PrefService* pref_service,
37 PrefService* pref_service,
42 PrefService* pref_service,
54 PrefService* pref_service_;
/external/chromium/chrome/browser/ui/webui/
Dshown_sections_handler.h15 class PrefService; variable
39 explicit ShownSectionsHandler(PrefService* pref_service);
43 static int GetShownSections(PrefService* pref_service);
47 static void SetShownSection(PrefService* prefs, Section section);
63 static void RegisterUserPrefs(PrefService* pref_service);
65 static void MigrateUserPrefs(PrefService* pref_service,
69 static void OnExtensionInstalled(PrefService* prefs,
73 PrefService* pref_service_;
Dshown_sections_handler.cc47 int ShownSectionsHandler::GetShownSections(PrefService* prefs) { in GetShownSections()
52 void ShownSectionsHandler::SetShownSection(PrefService* prefs, in SetShownSection()
60 ShownSectionsHandler::ShownSectionsHandler(PrefService* pref_service) in ShownSectionsHandler()
106 void ShownSectionsHandler::RegisterUserPrefs(PrefService* pref_service) { in RegisterUserPrefs()
117 void ShownSectionsHandler::MigrateUserPrefs(PrefService* pref_service, in MigrateUserPrefs()
121 const PrefService::Preference* shown_sections_pref = in MigrateUserPrefs()
146 void ShownSectionsHandler::OnExtensionInstalled(PrefService* prefs, in OnExtensionInstalled()
/external/chromium/chrome/browser/net/
Dssl_config_service_manager_pref.cc65 SSLConfigServiceManagerPref(PrefService* user_prefs,
66 PrefService* local_state);
73 static void RegisterPrefs(PrefService* prefs);
78 static void MigrateUserPrefs(PrefService* local_state,
79 PrefService* user_prefs);
102 PrefService* user_prefs, PrefService* local_state) in SSLConfigServiceManagerPref()
124 void SSLConfigServiceManagerPref::RegisterPrefs(PrefService* prefs) { in RegisterPrefs()
141 void SSLConfigServiceManagerPref::MigrateUserPrefs(PrefService* local_state, in MigrateUserPrefs()
142 PrefService* user_prefs) { in MigrateUserPrefs()
205 PrefService* user_prefs, in CreateDefaultManager()
[all …]
Dpredictor_api.h27 class PrefService; variable
45 void RegisterUserPrefs(PrefService* user_prefs);
83 void SavePredictorStateForNextStartupAndTrim(PrefService* prefs);
96 PredictorInit(PrefService* user_prefs, PrefService* local_state,
/external/chromium/chrome/browser/search_engines/
Dtemplate_url_prepopulate_data.h12 class PrefService; variable
17 void RegisterUserPrefs(PrefService* prefs);
22 int GetDataVersion(PrefService* prefs);
28 void GetPrepopulatedEngines(PrefService* prefs,
34 TemplateURL* GetPrepopulatedDefaultSearch(PrefService* prefs);
39 TemplateURL* GetEngineForOrigin(PrefService* prefs, const GURL& url_to_find);
/external/chromium/chrome/browser/metrics/
Dmetrics_log.h19 class PrefService; variable
35 static void RegisterPrefs(PrefService* prefs);
59 static int64 GetIncrementalUptime(PrefService* pref);
76 void WriteStabilityElement(PrefService* pref);
79 void WritePluginStabilityElements(PrefService* pref);
82 void WriteRequiredStabilityAttributes(PrefService* pref);
88 void WriteRealtimeStabilityAttributes(PrefService* pref);
/external/chromium/chrome/browser/extensions/
Dextension_proxy_apitest.cc28 PrefService* pref_service) { in ValidateSettings()
29 const PrefService::Preference* pref = in ValidateSettings()
63 void ExpectNoSettings(PrefService* pref_service) { in ExpectNoSettings()
64 const PrefService::Preference* pref = in ExpectNoSettings()
80 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
94 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
108 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
125 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
139 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
156 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
[all …]
Dextension_content_settings_apitest.cc16 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
22 const PrefService::Preference* pref = pref_service->FindPreference( in IN_PROC_BROWSER_TEST_F()
34 PrefService* prefs = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
43 PrefService* otr_prefs = in IN_PROC_BROWSER_TEST_F()
45 const PrefService::Preference* pref = in IN_PROC_BROWSER_TEST_F()
68 PrefService* pref_service = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
73 const PrefService::Preference* pref = pref_service->FindPreference( in IN_PROC_BROWSER_TEST_F()
84 PrefService* prefs = browser()->profile()->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
Dapps_promo.cc19 void AppsPromo::RegisterPrefs(PrefService* local_state) { in RegisterPrefs()
29 void AppsPromo::RegisterUserPrefs(PrefService* prefs) { in RegisterUserPrefs()
40 PrefService* local_state = g_browser_process->local_state(); in ClearPromo()
50 PrefService* local_state = g_browser_process->local_state(); in GetPromoButtonText()
56 PrefService* local_state = g_browser_process->local_state(); in GetPromoId()
62 PrefService* local_state = g_browser_process->local_state(); in GetPromoHeaderText()
68 PrefService* local_state = g_browser_process->local_state(); in GetPromoLink()
74 PrefService* local_state = g_browser_process->local_state(); in GetPromoExpireText()
84 PrefService* local_state = g_browser_process->local_state(); in SetPromo()
94 PrefService* local_state = g_browser_process->local_state(); in IsPromoSupportedForLocale()
[all …]
Dapps_promo.h15 class PrefService; variable
24 static void RegisterPrefs(PrefService* local_state);
25 static void RegisterUserPrefs(PrefService* prefs);
52 explicit AppsPromo(PrefService* prefs);
104 PrefService* prefs_;
Dtest_extension_prefs.h18 class PrefService; variable
29 PrefService* pref_service() { return pref_service_.get(); } in pref_service()
49 PrefService* CreateIncognitoPrefService() const;
55 scoped_ptr<PrefService> pref_service_;
/external/chromium/chrome/browser/policy/
Dmanaged_prefs_banner_base.h14 class PrefService; variable
27 ManagedPrefsBannerBase(PrefService* local_state,
28 PrefService* user_prefs,
33 ManagedPrefsBannerBase(PrefService* user_prefs, OptionsPage page);
58 void Init(PrefService* local_state,
59 PrefService* user_prefs,
/external/chromium/chrome/browser/chromeos/login/
Dsigned_settings_temp_storage.h13 class PrefService; variable
24 static void RegisterPrefs(PrefService* local_state);
28 PrefService* local_state);
31 PrefService* local_state);
35 static void Finalize(PrefService* local_state);
/external/chromium/chrome/browser/translate/
Dtranslate_prefs.h15 class PrefService; variable
25 explicit TranslatePrefs(PrefService* user_prefs);
56 static bool CanTranslate(PrefService* user_prefs,
58 static bool ShouldAutoTranslate(PrefService* user_prefs,
60 static void RegisterUserPrefs(PrefService* user_prefs);
63 static void MigrateTranslateWhitelists(PrefService* user_prefs);
79 PrefService* prefs_; // Weak.
/external/chromium/chrome/browser/
Dabout_flags.h15 class PrefService; variable
87 void ConvertFlagsToSwitches(PrefService* prefs, CommandLine* command_line);
90 ListValue* GetFlagsExperimentsData(PrefService* prefs);
97 PrefService* prefs, const std::string& internal_name, bool enable);
111 void RecordUMAStatistics(const PrefService* prefs);
Dbackground_page_tracker.cc43 void BackgroundPageTracker::RegisterPrefs(PrefService* prefs) { in RegisterPrefs()
56 PrefService* prefs = GetPrefService(); in GetBackgroundPageCount()
65 PrefService* prefs = GetPrefService(); in GetUnacknowledgedBackgroundPageCount()
88 PrefService* prefs = GetPrefService(); in AcknowledgeBackgroundPages()
132 PrefService* BackgroundPageTracker::GetPrefService() { in GetPrefService()
133 PrefService* service = g_browser_process->local_state(); in GetPrefService()
191 PrefService* prefs = GetPrefService(); in UpdateExtensionList()
269 PrefService* prefs = GetPrefService(); in OnBackgroundPageLoaded()
284 PrefService* prefs = GetPrefService(); in OnExtensionUnloaded()
/external/chromium/chrome/browser/content_settings/
Dcontent_settings_pref_provider.h25 class PrefService; variable
46 static void RegisterUserPrefs(PrefService* prefs);
74 void MigrateObsoleteNotificationPref(PrefService* prefs);
105 static void RegisterUserPrefs(PrefService* prefs);
139 void MigrateObsoletePerhostPref(PrefService* prefs);
140 void MigrateObsoletePopupsPref(PrefService* prefs);
/external/chromium/chrome/browser/download/
Ddownload_prefs.h14 class PrefService; variable
19 explicit DownloadPrefs(PrefService* prefs);
22 static void RegisterUserPrefs(PrefService* prefs);
55 PrefService* prefs_;
/external/chromium/chrome/browser/sync/glue/
Dpreference_model_associator.h35 : public PerDataTypeAssociatorInterface<PrefService::Preference,
53 const PrefService::Preference* pref);
76 virtual const PrefService::Preference* GetChromeNodeFromSyncId(int64 sync_id);
87 virtual void Associate(const PrefService::Preference* node, int64 sync_id);
102 static Value* MergePreference(const PrefService::Preference& local_pref,

12345678910>>...13