Searched refs:prefs (Results 1 - 25 of 1216) sorted by relevance

1234567891011>>

/external/chromium_org/chromecast/common/
H A Dpref_names.cc7 namespace prefs { namespace
13 } // namespace prefs
H A Dpref_names.h8 namespace prefs { namespace
12 } // namespace prefs
/external/chromium_org/components/translate/core/common/
H A Dtranslate_pref_names.cc7 namespace prefs { namespace
12 } // namespace prefs
H A Dtranslate_pref_names.h8 namespace prefs { namespace
12 } // namespace prefs
/external/chromium_org/components/google/core/browser/
H A Dgoogle_pref_names.cc7 namespace prefs { namespace
20 } // namespace prefs
/external/chromium_org/components/network_time/
H A Dnetwork_time_pref_names.cc8 namespace prefs { namespace in namespace:network_time
14 } // namespace prefs
/external/chromium_org/components/variations/
H A Dpref_names.cc8 namespace prefs { namespace in namespace:metrics
15 } // namespace prefs
/external/chromium_org/chrome/browser/extensions/api/font_settings/
H A Dfont_settings_apitest.cc7 #include "base/prefs/pref_service.h"
16 PrefService* prefs = browser()->profile()->GetPrefs(); local
17 prefs->SetString(prefs::kWebKitStandardFontFamilyKorean, "Tahoma");
18 prefs->SetString(prefs::kWebKitSansSerifFontFamily, "Arial");
19 prefs->SetInteger(prefs::kWebKitDefaultFontSize, 16);
20 prefs->SetInteger(prefs
28 PrefService* prefs = browser()->profile()->GetPrefs(); local
[all...]
/external/chromium_org/chrome/browser/chromeos/extensions/
H A Dinfo_private_apitest.cc5 #include "base/prefs/pref_service.h"
19 PrefService* prefs = profile()->GetPrefs(); local
20 ASSERT_FALSE(prefs->GetBoolean(prefs::kAccessibilityLargeCursorEnabled));
21 ASSERT_FALSE(prefs->GetBoolean(prefs::kAccessibilityStickyKeysEnabled));
22 ASSERT_FALSE(prefs->GetBoolean(prefs::kAccessibilitySpokenFeedbackEnabled));
23 ASSERT_FALSE(prefs->GetBoolean(prefs
[all...]
/external/chromium_org/chrome/browser/search_engines/
H A Ddefault_search_pref_migration.cc12 #include "base/prefs/pref_service.h"
32 void ClearDefaultSearchProviderFromLegacyPrefs(PrefService* prefs) { argument
33 prefs->ClearPref(prefs::kDefaultSearchProviderName);
34 prefs->ClearPref(prefs::kDefaultSearchProviderKeyword);
35 prefs->ClearPref(prefs::kDefaultSearchProviderSearchURL);
36 prefs->ClearPref(prefs
[all...]
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dfont_settings_utils_linux.cc10 void FontSettingsUtilities::ValidateSavedFonts(PrefService* prefs) { argument
H A Dfont_settings_utils_win.cc10 void FontSettingsUtilities::ValidateSavedFonts(PrefService* prefs) { argument
/external/chromium_org/components/invalidation/
H A Dinvalidation_prefs.cc8 namespace prefs { namespace in namespace:invalidation
13 // Opaque state from the invalidation subsystem that is persisted via prefs.
21 } // namespace prefs
/external/chromium_org/components/suggestions/
H A Dsuggestions_pref_names.cc8 namespace prefs { namespace in namespace:suggestions
18 } // namespace prefs
/external/chromium_org/chrome/browser/profiles/
H A Dchrome_version_service.cc7 #include "base/prefs/pref_service.h"
17 prefs::kProfileCreatedByVersion,
23 void ChromeVersionService::SetVersion(PrefService* prefs, argument
25 prefs->SetString(prefs::kProfileCreatedByVersion, version);
29 std::string ChromeVersionService::GetVersion(PrefService* prefs) { argument
30 return prefs->GetString(prefs::kProfileCreatedByVersion);
34 void ChromeVersionService::OnProfileLoaded(PrefService* prefs, argument
43 if (prefs
[all...]
/external/chromium_org/chrome/browser/
H A Drenderer_preferences_util.cc8 #include "base/prefs/pref_service.h"
31 content::RendererPreferences* prefs, Profile* profile) {
33 prefs->accept_languages = pref_service->GetString(prefs::kAcceptLanguages);
34 prefs->enable_referrers = pref_service->GetBoolean(prefs::kEnableReferrers);
35 prefs->enable_do_not_track =
36 pref_service->GetBoolean(prefs::kEnableDoNotTrack);
37 prefs->default_zoom_level = pref_service->GetDouble(prefs
30 UpdateFromSystemSettings( content::RendererPreferences* prefs, Profile* profile) argument
[all...]
/external/chromium_org/chrome/browser/prefs/
H A Dsession_startup_pref.cc5 #include "chrome/browser/prefs/session_startup_pref.h"
10 #include "base/prefs/pref_service.h"
11 #include "base/prefs/scoped_user_pref_update.h"
33 // Converts a SessionStartupPref::Type to an integer written to prefs.
42 void SetNewURLList(PrefService* prefs) { argument
43 if (prefs->IsUserModifiablePreference(prefs::kURLsToRestoreOnStartup)) {
46 new base::StringValue(prefs->GetString(prefs::kHomePage));
48 prefs
104 SetStartupPref(PrefService* prefs, const SessionStartupPref& pref) argument
133 GetStartupPref(PrefService* prefs) argument
152 MigrateIfNecessary(PrefService* prefs) argument
248 MigrateMacDefaultPrefIfNecessary(PrefService* prefs) argument
267 TypeIsManaged(PrefService* prefs) argument
276 URLsAreManaged(PrefService* prefs) argument
285 TypeIsDefault(PrefService* prefs) argument
[all...]
/external/chromium_org/content/renderer/pepper/
H A Dppapi_preferences_builder.cc13 const WebPreferences& prefs) {
15 ppapi_prefs.standard_font_family_map = prefs.standard_font_family_map;
16 ppapi_prefs.fixed_font_family_map = prefs.fixed_font_family_map;
17 ppapi_prefs.serif_font_family_map = prefs.serif_font_family_map;
18 ppapi_prefs.sans_serif_font_family_map = prefs.sans_serif_font_family_map;
19 ppapi_prefs.default_font_size = prefs.default_font_size;
20 ppapi_prefs.default_fixed_font_size = prefs.default_fixed_font_size;
21 ppapi_prefs.number_of_cpu_cores = prefs.number_of_cpu_cores;
22 ppapi_prefs.is_3d_supported = prefs.flash_3d_enabled;
23 ppapi_prefs.is_stage3d_supported = prefs
12 Build( const WebPreferences& prefs) argument
[all...]
/external/chromium_org/chrome/browser/apps/
H A Dapp_launch_for_metro_restart_win.cc11 #include "base/prefs/pref_registry_simple.h"
12 #include "base/prefs/pref_service.h"
48 PrefService* prefs = g_browser_process->local_state(); local
49 if (!prefs->HasPrefPath(prefs::kAppLaunchForMetroRestartProfile))
57 prefs->GetString(prefs::kAppLaunchForMetroRestartProfile));
61 prefs->ClearPref(prefs::kAppLaunchForMetroRestartProfile);
63 if (!prefs
81 PrefService* prefs = g_browser_process->local_state(); local
[all...]
/external/chromium_org/components/data_reduction_proxy/browser/
H A Ddata_reduction_proxy_prefs.cc7 #include "base/prefs/pref_registry_simple.h"
17 data_reduction_proxy::prefs::kDataReductionProxyEnabled,
21 data_reduction_proxy::prefs::kDataReductionProxyAltEnabled,
25 data_reduction_proxy::prefs::kDataReductionProxyWasEnabledBefore,
32 data_reduction_proxy::prefs::kDataReductionProxyEnabled, false);
34 data_reduction_proxy::prefs::kDataReductionProxyAltEnabled, false);
36 data_reduction_proxy::prefs::kDataReductionProxyWasEnabledBefore, false);
39 // Add any new data reduction proxy prefs to the |pref_map_| or the
43 prefs::kHttpReceivedContentLength, 0);
45 prefs
[all...]
/external/chromium_org/chrome/browser/metrics/
H A Dcloned_install_detector_unittest.cc7 #include "base/prefs/testing_pref_service.h"
27 TestingPrefServiceSimple prefs; local
28 ClonedInstallDetector::RegisterPrefs(prefs.registry());
33 detector->SaveMachineId(&prefs, kTestRawId);
35 EXPECT_EQ(kTestHashedId, prefs.GetInteger(prefs::kMetricsMachineId));
39 TestingPrefServiceSimple prefs; local
40 MetricsStateManager::RegisterPrefs(prefs.registry());
43 prefs.SetInteger(prefs
[all...]
/external/chromium_org/chrome/browser/lifetime/
H A Dapplication_lifetime_android.cc11 #include "base/prefs/pref_service.h"
26 pref_service->SetBoolean(prefs::kRestartLastSessionOnShutdown, true);
33 PrefService* prefs = g_browser_process->local_state(); local
34 if (prefs->HasPrefPath(prefs::kRestartLastSessionOnShutdown)) {
35 restart = prefs->GetBoolean(prefs::kRestartLastSessionOnShutdown);
36 prefs->ClearPref(prefs::kRestartLastSessionOnShutdown);
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dtwo_client_preferences_sync_test.cc5 #include "base/prefs/pref_service.h"
36 ASSERT_TRUE(AwaitBooleanPrefMatches(prefs::kHomePageIsNewTabPage));
38 ChangeBooleanPref(0, prefs::kHomePageIsNewTabPage);
39 ASSERT_TRUE(AwaitBooleanPrefMatches(prefs::kHomePageIsNewTabPage));
45 ASSERT_TRUE(AwaitStringPrefMatches(prefs::kHomePage));
47 ChangeStringPref(0, prefs::kHomePage, "http://www.google.com/0");
48 ASSERT_TRUE(AwaitStringPrefMatches(prefs::kHomePage));
49 EXPECT_EQ("http://www.google.com/0", GetPrefs(0)->GetString(prefs::kHomePage));
51 ChangeStringPref(1, prefs::kHomePage, "http://www.google.com/1");
52 ASSERT_TRUE(AwaitStringPrefMatches(prefs
[all...]
/external/chromium_org/chrome/browser/extensions/api/preference/
H A Dpreference_apitest.cc5 #include "base/prefs/pref_service.h"
36 PrefService* prefs = profile_->GetPrefs(); local
37 const PrefService::Preference* pref = prefs->FindPreference(
38 prefs::kBlockThirdPartyCookies);
41 EXPECT_TRUE(prefs->GetBoolean(prefs::kAlternateErrorPagesEnabled));
42 EXPECT_TRUE(prefs->GetBoolean(autofill::prefs::kAutofillEnabled));
43 EXPECT_FALSE(prefs->GetBoolean(prefs
56 PrefService* prefs = profile_->GetPrefs(); local
108 PrefService* prefs = profile_->GetPrefs(); local
144 PrefService* prefs = profile_->GetPrefs(); local
173 PrefService* prefs = profile_->GetPrefs(); local
196 PrefService* prefs = profile_->GetPrefs(); local
[all...]
/external/chromium_org/chrome/browser/ui/
H A Dbrowser_ui_prefs.cc7 #include "base/prefs/pref_registry_simple.h"
8 #include "base/prefs/pref_service.h"
9 #include "base/prefs/scoped_user_pref_update.h"
19 registry->RegisterIntegerPref(prefs::kOptionsWindowLastTabIndex, 0);
20 registry->RegisterBooleanPref(prefs::kAllowFileSelectionDialogs, true);
21 registry->RegisterIntegerPref(prefs::kShowFirstRunBubbleOption,
27 prefs::kHomePageIsNewTabPage,
31 prefs::kShowHomeButton,
44 prefs::kShowUpdatePromotionInfoBar,
49 prefs
[all...]

Completed in 661 milliseconds

1234567891011>>