HasPrefPath 228 base/prefs/pref_service.h bool HasPrefPath(const char* path) const; HasPrefPath 59 base/prefs/pref_service_unittest.cc TEST(PrefServiceTest, HasPrefPath) { HasPrefPath 65 base/prefs/pref_service_unittest.cc EXPECT_FALSE(prefs.HasPrefPath(path)); HasPrefPath 70 base/prefs/pref_service_unittest.cc EXPECT_FALSE(prefs.HasPrefPath(path)); HasPrefPath 74 base/prefs/pref_service_unittest.cc EXPECT_TRUE(prefs.HasPrefPath(path)); HasPrefPath 50 chrome/browser/apps/app_launch_for_metro_restart_win.cc if (!prefs->HasPrefPath(prefs::kAppLaunchForMetroRestartProfile)) HasPrefPath 64 chrome/browser/apps/app_launch_for_metro_restart_win.cc if (!prefs->HasPrefPath(prefs::kAppLaunchForMetroRestart)) HasPrefPath 168 chrome/browser/browser_shutdown.cc if (prefs->HasPrefPath(prefs::kRestartLastSessionOnShutdown)) { HasPrefPath 174 chrome/browser/browser_shutdown.cc if (prefs->HasPrefPath(prefs::kRelaunchMode)) { HasPrefPath 1524 chrome/browser/chrome_content_browser_client.cc if (prefs->HasPrefPath(prefs::kDisable3DAPIs) && HasPrefPath 569 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_FALSE(local_state()->HasPrefPath(prefs::kDisplayPowerState)); HasPrefPath 573 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_TRUE(local_state()->HasPrefPath(prefs::kDisplayPowerState)); HasPrefPath 577 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_FALSE(local_state()->HasPrefPath(prefs::kDisplayPowerState)); HasPrefPath 581 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_TRUE(local_state()->HasPrefPath(prefs::kDisplayPowerState)); HasPrefPath 585 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_FALSE(local_state()->HasPrefPath(prefs::kDisplayPowerState)); HasPrefPath 589 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_TRUE(local_state()->HasPrefPath(prefs::kDisplayPowerState)); HasPrefPath 1200 chrome/browser/chromeos/login/login_display_host_impl.cc if (!prefs->HasPrefPath(prefs::kApplicationLocale)) { HasPrefPath 669 chrome/browser/chromeos/login/login_utils.cc if (!g_browser_process->local_state()->HasPrefPath(prefs::kRLZBrand)) { HasPrefPath 593 chrome/browser/chromeos/login/login_utils_browsertest.cc EXPECT_FALSE(local_state_.Get()->HasPrefPath(prefs::kRLZBrand)); HasPrefPath 605 chrome/browser/chromeos/login/login_utils_browsertest.cc EXPECT_TRUE(local_state_.Get()->HasPrefPath(prefs::kRLZBrand)); HasPrefPath 209 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc if (local_state_->HasPrefPath(prefs::kDeviceEnrollmentAutoStart)) HasPrefPath 219 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc if (local_state_->HasPrefPath(prefs::kDeviceEnrollmentCanExit)) HasPrefPath 215 chrome/browser/chromeos/session_length_limiter_unittest.cc return local_state_.HasPrefPath(prefs::kSessionUserActivitySeen); HasPrefPath 236 chrome/browser/chromeos/session_length_limiter_unittest.cc return local_state_.HasPrefPath(prefs::kSessionStartTime); HasPrefPath 254 chrome/browser/content_settings/content_settings_policy_provider.cc if (!prefs_->HasPrefPath(pref_name)) { HasPrefPath 306 chrome/browser/content_settings/content_settings_policy_provider.cc if (!prefs_->HasPrefPath(pref_name)) { HasPrefPath 400 chrome/browser/content_settings/content_settings_policy_provider.cc DCHECK(!prefs_->HasPrefPath(kPrefToManageType[content_type]) || HasPrefPath 93 chrome/browser/content_settings/content_settings_pref_provider.cc if (!prefs_->HasPrefPath(prefs::kContentSettingsVersion)) { HasPrefPath 452 chrome/browser/content_settings/host_content_settings_map.cc if (prefs_->HasPrefPath(prefs::kContentSettingsClearOnExitMigrated) && HasPrefPath 441 chrome/browser/custom_handlers/protocol_handler_registry.cc if (prefs->HasPrefPath(prefs::kCustomHandlersEnabled)) { HasPrefPath 850 chrome/browser/custom_handlers/protocol_handler_registry.cc if (!prefs->HasPrefPath(pref_name)) { HasPrefPath 100 chrome/browser/extensions/api/hotword_private/hotword_private_api.cc result.enabled_set = prefs->HasPrefPath(prefs::kHotwordSearchEnabled); HasPrefPath 180 chrome/browser/extensions/api/webstore_private/webstore_private_api.cc if (profile->GetPrefs()->HasPrefPath(kWebstoreLogin)) HasPrefPath 177 chrome/browser/extensions/chrome_extensions_browser_client.cc if (pref_service->HasPrefPath(pref_names::kLastChromeVersion)) { HasPrefPath 47 chrome/browser/extensions/standard_management_policy_provider.cc if (pref_service->HasPrefPath(pref_names::kAllowedTypes)) HasPrefPath 173 chrome/browser/extensions/updater/extension_updater.cc if (!prefs_->HasPrefPath(pref_names::kNextUpdateCheck)) HasPrefPath 34 chrome/browser/lifetime/application_lifetime_android.cc if (prefs->HasPrefPath(prefs::kRestartLastSessionOnShutdown)) { HasPrefPath 200 chrome/browser/managed_mode/managed_user_service.cc if (!prefs->HasPrefPath(prefs::kProfileIsManaged)) HasPrefPath 74 chrome/browser/metrics/cloned_install_detector.cc if (local_state->HasPrefPath(prefs::kMetricsMachineId)) { HasPrefPath 211 chrome/browser/metrics/variations/variations_seed_store.cc if (local_state_->HasPrefPath(prefs::kVariationsSeedDate)) { HasPrefPath 300 chrome/browser/net/http_server_properties_manager.cc if (!pref_service_->HasPrefPath(prefs::kHttpServerProperties)) HasPrefPath 174 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc EXPECT_FALSE(local_state->HasPrefPath(prefs::kSSLVersionMin)); HasPrefPath 175 chrome/browser/net/ssl_config_service_manager_pref_unittest.cc EXPECT_FALSE(local_state->HasPrefPath(prefs::kSSLVersionMax)); HasPrefPath 550 chrome/browser/prefs/browser_prefs.cc if (local_state->HasPrefPath(prefs::kBrowserWindowPlacement)) { HasPrefPath 567 chrome/browser/prefs/browser_prefs.cc if (local_state->HasPrefPath(prefs::kLastKnownGoogleURL)) { HasPrefPath 575 chrome/browser/prefs/browser_prefs.cc if (local_state->HasPrefPath(prefs::kLastPromptedGoogleURL)) { HasPrefPath 99 chrome/browser/prefs/session_startup_pref_unittest.cc EXPECT_FALSE(pref_service_->HasPrefPath(prefs::kRestoreOnStartup)); HasPrefPath 126 chrome/browser/prefs/session_startup_pref_unittest.cc EXPECT_FALSE(pref_service_->HasPrefPath(prefs::kRestoreOnStartup)); HasPrefPath 52 chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc if (profile_->GetPrefs()->HasPrefPath(prefs::kCloudPrintEmail) && HasPrefPath 522 chrome/browser/profiles/profile_manager.cc if (local_state->HasPrefPath(prefs::kProfileLastUsed)) { HasPrefPath 536 chrome/browser/profiles/profile_manager.cc if (local_state->HasPrefPath(prefs::kProfilesLastActive) && HasPrefPath 708 chrome/browser/profiles/profile_manager.cc if (!local_state->HasPrefPath(prefs::kBackgroundModeEnabled) || HasPrefPath 762 chrome/browser/profiles/profile_manager.cc if (!profile->GetPrefs()->HasPrefPath(prefs::kProfileAvatarIndex)) HasPrefPath 765 chrome/browser/profiles/profile_manager.cc if (!profile->GetPrefs()->HasPrefPath(prefs::kProfileName)) HasPrefPath 776 chrome/browser/profiles/profile_manager.cc !profile->GetPrefs()->HasPrefPath(prefs::kManagedUserId)) { HasPrefPath 452 chrome/browser/profiles/profile_manager_unittest.cc if (!local_state_.Get()->HasPrefPath(prefs::kBackgroundModeEnabled)) HasPrefPath 131 chrome/browser/search/hotword_service.cc if (profile_->GetPrefs()->HasPrefPath(prefs::kHotwordSearchEnabled)) { HasPrefPath 183 chrome/browser/search/hotword_service.cc if (profile_->GetPrefs()->HasPrefPath(prefs::kHotwordSearchEnabled)) HasPrefPath 229 chrome/browser/search/hotword_service.cc profile_->GetPrefs()->HasPrefPath(prefs::kHotwordAudioLoggingEnabled) && HasPrefPath 688 chrome/browser/search_engines/template_url_prepopulate_data.cc if (!prefs->HasPrefPath(prefs::kCountryIDAtInstall)) { HasPrefPath 692 chrome/browser/search_engines/template_url_prepopulate_data.cc if (prefs->HasPrefPath(prefs::kGeoIDAtInstall)) { HasPrefPath 1236 chrome/browser/search_engines/template_url_prepopulate_data.cc return (prefs && prefs->HasPrefPath(prefs::kSearchProviderOverridesVersion)) ? HasPrefPath 1690 chrome/browser/search_engines/template_url_service.cc if (!prefs || !prefs->HasPrefPath(prefs::kDefaultSearchProviderSearchURL)) HasPrefPath 595 chrome/browser/sessions/better_session_restore_browsertest.cc if (pref_service->HasPrefPath(prefs::kRelaunchMode)) HasPrefPath 81 chrome/browser/signin/signin_promo.cc return profile->GetPrefs()->HasPrefPath(prefs::kSignInPromoStartupCount); HasPrefPath 145 chrome/browser/signin/signin_promo.cc if (prefs->HasPrefPath(prefs::kSignInPromoShowOnFirstRunAllowed)) HasPrefPath 267 chrome/browser/ui/app_list/app_list_service_impl.cc if (local_state_->HasPrefPath(prefs::kAppListProfile)) HasPrefPath 273 chrome/browser/ui/app_list/app_list_service_impl.cc local_state_->HasPrefPath(prefs::kProfileLastUsed)) { HasPrefPath 1060 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc if (local_state->HasPrefPath(prefs::kSessionStartTime)) { HasPrefPath 1073 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc if (local_state->HasPrefPath(prefs::kSessionLengthLimit)) { HasPrefPath 2077 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ASSERT_FALSE(profile()->GetPrefs()->HasPrefPath( HasPrefPath 2085 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_FALSE(profile()->GetPrefs()->HasPrefPath( HasPrefPath 2090 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ASSERT_FALSE(profile()->GetPrefs()->HasPrefPath( HasPrefPath 2097 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_FALSE(profile()->GetPrefs()->HasPrefPath( HasPrefPath 2118 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ASSERT_FALSE(profile()->GetPrefs()->HasPrefPath( HasPrefPath 2125 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(profile()->GetPrefs()->HasPrefPath( HasPrefPath 2134 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(profile()->GetPrefs()->HasPrefPath( HasPrefPath 2142 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(profile()->GetPrefs()->HasPrefPath( HasPrefPath 2160 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(profile()->GetPrefs()->HasPrefPath( HasPrefPath 3043 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ASSERT_FALSE(profile()->GetPrefs()->HasPrefPath( HasPrefPath 108 chrome/browser/ui/views/app_list/win/app_list_service_win.cc if (prefs->HasPrefPath(prefs::kAppLauncherIsEnabled)) { HasPrefPath 433 chrome/browser/ui/views/app_list/win/app_list_service_win.cc if (prefs->HasPrefPath(prefs::kRestartWithAppList) && HasPrefPath 125 chrome/browser/ui/views/critical_notification_bubble_view.cc if (prefs->HasPrefPath(prefs::kRestartLastSessionOnShutdown)) HasPrefPath 39 chrome/browser/ui/views/download/download_feedback_dialog_view.cc DCHECK(!profile->GetPrefs()->HasPrefPath( HasPrefPath 558 chrome/browser/ui/views/download/download_item_view.cc if (!shelf_->browser()->profile()->GetPrefs()->HasPrefPath( HasPrefPath 61 chrome/browser/ui/views/frame/browser_window_property_manager_win.cc profile->GetPrefs()->HasPrefPath(prefs::kProfileIconVersion)) { HasPrefPath 131 chrome/browser/ui/views/toolbar/browser_actions_container.cc !profile_->GetPrefs()->HasPrefPath( HasPrefPath 575 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc if (profile->GetPrefs()->HasPrefPath(prefs::kCloudPrintEmail) && HasPrefPath 76 chrome/browser/web_resource/web_resource_service.cc if (prefs_->HasPrefPath(last_update_time_pref_name_)) { HasPrefPath 290 components/policy/core/browser/url_blacklist_manager.cc if (pref_service_->HasPrefPath(policy_prefs::kUrlBlacklist)) HasPrefPath 388 components/translate/core/browser/translate_prefs.cc bool merged = user_prefs->HasPrefPath(kPrefTranslateBlockedLanguages);