pref 241 apps/ui/views/app_window_frame_view.cc gfx::Size pref = widget_->client_view()->GetPreferredSize(); pref 242 apps/ui/views/app_window_frame_view.cc gfx::Rect bounds(0, 0, pref.width(), pref.height()); pref 512 ash/frame/custom_frame_view_ash.cc gfx::Size pref = frame_->client_view()->GetPreferredSize(); pref 513 ash/frame/custom_frame_view_ash.cc gfx::Rect bounds(0, 0, pref.width(), pref.height()); pref 275 ash/shelf/shelf_button.cc int pref = icon_view_->icon_size(); pref 278 ash/shelf/shelf_button.cc int height = pref; pref 280 ash/shelf/shelf_button.cc if (width > pref) { pref 281 ash/shelf/shelf_button.cc width = pref; pref 488 ash/wm/workspace/multi_window_resize_controller.cc gfx::Size pref = resize_widget_->GetContentsView()->GetPreferredSize(); pref 491 ash/wm/workspace/multi_window_resize_controller.cc x = windows_.window1->bounds().right() - pref.width() / 2; pref 493 ash/wm/workspace/multi_window_resize_controller.cc if (y + pref.height() / 2 > windows_.window1->bounds().bottom() && pref 494 ash/wm/workspace/multi_window_resize_controller.cc y + pref.height() / 2 > windows_.window2->bounds().bottom()) { pref 495 ash/wm/workspace/multi_window_resize_controller.cc y = location_in_parent.y() - kResizeWidgetPadding - pref.height(); pref 499 ash/wm/workspace/multi_window_resize_controller.cc if (x + pref.height() / 2 > windows_.window1->bounds().right() && pref 500 ash/wm/workspace/multi_window_resize_controller.cc x + pref.height() / 2 > windows_.window2->bounds().right()) { pref 501 ash/wm/workspace/multi_window_resize_controller.cc x = location_in_parent.x() - kResizeWidgetPadding - pref.width(); pref 503 ash/wm/workspace/multi_window_resize_controller.cc y = windows_.window1->bounds().bottom() - pref.height() / 2; pref 505 ash/wm/workspace/multi_window_resize_controller.cc return gfx::Rect(x, y, pref.width(), pref.height()); pref 22 base/prefs/mock_pref_change_callback.h const PrefService::Preference* pref = pref 24 base/prefs/mock_pref_change_callback.h if (!pref) pref 27 base/prefs/mock_pref_change_callback.h const base::Value* actual_value = pref->GetValue(); pref 63 base/prefs/pref_change_registrar.cc bool PrefChangeRegistrar::IsObserved(const std::string& pref) { pref 64 base/prefs/pref_change_registrar.cc return observers_.find(pref) != observers_.end(); pref 70 base/prefs/pref_change_registrar.cc const PrefService::Preference* pref = pref 72 base/prefs/pref_change_registrar.cc if (pref && pref->IsManaged()) pref 79 base/prefs/pref_change_registrar.cc const std::string& pref) { pref 80 base/prefs/pref_change_registrar.cc if (IsObserved(pref)) pref 81 base/prefs/pref_change_registrar.cc observers_[pref].Run(pref); pref 56 base/prefs/pref_change_registrar.h bool IsObserved(const std::string& pref); pref 73 base/prefs/pref_member.cc const PrefService::Preference* pref = pref 75 base/prefs/pref_member.cc DCHECK(pref); pref 78 base/prefs/pref_member.cc internal()->UpdateValue(pref->GetValue()->DeepCopy(), pref 79 base/prefs/pref_member.cc pref->IsManaged(), pref 80 base/prefs/pref_member.cc pref->IsUserModifiable(), pref 298 base/prefs/pref_member_unittest.cc IntegerPrefMember pref; pref 165 base/prefs/pref_service.cc const Preference* pref = FindPreference(path); pref 166 base/prefs/pref_service.cc return pref && !pref->IsDefaultValue(); pref 229 base/prefs/pref_service.cc const Preference* pref = FindPreference(pref_name); pref 230 base/prefs/pref_service.cc return pref && pref->IsManaged(); pref 234 base/prefs/pref_service.cc const Preference* pref = FindPreference(pref_name); pref 235 base/prefs/pref_service.cc return pref && pref->IsUserModifiable(); pref 257 base/prefs/pref_service.cc const Preference* pref = FindPreference(path); pref 258 base/prefs/pref_service.cc if (!pref) { pref 269 base/prefs/pref_service.cc if (!value->IsType(pref->GetType())) { pref 328 base/prefs/pref_service.cc const Preference* pref = FindPreference(path); pref 329 base/prefs/pref_service.cc if (!pref) { pref 407 base/prefs/pref_service.cc const Preference* pref = FindPreference(path); pref 408 base/prefs/pref_service.cc if (!pref) { pref 412 base/prefs/pref_service.cc if (pref->GetType() != type) { pref 442 base/prefs/pref_service.cc const Preference* pref = FindPreference(path); pref 443 base/prefs/pref_service.cc if (!pref) { pref 447 base/prefs/pref_service.cc if (pref->GetType() != new_value->GetType()) { pref 449 base/prefs/pref_service.cc << " of type " << pref->GetType() pref 142 base/prefs/pref_service_unittest.cc const PrefService::Preference* pref = prefs.FindPreference(kPrefName); pref 143 base/prefs/pref_service_unittest.cc ASSERT_TRUE(pref); pref 144 base/prefs/pref_service_unittest.cc const base::Value* value = pref->GetValue(); pref 160 base/prefs/pref_service_unittest.cc const PrefService::Preference* pref = prefs.FindPreference(kPrefName); pref 161 base/prefs/pref_service_unittest.cc ASSERT_TRUE(pref); pref 164 base/prefs/pref_service_unittest.cc const base::Value* value = pref->GetValue(); pref 172 base/prefs/pref_service_unittest.cc value = pref->GetRecommendedValue(); pref 179 base/prefs/pref_service_unittest.cc value = pref->GetValue(); pref 187 base/prefs/pref_service_unittest.cc value = pref->GetRecommendedValue(); pref 195 base/prefs/pref_service_unittest.cc value = pref->GetValue(); pref 203 base/prefs/pref_service_unittest.cc value = pref->GetRecommendedValue(); pref 214 base/prefs/pref_service_unittest.cc value = pref->GetValue(); pref 222 base/prefs/pref_service_unittest.cc value = pref->GetRecommendedValue(); pref 695 chrome/browser/background/background_contents_service.cc base::DictionaryValue* pref = update.Get(); pref 698 chrome/browser/background/background_contents_service.cc if (pref->GetDictionaryWithoutPathExpansion(base::UTF16ToUTF8(appid), pref 707 chrome/browser/background/background_contents_service.cc pref->SetWithoutPathExpansion(base::UTF16ToUTF8(appid), dict); pref 56 chrome/browser/background/background_contents_service_unittest.cc const base::DictionaryValue* pref = GetPrefs(profile); pref 57 chrome/browser/background/background_contents_service_unittest.cc EXPECT_TRUE(pref->HasKey(base::UTF16ToUTF8(appid))); pref 59 chrome/browser/background/background_contents_service_unittest.cc pref->GetDictionaryWithoutPathExpansion(base::UTF16ToUTF8(appid), &value); pref 257 chrome/browser/chromeos/accessibility/accessibility_manager.cc const PrefService::Preference* pref = ProfileHelper::GetSigninProfile()-> pref 259 chrome/browser/chromeos/accessibility/accessibility_manager.cc if (!pref || !pref->IsUserControlled()) pref 263 chrome/browser/chromeos/accessibility/accessibility_manager.cc const base::Value* value_on_login = pref->GetValue(); pref 33 chrome/browser/chromeos/extensions/info_private_api.h bool GetBooleanPrefValue(const char* pref); pref 113 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc const PrefService::Preference* pref = pref 115 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc ASSERT_TRUE(pref); pref 116 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc EXPECT_FALSE(pref->HasUserSetting()); pref 132 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc pref = prefs->FindPreference(prefs::kSAMLLastGAIASignInTime); pref 133 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc ASSERT_TRUE(pref); pref 134 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc EXPECT_FALSE(pref->HasUserSetting()); pref 157 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc const PrefService::Preference* pref = pref 159 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc ASSERT_TRUE(pref); pref 160 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc EXPECT_FALSE(pref->HasUserSetting()); pref 176 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc pref = prefs->FindPreference(prefs::kSAMLLastGAIASignInTime); pref 177 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc ASSERT_TRUE(pref); pref 178 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc EXPECT_FALSE(pref->HasUserSetting()); pref 201 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc const PrefService::Preference* pref = pref 203 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc ASSERT_TRUE(pref); pref 204 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc EXPECT_FALSE(pref->HasUserSetting()); pref 220 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc pref = prefs->FindPreference(prefs::kSAMLLastGAIASignInTime); pref 221 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc ASSERT_TRUE(pref); pref 222 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc EXPECT_FALSE(pref->HasUserSetting()); pref 245 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc const PrefService::Preference* pref = pref 247 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc ASSERT_TRUE(pref); pref 248 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc EXPECT_FALSE(pref->HasUserSetting()); pref 274 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc const PrefService::Preference* pref = pref 276 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc ASSERT_TRUE(pref); pref 277 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc EXPECT_FALSE(pref->HasUserSetting()); pref 306 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc const PrefService::Preference* pref = pref 308 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc ASSERT_TRUE(pref); pref 309 chrome/browser/chromeos/login/saml/saml_offline_signin_limiter_unittest.cc EXPECT_FALSE(pref->HasUserSetting()); pref 171 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc const PrefService::Preference* pref = local_state_->FindPreference( pref 173 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc if (!pref->IsDefaultValue()) pref 174 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc pref->GetValue()->GetAsString(&requisition); pref 357 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc const PrefService::Preference* pref = local_state_->FindPreference( pref 359 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc if (pref->IsDefaultValue()) { pref 203 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc const PrefService::Preference* pref = pref 205 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc ASSERT_TRUE(pref); pref 206 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc EXPECT_FALSE(pref->IsManaged()); pref 207 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc EXPECT_FALSE(pref->IsDefaultValue()); pref 208 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc EXPECT_TRUE(base::Value::Equals(&recommended_value, pref->GetValue())); pref 210 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc pref->GetRecommendedValue())); pref 232 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc const PrefService::Preference* pref = pref 234 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc ASSERT_TRUE(pref); pref 235 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc EXPECT_FALSE(pref->IsManaged()); pref 236 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc EXPECT_TRUE(pref->IsDefaultValue()); pref 237 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc EXPECT_FALSE(pref->GetRecommendedValue()); pref 92 chrome/browser/chromeos/policy/recommendation_restorer.cc const PrefService::Preference* pref = pref 94 chrome/browser/chromeos/policy/recommendation_restorer.cc if (!pref) { pref 99 chrome/browser/chromeos/policy/recommendation_restorer.cc if (!pref->GetRecommendedValue() || !pref->HasUserSetting()) pref 114 chrome/browser/chromeos/policy/recommendation_restorer.cc pref_change_registrar_.prefs()->ClearPref(pref->name().c_str()); pref 164 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc const PrefServiceSyncable::Preference* pref = pref 166 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc ASSERT_TRUE(pref); pref 167 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc EXPECT_TRUE(pref->HasUserSetting()); pref 168 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc const base::Value* value = pref->GetValue(); pref 191 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc const PrefServiceSyncable::Preference* pref = pref 193 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc ASSERT_TRUE(pref); pref 194 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc EXPECT_TRUE(pref->IsRecommended()); pref 195 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc EXPECT_FALSE(pref->HasUserSetting()); pref 196 chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc const base::Value* value = pref->GetValue(); pref 46 chrome/browser/chromeos/settings/cros_settings_unittest.cc void FetchPref(const std::string& pref) { pref 48 chrome/browser/chromeos/settings/cros_settings_unittest.cc if (expected_props_.find(pref) == expected_props_.end()) pref 54 chrome/browser/chromeos/settings/cros_settings_unittest.cc weak_factory_.GetWeakPtr(), pref))) { pref 56 chrome/browser/chromeos/settings/cros_settings_unittest.cc expected_props_.find(pref)->second); pref 57 chrome/browser/chromeos/settings/cros_settings_unittest.cc const base::Value* pref_value = settings_.GetPref(pref); pref 64 chrome/browser/chromeos/settings/cros_settings_unittest.cc expected_props_.erase(pref); pref 43 chrome/browser/chromeos/settings/stub_cros_settings_provider_unittest.cc const base::Value* pref = provider_->Get(prefName); pref 44 chrome/browser/chromeos/settings/stub_cros_settings_provider_unittest.cc ASSERT_TRUE(pref); pref 45 chrome/browser/chromeos/settings/stub_cros_settings_provider_unittest.cc ASSERT_TRUE(pref->Equals(value)); pref 259 chrome/browser/content_settings/content_settings_policy_provider.cc const PrefService::Preference* pref = prefs_->FindPreference(pref_name); pref 260 chrome/browser/content_settings/content_settings_policy_provider.cc DCHECK(pref); pref 261 chrome/browser/content_settings/content_settings_policy_provider.cc DCHECK(pref->IsManaged()); pref 264 chrome/browser/content_settings/content_settings_policy_provider.cc if (!pref->GetValue()->GetAsList(&pattern_str_list)) { pref 311 chrome/browser/content_settings/content_settings_policy_provider.cc const PrefService::Preference* pref = prefs_->FindPreference(pref_name); pref 312 chrome/browser/content_settings/content_settings_policy_provider.cc DCHECK(pref); pref 313 chrome/browser/content_settings/content_settings_policy_provider.cc DCHECK(pref->IsManaged()); pref 316 chrome/browser/content_settings/content_settings_policy_provider.cc if (!pref->GetValue()->GetAsList(&pattern_filter_str_list)) { pref 1168 chrome/browser/devtools/devtools_adb_bridge.cc const PrefService::Preference* pref = pref 1170 chrome/browser/devtools/devtools_adb_bridge.cc const base::Value* pref_value = pref->GetValue(); pref 158 chrome/browser/extensions/api/font_settings/font_settings_api.cc const PrefService::Preference* pref = registrar_.prefs()->FindPreference( pref 160 chrome/browser/extensions/api/font_settings/font_settings_api.cc CHECK(pref); pref 163 chrome/browser/extensions/api/font_settings/font_settings_api.cc if (!pref->GetValue()->GetAsString(&font_name)) { pref 189 chrome/browser/extensions/api/font_settings/font_settings_api.cc const PrefService::Preference* pref = registrar_.prefs()->FindPreference( pref 191 chrome/browser/extensions/api/font_settings/font_settings_api.cc CHECK(pref); pref 196 chrome/browser/extensions/api/font_settings/font_settings_api.cc dict->Set(key, pref->GetValue()->DeepCopy()); pref 254 chrome/browser/extensions/api/font_settings/font_settings_api.cc const PrefService::Preference* pref = pref 259 chrome/browser/extensions/api/font_settings/font_settings_api.cc pref && pref->GetValue()->GetAsString(&font_name)); pref 359 chrome/browser/extensions/api/font_settings/font_settings_api.cc const PrefService::Preference* pref = prefs->FindPreference(GetPrefName()); pref 360 chrome/browser/extensions/api/font_settings/font_settings_api.cc EXTENSION_FUNCTION_VALIDATE(pref); pref 371 chrome/browser/extensions/api/font_settings/font_settings_api.cc result->Set(GetKey(), pref->GetValue()->DeepCopy()); pref 129 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc void GalleryWatchStateTracker::OnGalleryRemoved(MediaGalleriesPreferences* pref, pref 136 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc RemoveGalleryWatch(it->first, gallery_id, pref); pref 59 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.h virtual void OnPermissionAdded(MediaGalleriesPreferences* pref, pref 63 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.h virtual void OnPermissionRemoved(MediaGalleriesPreferences* pref, pref 67 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.h virtual void OnGalleryRemoved(MediaGalleriesPreferences* pref, pref 304 chrome/browser/extensions/api/preference/preference_api.cc const PrefService::Preference* pref = pref 306 chrome/browser/extensions/api/preference/preference_api.cc CHECK(pref); pref 310 chrome/browser/extensions/api/preference/preference_api.cc transformer->BrowserToExtensionPref(pref->GetValue()); pref 313 chrome/browser/extensions/api/preference/preference_api.cc pref->name()); pref 338 chrome/browser/extensions/api/preference/preference_api.cc const PrefService::Preference* pref = pref 340 chrome/browser/extensions/api/preference/preference_api.cc DCHECK(pref) << "Extension controlled preference key " << pref_key pref 342 chrome/browser/extensions/api/preference/preference_api.cc DCHECK_EQ(pref->GetType(), value->GetType()) pref 551 chrome/browser/extensions/api/preference/preference_api.cc const PrefService::Preference* pref = pref 553 chrome/browser/extensions/api/preference/preference_api.cc CHECK(pref); pref 566 chrome/browser/extensions/api/preference/preference_api.cc transformer->BrowserToExtensionPref(pref->GetValue()); pref 570 chrome/browser/extensions/api/preference/preference_api.cc pref->name()); pref 638 chrome/browser/extensions/api/preference/preference_api.cc const PrefService::Preference* pref = pref 640 chrome/browser/extensions/api/preference/preference_api.cc CHECK(pref); pref 643 chrome/browser/extensions/api/preference/preference_api.cc EXTENSION_FUNCTION_VALIDATE(value->GetType() == pref->GetType()); pref 662 chrome/browser/extensions/api/preference/preference_api.cc pref->name()); pref 33 chrome/browser/extensions/api/preference/preference_apitest.cc const PrefService::Preference* pref = prefs->FindPreference( pref 35 chrome/browser/extensions/api/preference/preference_apitest.cc ASSERT_TRUE(pref); pref 36 chrome/browser/extensions/api/preference/preference_apitest.cc EXPECT_TRUE(pref->IsExtensionControlled()); pref 50 chrome/browser/extensions/api/preference/preference_apitest.cc const PrefService::Preference* pref = prefs->FindPreference( pref 52 chrome/browser/extensions/api/preference/preference_apitest.cc ASSERT_TRUE(pref); pref 53 chrome/browser/extensions/api/preference/preference_apitest.cc EXPECT_FALSE(pref->IsExtensionControlled()); pref 143 chrome/browser/extensions/api/preference/preference_apitest.cc const PrefService::Preference* pref = pref 145 chrome/browser/extensions/api/preference/preference_apitest.cc ASSERT_TRUE(pref); pref 146 chrome/browser/extensions/api/preference/preference_apitest.cc EXPECT_TRUE(pref->IsExtensionControlled()); pref 149 chrome/browser/extensions/api/preference/preference_apitest.cc pref = prefs->FindPreference(prefs::kBlockThirdPartyCookies); pref 150 chrome/browser/extensions/api/preference/preference_apitest.cc ASSERT_TRUE(pref); pref 151 chrome/browser/extensions/api/preference/preference_apitest.cc EXPECT_FALSE(pref->IsExtensionControlled()); pref 171 chrome/browser/extensions/api/preference/preference_apitest.cc const PrefService::Preference* pref = pref 173 chrome/browser/extensions/api/preference/preference_apitest.cc ASSERT_TRUE(pref); pref 174 chrome/browser/extensions/api/preference/preference_apitest.cc EXPECT_TRUE(pref->IsExtensionControlled()); pref 177 chrome/browser/extensions/api/preference/preference_apitest.cc pref = prefs->FindPreference(prefs::kBlockThirdPartyCookies); pref 178 chrome/browser/extensions/api/preference/preference_apitest.cc ASSERT_TRUE(pref); pref 179 chrome/browser/extensions/api/preference/preference_apitest.cc EXPECT_FALSE(pref->IsExtensionControlled()); pref 189 chrome/browser/extensions/api/preference/preference_apitest.cc const PrefService::Preference* pref = prefs->FindPreference( pref 191 chrome/browser/extensions/api/preference/preference_apitest.cc ASSERT_TRUE(pref); pref 192 chrome/browser/extensions/api/preference/preference_apitest.cc EXPECT_FALSE(pref->IsExtensionControlled()); pref 62 chrome/browser/extensions/api/preference/preference_helpers.cc const PrefService::Preference* pref = pref 64 chrome/browser/extensions/api/preference/preference_helpers.cc CHECK(pref); pref 66 chrome/browser/extensions/api/preference/preference_helpers.cc if (!pref->IsExtensionModifiable()) pref 32 chrome/browser/extensions/api/proxy/proxy_apitest.cc const PrefService::Preference* pref = pref 34 chrome/browser/extensions/api/proxy/proxy_apitest.cc ASSERT_TRUE(pref != NULL); pref 35 chrome/browser/extensions/api/proxy/proxy_apitest.cc EXPECT_TRUE(pref->IsExtensionControlled()); pref 67 chrome/browser/extensions/api/proxy/proxy_apitest.cc const PrefService::Preference* pref = pref 69 chrome/browser/extensions/api/proxy/proxy_apitest.cc ASSERT_TRUE(pref != NULL); pref 70 chrome/browser/extensions/api/proxy/proxy_apitest.cc EXPECT_FALSE(pref->IsExtensionControlled()); pref 88 chrome/browser/extensions/error_console/error_console.cc ErrorPreferenceMap::iterator pref = pref_map_.find(extension_id); pref 90 chrome/browser/extensions/error_console/error_console.cc if (pref == pref_map_.end()) { pref 91 chrome/browser/extensions/error_console/error_console.cc pref = pref_map_.insert( pref 95 chrome/browser/extensions/error_console/error_console.cc pref->second = pref 96 chrome/browser/extensions/error_console/error_console.cc enabled ? pref->second | (1 << type) : pref->second &~(1 << type); pref 101 chrome/browser/extensions/error_console/error_console.cc base::Value::CreateIntegerValue(pref->second)); pref 122 chrome/browser/extensions/error_console/error_console.cc ErrorPreferenceMap::const_iterator pref = pref 126 chrome/browser/extensions/error_console/error_console.cc if ((pref == pref_map_.end() && pref 128 chrome/browser/extensions/error_console/error_console.cc (pref != pref_map_.end() && (pref->second & (1 << error->type())) == 0)) { pref 376 chrome/browser/extensions/extension_service_unittest.cc base::DictionaryValue* pref; pref 380 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(prefs_->GetDictionary(id, &pref)) pref 387 chrome/browser/extensions/extension_service_unittest.cc if (pref) { pref 418 chrome/browser/extensions/extension_service_unittest.cc base::DictionaryValue* pref; pref 422 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(prefs_->GetDictionary(id, &pref)) pref 426 chrome/browser/extensions/extension_service_unittest.cc if (pref) { pref 437 chrome/browser/extensions/extension_service_unittest.cc pref->GetString("install_parameter", &parsed_install_parameter); pref 1093 chrome/browser/extensions/extension_service_unittest.cc const base::DictionaryValue* pref = NULL; pref 1094 chrome/browser/extensions/extension_service_unittest.cc if (!dict->GetDictionary(extension_id, &pref)) { pref 1100 chrome/browser/extensions/extension_service_unittest.cc if (!pref->GetBoolean(pref_path, &val)) { pref 1115 chrome/browser/extensions/extension_service_unittest.cc const base::DictionaryValue* pref = NULL; pref 1116 chrome/browser/extensions/extension_service_unittest.cc if (!dict->GetDictionary(extension_id, &pref)) { pref 1119 chrome/browser/extensions/extension_service_unittest.cc if (pref == NULL) { pref 1123 chrome/browser/extensions/extension_service_unittest.cc if (!pref->GetBoolean(pref_path, &val)) { pref 1143 chrome/browser/extensions/extension_service_unittest.cc const base::DictionaryValue* pref = NULL; pref 1144 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(dict->GetDictionary(extension_id, &pref)) << msg; pref 1145 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(pref != NULL) << msg; pref 1147 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(pref->GetInteger(pref_path, &val)) << msg; pref 1164 chrome/browser/extensions/extension_service_unittest.cc const base::DictionaryValue* pref = NULL; pref 1166 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(dict->GetDictionary(manifest_path, &pref)) << msg; pref 1167 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(pref != NULL) << msg; pref 1169 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(pref->GetString(pref_path, &val)) << msg; pref 1180 chrome/browser/extensions/extension_service_unittest.cc base::DictionaryValue* pref = NULL; pref 1181 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(dict->GetDictionary(extension_id, &pref)) << msg; pref 1182 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(pref != NULL) << msg; pref 1183 chrome/browser/extensions/extension_service_unittest.cc pref->Set(pref_path, value); pref 1218 chrome/browser/extensions/extension_service_unittest.cc base::DictionaryValue* pref = NULL; pref 1219 chrome/browser/extensions/extension_service_unittest.cc ASSERT_TRUE(dict->GetDictionary(extension_id, &pref)) << msg; pref 1220 chrome/browser/extensions/extension_service_unittest.cc EXPECT_TRUE(pref != NULL) << msg; pref 1221 chrome/browser/extensions/extension_service_unittest.cc pref->Remove(pref_path, NULL); pref 200 chrome/browser/extensions/install_verifier.cc const base::DictionaryValue* pref = prefs_->GetInstallSignature(); pref 201 chrome/browser/extensions/install_verifier.cc if (pref) { pref 203 chrome/browser/extensions/install_verifier.cc InstallSignature::FromValue(*pref); pref 559 chrome/browser/extensions/install_verifier.cc base::DictionaryValue pref; pref 560 chrome/browser/extensions/install_verifier.cc signature_->ToValue(&pref); pref 566 chrome/browser/extensions/install_verifier.cc InstallSignature::FromValue(pref); pref 569 chrome/browser/extensions/install_verifier.cc prefs_->SetInstallSignature(&pref); pref 218 chrome/browser/external_protocol/external_protocol_handler.cc PrefService* pref = g_browser_process->local_state(); pref 219 chrome/browser/external_protocol/external_protocol_handler.cc if (pref) { // May be NULL during testing. pref 220 chrome/browser/external_protocol/external_protocol_handler.cc DictionaryPrefUpdate update_excluded_schemas(pref, prefs::kExcludedSchemes); pref 239 chrome/browser/external_protocol/external_protocol_handler.cc PrefService* pref = g_browser_process->local_state(); pref 240 chrome/browser/external_protocol/external_protocol_handler.cc if (pref) { // May be NULL during testing. pref 241 chrome/browser/external_protocol/external_protocol_handler.cc DictionaryPrefUpdate update_excluded_schemas(pref, prefs::kExcludedSchemes); pref 104 chrome/browser/importer/profile_writer.cc const PrefService::Preference* pref = prefs->FindPreference(prefs::kHomePage); pref 105 chrome/browser/importer/profile_writer.cc if (pref && !pref->IsManaged()) { pref 118 chrome/browser/managed_mode/supervised_user_pref_store.cc for (std::vector<std::string>::const_iterator pref(changed_prefs.begin()); pref 119 chrome/browser/managed_mode/supervised_user_pref_store.cc pref != changed_prefs.end(); pref 120 chrome/browser/managed_mode/supervised_user_pref_store.cc ++pref) { pref 121 chrome/browser/managed_mode/supervised_user_pref_store.cc FOR_EACH_OBSERVER(Observer, observers_, OnPrefValueChanged(*pref)); pref 116 chrome/browser/media_galleries/media_file_system_registry.h virtual void OnPermissionRemoved(MediaGalleriesPreferences* pref, pref 119 chrome/browser/media_galleries/media_file_system_registry.h virtual void OnGalleryRemoved(MediaGalleriesPreferences* pref, pref 147 chrome/browser/media_galleries/media_galleries_dialog_controller.h virtual void OnPermissionAdded(MediaGalleriesPreferences* pref, pref 150 chrome/browser/media_galleries/media_galleries_dialog_controller.h virtual void OnPermissionRemoved(MediaGalleriesPreferences* pref, pref 153 chrome/browser/media_galleries/media_galleries_dialog_controller.h virtual void OnGalleryAdded(MediaGalleriesPreferences* pref, pref 155 chrome/browser/media_galleries/media_galleries_dialog_controller.h virtual void OnGalleryRemoved(MediaGalleriesPreferences* pref, pref 157 chrome/browser/media_galleries/media_galleries_dialog_controller.h virtual void OnGalleryInfoUpdated(MediaGalleriesPreferences* pref, pref 143 chrome/browser/media_galleries/media_galleries_preferences.h virtual void OnPermissionAdded(MediaGalleriesPreferences* pref, pref 147 chrome/browser/media_galleries/media_galleries_preferences.h virtual void OnPermissionRemoved(MediaGalleriesPreferences* pref, pref 151 chrome/browser/media_galleries/media_galleries_preferences.h virtual void OnGalleryAdded(MediaGalleriesPreferences* pref, pref 154 chrome/browser/media_galleries/media_galleries_preferences.h virtual void OnGalleryRemoved(MediaGalleriesPreferences* pref, pref 157 chrome/browser/media_galleries/media_galleries_preferences.h virtual void OnGalleryInfoUpdated(MediaGalleriesPreferences* pref, pref 48 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc explicit MockGalleryChangeObserver(MediaGalleriesPreferences* pref) pref 49 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc : pref_(pref), pref 57 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc virtual void OnPermissionAdded(MediaGalleriesPreferences* pref, pref 60 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc EXPECT_EQ(pref_, pref); pref 64 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc virtual void OnPermissionRemoved(MediaGalleriesPreferences* pref, pref 67 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc EXPECT_EQ(pref_, pref); pref 71 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc virtual void OnGalleryAdded(MediaGalleriesPreferences* pref, pref 73 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc EXPECT_EQ(pref_, pref); pref 77 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc virtual void OnGalleryRemoved(MediaGalleriesPreferences* pref, pref 79 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc EXPECT_EQ(pref_, pref); pref 83 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc virtual void OnGalleryInfoUpdated(MediaGalleriesPreferences* pref, pref 85 chrome/browser/media_galleries/media_galleries_preferences_unittest.cc EXPECT_EQ(pref_, pref); pref 154 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h virtual void OnPermissionAdded(MediaGalleriesPreferences* pref, pref 157 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h virtual void OnPermissionRemoved(MediaGalleriesPreferences* pref, pref 160 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h virtual void OnGalleryAdded(MediaGalleriesPreferences* pref, pref 162 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h virtual void OnGalleryRemoved(MediaGalleriesPreferences* pref, pref 164 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h virtual void OnGalleryInfoUpdated(MediaGalleriesPreferences* pref, pref 81 chrome/browser/metrics/metrics_log.cc std::string GetMetricsEnabledDate(PrefService* pref) { pref 82 chrome/browser/metrics/metrics_log.cc if (!pref) { pref 87 chrome/browser/metrics/metrics_log.cc return pref->GetString(prefs::kMetricsReportingEnabledTimestamp); pref 432 chrome/browser/metrics/metrics_log.cc PrefService* pref = GetPrefService(); pref 433 chrome/browser/metrics/metrics_log.cc DCHECK(pref); pref 439 chrome/browser/metrics/metrics_log.cc WriteRequiredStabilityAttributes(pref); pref 440 chrome/browser/metrics/metrics_log.cc WritePluginStabilityElements(pref); pref 446 chrome/browser/metrics/metrics_log.cc WriteRealtimeStabilityAttributes(pref, incremental_uptime, uptime); pref 453 chrome/browser/metrics/metrics_log.cc pref->GetInteger(prefs::kStabilityIncompleteSessionEndCount); pref 454 chrome/browser/metrics/metrics_log.cc pref->SetInteger(prefs::kStabilityIncompleteSessionEndCount, 0); pref 456 chrome/browser/metrics/metrics_log.cc pref->GetInteger(prefs::kStabilityBreakpadRegistrationSuccess); pref 457 chrome/browser/metrics/metrics_log.cc pref->SetInteger(prefs::kStabilityBreakpadRegistrationSuccess, 0); pref 459 chrome/browser/metrics/metrics_log.cc pref->GetInteger(prefs::kStabilityBreakpadRegistrationFail); pref 460 chrome/browser/metrics/metrics_log.cc pref->SetInteger(prefs::kStabilityBreakpadRegistrationFail, 0); pref 462 chrome/browser/metrics/metrics_log.cc pref->GetInteger(prefs::kStabilityDebuggerPresent); pref 463 chrome/browser/metrics/metrics_log.cc pref->SetInteger(prefs::kStabilityDebuggerPresent, 0); pref 465 chrome/browser/metrics/metrics_log.cc pref->GetInteger(prefs::kStabilityDebuggerNotPresent); pref 466 chrome/browser/metrics/metrics_log.cc pref->SetInteger(prefs::kStabilityDebuggerNotPresent, 0); pref 512 chrome/browser/metrics/metrics_log.cc void MetricsLog::WritePluginStabilityElements(PrefService* pref) { pref 514 chrome/browser/metrics/metrics_log.cc const base::ListValue* plugin_stats_list = pref->GetList( pref 579 chrome/browser/metrics/metrics_log.cc pref->ClearPref(prefs::kStabilityPluginStats); pref 586 chrome/browser/metrics/metrics_log.cc void MetricsLog::WriteRequiredStabilityAttributes(PrefService* pref) { pref 587 chrome/browser/metrics/metrics_log.cc int launch_count = pref->GetInteger(prefs::kStabilityLaunchCount); pref 588 chrome/browser/metrics/metrics_log.cc pref->SetInteger(prefs::kStabilityLaunchCount, 0); pref 589 chrome/browser/metrics/metrics_log.cc int crash_count = pref->GetInteger(prefs::kStabilityCrashCount); pref 590 chrome/browser/metrics/metrics_log.cc pref->SetInteger(prefs::kStabilityCrashCount, 0); pref 599 chrome/browser/metrics/metrics_log.cc PrefService* pref, pref 608 chrome/browser/metrics/metrics_log.cc int count = pref->GetInteger(prefs::kStabilityPageLoadCount); pref 611 chrome/browser/metrics/metrics_log.cc pref->SetInteger(prefs::kStabilityPageLoadCount, 0); pref 614 chrome/browser/metrics/metrics_log.cc count = pref->GetInteger(prefs::kStabilityRendererCrashCount); pref 617 chrome/browser/metrics/metrics_log.cc pref->SetInteger(prefs::kStabilityRendererCrashCount, 0); pref 620 chrome/browser/metrics/metrics_log.cc count = pref->GetInteger(prefs::kStabilityExtensionRendererCrashCount); pref 623 chrome/browser/metrics/metrics_log.cc pref->SetInteger(prefs::kStabilityExtensionRendererCrashCount, 0); pref 626 chrome/browser/metrics/metrics_log.cc count = pref->GetInteger(prefs::kStabilityRendererHangCount); pref 629 chrome/browser/metrics/metrics_log.cc pref->SetInteger(prefs::kStabilityRendererHangCount, 0); pref 632 chrome/browser/metrics/metrics_log.cc count = pref->GetInteger(prefs::kStabilityChildProcessCrashCount); pref 635 chrome/browser/metrics/metrics_log.cc pref->SetInteger(prefs::kStabilityChildProcessCrashCount, 0); pref 639 chrome/browser/metrics/metrics_log.cc metrics_log_chromeos_->WriteRealtimeStabilityAttributes(pref); pref 163 chrome/browser/metrics/metrics_log.h void WritePluginStabilityElements(PrefService* pref); pref 166 chrome/browser/metrics/metrics_log.h void WriteRequiredStabilityAttributes(PrefService* pref); pref 172 chrome/browser/metrics/metrics_log.h void WriteRealtimeStabilityAttributes(PrefService* pref, pref 106 chrome/browser/metrics/metrics_log_chromeos.cc void MetricsLogChromeOS::WriteRealtimeStabilityAttributes(PrefService* pref) { pref 110 chrome/browser/metrics/metrics_log_chromeos.cc int count = pref->GetInteger(prefs::kStabilityOtherUserCrashCount); pref 113 chrome/browser/metrics/metrics_log_chromeos.cc pref->SetInteger(prefs::kStabilityOtherUserCrashCount, 0); pref 116 chrome/browser/metrics/metrics_log_chromeos.cc count = pref->GetInteger(prefs::kStabilityKernelCrashCount); pref 119 chrome/browser/metrics/metrics_log_chromeos.cc pref->SetInteger(prefs::kStabilityKernelCrashCount, 0); pref 122 chrome/browser/metrics/metrics_log_chromeos.cc count = pref->GetInteger(prefs::kStabilitySystemUncleanShutdownCount); pref 125 chrome/browser/metrics/metrics_log_chromeos.cc pref->SetInteger(prefs::kStabilitySystemUncleanShutdownCount, 0); pref 33 chrome/browser/metrics/metrics_log_chromeos.h void WriteRealtimeStabilityAttributes(PrefService* pref); pref 62 chrome/browser/metrics/metrics_log_serializer.cc const char* pref = NULL; pref 66 chrome/browser/metrics/metrics_log_serializer.cc pref = prefs::kMetricsInitialLogs; pref 70 chrome/browser/metrics/metrics_log_serializer.cc pref = prefs::kMetricsOngoingLogs; pref 78 chrome/browser/metrics/metrics_log_serializer.cc ListPrefUpdate update(local_state, pref); pref 90 chrome/browser/metrics/metrics_log_serializer.cc const char* pref; pref 92 chrome/browser/metrics/metrics_log_serializer.cc pref = prefs::kMetricsInitialLogs; pref 94 chrome/browser/metrics/metrics_log_serializer.cc pref = prefs::kMetricsOngoingLogs; pref 96 chrome/browser/metrics/metrics_log_serializer.cc const base::ListValue* unsent_logs = local_state->GetList(pref); pref 346 chrome/browser/metrics/metrics_service.cc PrefService* pref = g_browser_process->local_state(); pref 347 chrome/browser/metrics/metrics_service.cc pref->SetBoolean(prefs::kStabilityExitedCleanly, true); pref 348 chrome/browser/metrics/metrics_service.cc pref->SetInteger(prefs::kStabilityExecutionPhase, pref 351 chrome/browser/metrics/metrics_service.cc pref->CommitPendingWrite(); pref 646 chrome/browser/metrics/metrics_service.cc PrefService* pref = g_browser_process->local_state(); pref 647 chrome/browser/metrics/metrics_service.cc client_id_ = pref->GetString(prefs::kMetricsClientID); pref 652 chrome/browser/metrics/metrics_service.cc pref->SetString(prefs::kMetricsClientID, client_id_); pref 654 chrome/browser/metrics/metrics_service.cc if (pref->GetString(prefs::kMetricsOldClientID).empty()) { pref 656 chrome/browser/metrics/metrics_service.cc pref->SetInt64(prefs::kMetricsReportingEnabledTimestamp, pref 661 chrome/browser/metrics/metrics_service.cc pref->ClearPref(prefs::kMetricsOldClientID); pref 863 chrome/browser/metrics/metrics_service.cc PrefService* pref = g_browser_process->local_state(); pref 864 chrome/browser/metrics/metrics_service.cc pref->SetBoolean(prefs::kStabilityExitedCleanly, false); pref 870 chrome/browser/metrics/metrics_service.cc PrefService* pref = g_browser_process->local_state(); pref 871 chrome/browser/metrics/metrics_service.cc pref->SetBoolean(prefs::kStabilityExitedCleanly, false); pref 880 chrome/browser/metrics/metrics_service.cc PrefService* pref = g_browser_process->local_state(); pref 881 chrome/browser/metrics/metrics_service.cc pref->SetInteger(prefs::kStabilityExecutionPhase, execution_phase_); pref 968 chrome/browser/metrics/metrics_service.cc PrefService* pref = g_browser_process->local_state(); pref 969 chrome/browser/metrics/metrics_service.cc DCHECK(pref); pref 973 chrome/browser/metrics/metrics_service.cc if ((pref->GetInt64(prefs::kStabilityStatsBuildTime) pref 975 chrome/browser/metrics/metrics_service.cc (pref->GetString(prefs::kStabilityStatsVersion) pref 979 chrome/browser/metrics/metrics_service.cc DiscardOldStabilityStats(pref); pref 980 chrome/browser/metrics/metrics_service.cc pref->SetString(prefs::kStabilityStatsVersion, pref 982 chrome/browser/metrics/metrics_service.cc pref->SetInt64(prefs::kStabilityStatsBuildTime, pref 986 chrome/browser/metrics/metrics_service.cc session_id_ = pref->GetInteger(prefs::kMetricsSessionID); pref 989 chrome/browser/metrics/metrics_service.cc LogAndroidStabilityToPrefs(pref); pref 992 chrome/browser/metrics/metrics_service.cc if (!pref->GetBoolean(prefs::kStabilityExitedCleanly)) { pref 996 chrome/browser/metrics/metrics_service.cc pref->SetBoolean(prefs::kStabilityExitedCleanly, true); pref 1000 chrome/browser/metrics/metrics_service.cc int execution_phase = pref->GetInteger(prefs::kStabilityExecutionPhase); pref 1013 chrome/browser/metrics/metrics_service.cc pref->SetInteger(prefs::kMetricsSessionID, session_id_); pref 1025 chrome/browser/metrics/metrics_service.cc if (!pref->GetBoolean(prefs::kStabilitySessionEndCompleted)) { pref 1028 chrome/browser/metrics/metrics_service.cc pref->SetBoolean(prefs::kStabilitySessionEndCompleted, true); pref 1035 chrome/browser/metrics/metrics_service.cc GetUptimes(pref, &startup_uptime, &ignored_uptime_parameter); pref 1040 chrome/browser/metrics/metrics_service.cc pref->SetInt64(prefs::kStabilityLaunchTimeSec, Time::Now().ToTimeT()); pref 1181 chrome/browser/metrics/metrics_service.cc void MetricsService::GetUptimes(PrefService* pref, pref 1197 chrome/browser/metrics/metrics_service.cc int64 metrics_uptime = pref->GetInt64(prefs::kUninstallMetricsUptimeSec); pref 1199 chrome/browser/metrics/metrics_service.cc pref->SetInt64(prefs::kUninstallMetricsUptimeSec, metrics_uptime); pref 1274 chrome/browser/metrics/metrics_service.cc PrefService* pref = g_browser_process->local_state(); pref 1275 chrome/browser/metrics/metrics_service.cc if (!pref) { pref 1280 chrome/browser/metrics/metrics_service.cc RecordCurrentState(pref); pref 1340 chrome/browser/metrics/metrics_service.cc PrefService* pref = g_browser_process->local_state(); pref 1343 chrome/browser/metrics/metrics_service.cc GetUptimes(pref, &incremental_uptime, &uptime); pref 1593 chrome/browser/metrics/metrics_service.cc PrefService* pref = g_browser_process->local_state(); pref 1594 chrome/browser/metrics/metrics_service.cc DCHECK_NE(0, pref->GetInteger(prefs::kStabilityCrashCount)); pref 1608 chrome/browser/metrics/metrics_service.cc ConvertAndroidStabilityPrefsToHistograms(pref); pref 1629 chrome/browser/metrics/metrics_service.cc PrefService* pref = g_browser_process->local_state(); pref 1632 chrome/browser/metrics/metrics_service.cc GetUptimes(pref, &incremental_uptime, &uptime); pref 1641 chrome/browser/metrics/metrics_service.cc ConvertAndroidStabilityPrefsToHistograms(pref); pref 1816 chrome/browser/metrics/metrics_service.cc PrefService* pref = g_browser_process->local_state(); pref 1817 chrome/browser/metrics/metrics_service.cc DCHECK(pref); pref 1818 chrome/browser/metrics/metrics_service.cc int value = pref->GetInteger(path); pref 1819 chrome/browser/metrics/metrics_service.cc pref->SetInteger(path, value + 1); pref 1823 chrome/browser/metrics/metrics_service.cc PrefService* pref = g_browser_process->local_state(); pref 1824 chrome/browser/metrics/metrics_service.cc DCHECK(pref); pref 1825 chrome/browser/metrics/metrics_service.cc int64 value = pref->GetInt64(path); pref 1826 chrome/browser/metrics/metrics_service.cc pref->SetInt64(path, value + 1); pref 1932 chrome/browser/metrics/metrics_service.cc PrefService* pref = g_browser_process->local_state(); pref 1933 chrome/browser/metrics/metrics_service.cc pref->SetInteger(prefs::kStabilityExecutionPhase, pref 1981 chrome/browser/metrics/metrics_service.cc void MetricsService::RecordPluginChanges(PrefService* pref) { pref 1982 chrome/browser/metrics/metrics_service.cc ListPrefUpdate update(pref, prefs::kStabilityPluginStats); pref 2080 chrome/browser/metrics/metrics_service.cc PrefService* pref = g_browser_process->local_state(); pref 2081 chrome/browser/metrics/metrics_service.cc DCHECK(pref); pref 2083 chrome/browser/metrics/metrics_service.cc pref->SetBoolean(path, value); pref 2084 chrome/browser/metrics/metrics_service.cc RecordCurrentState(pref); pref 2087 chrome/browser/metrics/metrics_service.cc void MetricsService::RecordCurrentState(PrefService* pref) { pref 2088 chrome/browser/metrics/metrics_service.cc pref->SetInt64(prefs::kStabilityLastTimestampSec, Time::Now().ToTimeT()); pref 2090 chrome/browser/metrics/metrics_service.cc RecordPluginChanges(pref); pref 226 chrome/browser/metrics/metrics_service.h void LogAndroidStabilityToPrefs(PrefService* pref); pref 229 chrome/browser/metrics/metrics_service.h void ConvertAndroidStabilityPrefsToHistograms(PrefService* pref); pref 232 chrome/browser/metrics/metrics_service.h void OnForegroundActivityChanged(PrefService* pref, pref 367 chrome/browser/metrics/metrics_service.h void GetUptimes(PrefService* pref, pref 501 chrome/browser/metrics/metrics_service.h void RecordPluginChanges(PrefService* pref); pref 505 chrome/browser/metrics/metrics_service.h void RecordCurrentState(PrefService* pref); pref 43 chrome/browser/metrics/metrics_service_android.cc void MetricsService::LogAndroidStabilityToPrefs(PrefService* pref) { pref 48 chrome/browser/metrics/metrics_service_android.cc int launched = pref->GetInteger(prefs::kStabilityLaunchedActivityFlags); pref 49 chrome/browser/metrics/metrics_service_android.cc ListPrefUpdate update_launches(pref, prefs::kStabilityLaunchedActivityCounts); pref 57 chrome/browser/metrics/metrics_service_android.cc pref->SetInteger(prefs::kStabilityLaunchedActivityFlags, 0); pref 62 chrome/browser/metrics/metrics_service_android.cc int foreground = pref->GetInteger(prefs::kStabilityForegroundActivityType); pref 64 chrome/browser/metrics/metrics_service_android.cc ListPrefUpdate update_crashes(pref, prefs::kStabilityCrashedActivityCounts); pref 67 chrome/browser/metrics/metrics_service_android.cc pref->SetInteger(prefs::kStabilityForegroundActivityType, pref 71 chrome/browser/metrics/metrics_service_android.cc pref->CommitPendingWrite(); pref 75 chrome/browser/metrics/metrics_service_android.cc PrefService* pref) { pref 76 chrome/browser/metrics/metrics_service_android.cc ListPrefUpdate launch_updater(pref, prefs::kStabilityLaunchedActivityCounts); pref 77 chrome/browser/metrics/metrics_service_android.cc ListPrefUpdate crash_updater(pref, prefs::kStabilityCrashedActivityCounts); pref 109 chrome/browser/metrics/metrics_service_android.cc void MetricsService::OnForegroundActivityChanged(PrefService* pref, pref 113 chrome/browser/metrics/metrics_service_android.cc int activity_type = pref->GetInteger(prefs::kStabilityForegroundActivityType); pref 118 chrome/browser/metrics/metrics_service_android.cc pref->SetInteger(prefs::kStabilityForegroundActivityType, type); pref 123 chrome/browser/metrics/metrics_service_android.cc int launched = pref->GetInteger(prefs::kStabilityLaunchedActivityFlags); pref 126 chrome/browser/metrics/metrics_service_android.cc pref->SetInteger(prefs::kStabilityLaunchedActivityFlags, launched); pref 129 chrome/browser/metrics/metrics_service_android.cc pref->CommitPendingWrite(); pref 231 chrome/browser/net/pref_proxy_config_tracker_impl.cc const PrefService::Preference* pref = pref 233 chrome/browser/net/pref_proxy_config_tracker_impl.cc DCHECK(pref); pref 241 chrome/browser/net/pref_proxy_config_tracker_impl.cc if (!pref->IsUserModifiable() || pref->HasUserSetting()) { pref 242 chrome/browser/net/pref_proxy_config_tracker_impl.cc if (pref->IsManaged()) pref 244 chrome/browser/net/pref_proxy_config_tracker_impl.cc else if (pref->IsExtensionControlled()) pref 204 chrome/browser/net/spdyproxy/data_saving_metrics.cc const char* pref, pref 206 chrome/browser/net/spdyproxy/data_saving_metrics.cc : update_(pref_service, pref) { pref 128 chrome/browser/net/spdyproxy/data_saving_metrics_unittest.cc void CreatePrefList(const char* pref) { pref 129 chrome/browser/net/spdyproxy/data_saving_metrics_unittest.cc ListPrefUpdate update(&pref_service_, pref); pref 139 chrome/browser/net/spdyproxy/data_saving_metrics_unittest.cc void VerifyPrefList(const char* pref, const int64* values, size_t count) { pref 141 chrome/browser/net/spdyproxy/data_saving_metrics_unittest.cc ListPrefUpdate update(&pref_service_, pref); pref 142 chrome/browser/net/spdyproxy/data_saving_metrics_unittest.cc ASSERT_EQ(kNumDaysInHistory, update->GetSize()) << "Pref: " << pref; pref 494 chrome/browser/notifications/desktop_notifications_unittest.cc BalloonCollection::PositionPreference pref; pref 495 chrome/browser/notifications/desktop_notifications_unittest.cc for (pref = BalloonCollection::UPPER_RIGHT; pref 496 chrome/browser/notifications/desktop_notifications_unittest.cc pref <= BalloonCollection::LOWER_LEFT; pref 497 chrome/browser/notifications/desktop_notifications_unittest.cc pref = static_cast<BalloonCollection::PositionPreference>(pref + 1)) { pref 341 chrome/browser/performance_monitor/performance_monitor_browsertest.cc SessionStartupPref pref(SessionStartupPref::LAST); pref 342 chrome/browser/performance_monitor/performance_monitor_browsertest.cc SessionStartupPref::SetStartupPref(browser()->profile(), pref); pref 87 chrome/browser/policy/policy_prefs_browsertest.cc PrefMapping(const std::string& pref, pref 93 chrome/browser/policy/policy_prefs_browsertest.cc : pref_(pref), pref 289 chrome/browser/policy/policy_prefs_browsertest.cc std::string pref; pref 291 chrome/browser/policy/policy_prefs_browsertest.cc !pref_mapping_dict->GetString("pref", &pref)) { pref 309 chrome/browser/policy/policy_prefs_browsertest.cc PrefMapping* pref_mapping = new PrefMapping(pref, pref 539 chrome/browser/policy/policy_prefs_browsertest.cc if (StartsWithASCII((*pref_mapping)->pref(), kCrosSettingsPrefix, true)) pref 550 chrome/browser/policy/policy_prefs_browsertest.cc const PrefService::Preference* pref = pref 551 chrome/browser/policy/policy_prefs_browsertest.cc prefs->FindPreference((*pref_mapping)->pref().c_str()); pref 552 chrome/browser/policy/policy_prefs_browsertest.cc ASSERT_TRUE(pref); pref 556 chrome/browser/policy/policy_prefs_browsertest.cc prefs->ClearPref((*pref_mapping)->pref().c_str()); pref 557 chrome/browser/policy/policy_prefs_browsertest.cc EXPECT_TRUE(pref->IsDefaultValue()); pref 558 chrome/browser/policy/policy_prefs_browsertest.cc EXPECT_TRUE(pref->IsUserModifiable()); pref 559 chrome/browser/policy/policy_prefs_browsertest.cc EXPECT_FALSE(pref->IsUserControlled()); pref 560 chrome/browser/policy/policy_prefs_browsertest.cc EXPECT_FALSE(pref->IsManaged()); pref 563 chrome/browser/policy/policy_prefs_browsertest.cc EXPECT_FALSE(pref->IsDefaultValue()); pref 564 chrome/browser/policy/policy_prefs_browsertest.cc EXPECT_FALSE(pref->IsUserModifiable()); pref 565 chrome/browser/policy/policy_prefs_browsertest.cc EXPECT_FALSE(pref->IsUserControlled()); pref 566 chrome/browser/policy/policy_prefs_browsertest.cc EXPECT_TRUE(pref->IsManaged()); pref 647 chrome/browser/policy/policy_prefs_browsertest.cc indicator_selector = "[pref=\"" + (*pref_mapping)->pref() + "\"]"; pref 679 chrome/browser/policy/policy_prefs_browsertest.cc const PrefService::Preference* pref = pref 680 chrome/browser/policy/policy_prefs_browsertest.cc prefs->FindPreference((*pref_mapping)->pref().c_str()); pref 681 chrome/browser/policy/policy_prefs_browsertest.cc ASSERT_TRUE(pref); pref 695 chrome/browser/policy/policy_prefs_browsertest.cc prefs->Set((*pref_mapping)->pref().c_str(), *pref->GetValue()); pref 700 chrome/browser/policy/policy_prefs_browsertest.cc prefs->ClearPref((*pref_mapping)->pref().c_str()); pref 551 chrome/browser/prefs/browser_prefs.cc const PrefService::Preference* pref = pref 553 chrome/browser/prefs/browser_prefs.cc DCHECK(pref); pref 555 chrome/browser/prefs/browser_prefs.cc *(pref->GetValue())); pref 37 chrome/browser/prefs/chrome_pref_service_unittest.cc const PrefService::Preference* pref = pref 39 chrome/browser/prefs/chrome_pref_service_unittest.cc ASSERT_TRUE(pref); pref 40 chrome/browser/prefs/chrome_pref_service_unittest.cc const base::Value* value = pref->GetValue(); pref 53 chrome/browser/prefs/chrome_pref_service_unittest.cc pref = prefs.FindPreference(prefs::kCloudPrintProxyEnabled); pref 54 chrome/browser/prefs/chrome_pref_service_unittest.cc ASSERT_TRUE(pref); pref 55 chrome/browser/prefs/chrome_pref_service_unittest.cc value = pref->GetValue(); pref 208 chrome/browser/prefs/pref_functional_browsertest.cc const PrefService::Preference* pref = pref 210 chrome/browser/prefs/pref_functional_browsertest.cc if (pref && !pref->IsManaged()) { pref 162 chrome/browser/prefs/pref_metrics_service.cc const PrefService::Preference* pref = prefs->FindPreference(path.c_str()); pref 163 chrome/browser/prefs/pref_metrics_service.cc DCHECK(pref); pref 167 chrome/browser/prefs/pref_metrics_service.cc callback.Run(histogram_name, pref->GetValue()); pref 29 chrome/browser/prefs/pref_model_associator.cc const sync_pb::PreferenceSpecifics& GetSpecifics(const syncer::SyncData& pref) { pref 30 chrome/browser/prefs/pref_model_associator.cc DCHECK(pref.GetDataType() == syncer::PREFERENCES || pref 31 chrome/browser/prefs/pref_model_associator.cc pref.GetDataType() == syncer::PRIORITY_PREFERENCES); pref 32 chrome/browser/prefs/pref_model_associator.cc if (pref.GetDataType() == syncer::PRIORITY_PREFERENCES) { pref 33 chrome/browser/prefs/pref_model_associator.cc return pref.GetSpecifics().priority_preference().preference(); pref 35 chrome/browser/prefs/pref_model_associator.cc return pref.GetSpecifics().preference(); pref 445 chrome/browser/prefs/pref_model_associator.cc const PrefService::Preference* pref = pref 447 chrome/browser/prefs/pref_model_associator.cc DCHECK(pref); pref 448 chrome/browser/prefs/pref_model_associator.cc if (!pref->IsUserControlled() || pref->IsDefaultValue()) pref 452 chrome/browser/prefs/pref_model_associator.cc if (!CreatePrefSyncData(name, *pref->GetValue(), &sync_data)) pref 509 chrome/browser/prefs/pref_model_associator.cc const PrefService::Preference* pref = pref 511 chrome/browser/prefs/pref_model_associator.cc DCHECK(pref); pref 38 chrome/browser/prefs/pref_model_associator_unittest.cc const PrefService::Preference* pref = pref 40 chrome/browser/prefs/pref_model_associator_unittest.cc ASSERT_TRUE(pref); pref 41 chrome/browser/prefs/pref_model_associator_unittest.cc base::Value::Type type = pref->GetType(); pref 78 chrome/browser/prefs/pref_model_associator_unittest.cc const PrefService::Preference* pref = pref 83 chrome/browser/prefs/pref_model_associator_unittest.cc PrefModelAssociator::MergePreference(pref->name(), pref 84 chrome/browser/prefs/pref_model_associator_unittest.cc *pref->GetValue(), pref 91 chrome/browser/prefs/pref_model_associator_unittest.cc const PrefService::Preference* pref = pref 94 chrome/browser/prefs/pref_model_associator_unittest.cc PrefModelAssociator::MergePreference(pref->name(), pref 95 chrome/browser/prefs/pref_model_associator_unittest.cc *pref->GetValue(), pref 108 chrome/browser/prefs/pref_model_associator_unittest.cc const PrefService::Preference* pref = pref 111 chrome/browser/prefs/pref_model_associator_unittest.cc PrefModelAssociator::MergePreference(pref->name(), pref 112 chrome/browser/prefs/pref_model_associator_unittest.cc *pref->GetValue(), pref 127 chrome/browser/prefs/pref_model_associator_unittest.cc const PrefService::Preference* pref = pref 130 chrome/browser/prefs/pref_model_associator_unittest.cc PrefModelAssociator::MergePreference(pref->name(), pref 131 chrome/browser/prefs/pref_model_associator_unittest.cc *pref->GetValue(), pref 146 chrome/browser/prefs/pref_model_associator_unittest.cc const PrefService::Preference* pref = pref 149 chrome/browser/prefs/pref_model_associator_unittest.cc PrefModelAssociator::MergePreference(pref->name(), pref 150 chrome/browser/prefs/pref_model_associator_unittest.cc *pref->GetValue(), pref 170 chrome/browser/prefs/pref_model_associator_unittest.cc const PrefService::Preference* pref = pref 173 chrome/browser/prefs/pref_model_associator_unittest.cc PrefModelAssociator::MergePreference(pref->name(), pref 174 chrome/browser/prefs/pref_model_associator_unittest.cc *pref->GetValue(), pref 193 chrome/browser/prefs/pref_model_associator_unittest.cc const PrefService::Preference* pref = pref 196 chrome/browser/prefs/pref_model_associator_unittest.cc PrefModelAssociator::MergePreference(pref->name(), pref 197 chrome/browser/prefs/pref_model_associator_unittest.cc *pref->GetValue(), pref 228 chrome/browser/prefs/pref_model_associator_unittest.cc const PrefService::Preference* pref = pref 231 chrome/browser/prefs/pref_model_associator_unittest.cc PrefModelAssociator::MergePreference(pref->name(), pref 232 chrome/browser/prefs/pref_model_associator_unittest.cc *pref->GetValue(), pref 246 chrome/browser/prefs/pref_model_associator_unittest.cc const PrefService::Preference* pref = pref 249 chrome/browser/prefs/pref_model_associator_unittest.cc PrefModelAssociator::MergePreference(pref->name(), pref 250 chrome/browser/prefs/pref_model_associator_unittest.cc *pref->GetValue(), pref 266 chrome/browser/prefs/pref_model_associator_unittest.cc const PrefService::Preference* pref = pref 269 chrome/browser/prefs/pref_model_associator_unittest.cc PrefModelAssociator::MergePreference(pref->name(), pref 270 chrome/browser/prefs/pref_model_associator_unittest.cc *pref->GetValue(), pref 376 chrome/browser/prefs/pref_model_associator_unittest.cc bool MergeListPreference(const char* pref) { pref 378 chrome/browser/prefs/pref_model_associator_unittest.cc ListPrefUpdate update(pref_service_, pref); pref 384 chrome/browser/prefs/pref_model_associator_unittest.cc pref, pref 385 chrome/browser/prefs/pref_model_associator_unittest.cc *pref_service_->GetUserPrefValue(pref), pref 394 chrome/browser/prefs/pref_model_associator_unittest.cc bool MergeDictionaryPreference(const char* pref) { pref 396 chrome/browser/prefs/pref_model_associator_unittest.cc DictionaryPrefUpdate update(pref_service_, pref); pref 402 chrome/browser/prefs/pref_model_associator_unittest.cc pref, pref 403 chrome/browser/prefs/pref_model_associator_unittest.cc *pref_service_->GetUserPrefValue(pref), pref 52 chrome/browser/prefs/session_startup_pref.cc void URLListToPref(const base::ListValue* url_list, SessionStartupPref* pref) { pref 53 chrome/browser/prefs/session_startup_pref.cc pref->urls.clear(); pref 58 chrome/browser/prefs/session_startup_pref.cc pref->urls.push_back(fixed_url); pref 98 chrome/browser/prefs/session_startup_pref.cc const SessionStartupPref& pref) { pref 100 chrome/browser/prefs/session_startup_pref.cc SetStartupPref(profile->GetPrefs(), pref); pref 105 chrome/browser/prefs/session_startup_pref.cc const SessionStartupPref& pref) { pref 109 chrome/browser/prefs/session_startup_pref.cc prefs->SetInteger(prefs::kRestoreOnStartup, TypeToPrefValue(pref.type)); pref 119 chrome/browser/prefs/session_startup_pref.cc for (size_t i = 0; i < pref.urls.size(); ++i) { pref 121 chrome/browser/prefs/session_startup_pref.cc new base::StringValue(pref.urls[i].spec())); pref 139 chrome/browser/prefs/session_startup_pref.cc SessionStartupPref pref( pref 146 chrome/browser/prefs/session_startup_pref.cc URLListToPref(url_list, &pref); pref 148 chrome/browser/prefs/session_startup_pref.cc return pref; pref 56 chrome/browser/prefs/session_startup_pref.h static void SetStartupPref(Profile* profile, const SessionStartupPref& pref); pref 58 chrome/browser/prefs/session_startup_pref.h const SessionStartupPref& pref); pref 101 chrome/browser/prefs/session_startup_pref_unittest.cc SessionStartupPref pref = SessionStartupPref::GetStartupPref( pref 105 chrome/browser/prefs/session_startup_pref_unittest.cc EXPECT_EQ(SessionStartupPref::LAST, pref.type); pref 106 chrome/browser/prefs/session_startup_pref_unittest.cc EXPECT_EQ(0U, pref.urls.size()); pref 108 chrome/browser/prefs/session_startup_pref_unittest.cc EXPECT_EQ(SessionStartupPref::URLS, pref.type); pref 109 chrome/browser/prefs/session_startup_pref_unittest.cc EXPECT_EQ(1U, pref.urls.size()); pref 110 chrome/browser/prefs/session_startup_pref_unittest.cc EXPECT_EQ(GURL("http://chromium.org/"), pref.urls[0]); pref 128 chrome/browser/prefs/session_startup_pref_unittest.cc SessionStartupPref pref = SessionStartupPref::GetStartupPref( pref 132 chrome/browser/prefs/session_startup_pref_unittest.cc EXPECT_EQ(SessionStartupPref::LAST, pref.type); pref 134 chrome/browser/prefs/session_startup_pref_unittest.cc EXPECT_EQ(SessionStartupPref::DEFAULT, pref.type); pref 137 chrome/browser/prefs/session_startup_pref_unittest.cc EXPECT_EQ(0U, pref.urls.size()); pref 155 chrome/browser/prefs/session_startup_pref_unittest.cc SessionStartupPref pref = SessionStartupPref::GetStartupPref( pref 158 chrome/browser/prefs/session_startup_pref_unittest.cc EXPECT_EQ(SessionStartupPref::URLS, pref.type); pref 159 chrome/browser/prefs/session_startup_pref_unittest.cc EXPECT_EQ(1U, pref.urls.size()); pref 160 chrome/browser/prefs/session_startup_pref_unittest.cc EXPECT_EQ(GURL("http://chromium.org/"), pref.urls[0]); pref 179 chrome/browser/prefs/session_startup_pref_unittest.cc SessionStartupPref pref = SessionStartupPref::GetStartupPref( pref 182 chrome/browser/prefs/session_startup_pref_unittest.cc EXPECT_EQ(SessionStartupPref::DEFAULT, pref.type); pref 196 chrome/browser/prefs/session_startup_pref_unittest.cc SessionStartupPref pref = SessionStartupPref::GetStartupPref( pref 200 chrome/browser/prefs/session_startup_pref_unittest.cc EXPECT_EQ(SessionStartupPref::LAST, pref.type); pref 147 chrome/browser/profile_resetter/automatic_profile_resetter.cc const PrefService::Preference* pref = source->FindPreference(it->c_str()); pref 149 chrome/browser/profile_resetter/automatic_profile_resetter.cc *it, new base::FundamentalValue(pref->IsUserControlled())); pref 145 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_hunspell.cc const PrefService* pref = profile->GetPrefs(); pref 148 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_hunspell.cc return pref->GetBoolean(prefs::kEnableContinuousSpellcheck); pref 73 chrome/browser/renderer_context_menu/spelling_bubble_model.cc PrefService* pref = profile_->GetPrefs(); pref 74 chrome/browser/renderer_context_menu/spelling_bubble_model.cc DCHECK(pref); pref 75 chrome/browser/renderer_context_menu/spelling_bubble_model.cc pref->SetBoolean(prefs::kSpellCheckUseSpellingService, enabled); pref 77 chrome/browser/renderer_context_menu/spelling_bubble_model.cc pref->SetBoolean(prefs::kEnableAutoSpellCorrect, enabled); pref 453 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc PrefService* pref = profile->GetPrefs(); pref 454 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc pref->SetBoolean(prefs::kSafeBrowsingReportingEnabled, report); pref 778 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc bool SafeBrowsingBlockingPage::IsPrefEnabled(const char* pref) { pref 781 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc return profile->GetPrefs()->GetBoolean(pref); pref 145 chrome/browser/safe_browsing/safe_browsing_blocking_page.h bool IsPrefEnabled(const char* pref); pref 1693 chrome/browser/search_engines/template_url_service.cc const PrefService::Preference* pref = pref 1695 chrome/browser/search_engines/template_url_service.cc *is_managed = pref && pref->IsManaged(); pref 78 chrome/browser/sessions/session_restore_browsertest.cc SessionStartupPref pref(SessionStartupPref::LAST); pref 79 chrome/browser/sessions/session_restore_browsertest.cc SessionStartupPref::SetStartupPref(browser()->profile(), pref); pref 599 chrome/browser/sessions/session_service.cc SessionStartupPref pref = StartupBrowserCreator::GetSessionStartupPref( pref 601 chrome/browser/sessions/session_service.cc if (pref.type == SessionStartupPref::LAST) { pref 61 chrome/browser/spellchecker/spelling_service_client.cc const PrefService* pref = user_prefs::UserPrefs::Get(context); pref 62 chrome/browser/spellchecker/spelling_service_client.cc DCHECK(pref); pref 67 chrome/browser/spellchecker/spelling_service_client.cc pref->GetString(prefs::kSpellCheckDictionary), pref 108 chrome/browser/spellchecker/spelling_service_client.cc const PrefService* pref = user_prefs::UserPrefs::Get(context); pref 109 chrome/browser/spellchecker/spelling_service_client.cc DCHECK(pref); pref 112 chrome/browser/spellchecker/spelling_service_client.cc if (!pref->GetBoolean(prefs::kEnableContinuousSpellcheck) || pref 113 chrome/browser/spellchecker/spelling_service_client.cc !pref->GetBoolean(prefs::kSpellCheckUseSpellingService) || pref 119 chrome/browser/spellchecker/spelling_service_client.cc std::string locale = pref->GetString(prefs::kSpellCheckDictionary); pref 303 chrome/browser/spellchecker/spelling_service_client_unittest.cc PrefService* pref = profile_.GetPrefs(); pref 304 chrome/browser/spellchecker/spelling_service_client_unittest.cc pref->SetBoolean(prefs::kEnableContinuousSpellcheck, true); pref 305 chrome/browser/spellchecker/spelling_service_client_unittest.cc pref->SetBoolean(prefs::kSpellCheckUseSpellingService, true); pref 313 chrome/browser/spellchecker/spelling_service_client_unittest.cc pref->SetString(prefs::kSpellCheckDictionary, kTests[i].language); pref 334 chrome/browser/spellchecker/spelling_service_client_unittest.cc PrefService* pref = profile_.GetPrefs(); pref 335 chrome/browser/spellchecker/spelling_service_client_unittest.cc pref->SetBoolean(prefs::kEnableContinuousSpellcheck, false); pref 336 chrome/browser/spellchecker/spelling_service_client_unittest.cc pref->SetBoolean(prefs::kSpellCheckUseSpellingService, false); pref 340 chrome/browser/spellchecker/spelling_service_client_unittest.cc pref->SetBoolean(prefs::kEnableContinuousSpellcheck, true); pref 341 chrome/browser/spellchecker/spelling_service_client_unittest.cc pref->SetBoolean(prefs::kSpellCheckUseSpellingService, true); pref 348 chrome/browser/spellchecker/spelling_service_client_unittest.cc pref->SetString(prefs::kSpellCheckDictionary, std::string()); pref 360 chrome/browser/spellchecker/spelling_service_client_unittest.cc pref->SetString(prefs::kSpellCheckDictionary, kSupported[i]); pref 377 chrome/browser/spellchecker/spelling_service_client_unittest.cc pref->SetString(prefs::kSpellCheckDictionary, kUnsupported[i]); pref 347 chrome/browser/sync/profile_sync_service_preference_unittest.cc const PrefService::Preference* pref = pref 350 chrome/browser/sync/profile_sync_service_preference_unittest.cc EXPECT_TRUE(pref_sync_service_->CreatePrefSyncData(pref->name(), pref 351 chrome/browser/sync/profile_sync_service_preference_unittest.cc *pref->GetValue(), &sync_data)); pref 359 chrome/browser/sync/profile_sync_service_preference_unittest.cc EXPECT_TRUE(pref->GetValue()->Equals(value.get())); pref 363 chrome/browser/sync/profile_sync_service_preference_unittest.cc const PrefService::Preference* pref = pref 365 chrome/browser/sync/profile_sync_service_preference_unittest.cc EXPECT_TRUE(pref->IsDefaultValue()); pref 370 chrome/browser/sync/profile_sync_service_preference_unittest.cc EXPECT_TRUE(pref->IsDefaultValue()); pref 642 chrome/browser/sync/profile_sync_service_preference_unittest.cc const PrefService::Preference* pref = pref 644 chrome/browser/sync/profile_sync_service_preference_unittest.cc EXPECT_TRUE(pref->IsDefaultValue()); pref 892 chrome/browser/sync/profile_sync_service_preference_unittest.cc const PrefService::Preference* pref = pref 894 chrome/browser/sync/profile_sync_service_preference_unittest.cc EXPECT_TRUE(pref->IsDefaultValue()); pref 899 chrome/browser/sync/profile_sync_service_preference_unittest.cc EXPECT_TRUE(pref->IsDefaultValue()); pref 907 chrome/browser/sync/profile_sync_service_preference_unittest.cc EXPECT_FALSE(pref->IsDefaultValue()); pref 913 chrome/browser/sync/profile_sync_service_preference_unittest.cc EXPECT_TRUE(pref->IsDefaultValue()); pref 29 chrome/browser/translate/translate_manager_browsertest.cc SessionStartupPref pref(SessionStartupPref::LAST); pref 30 chrome/browser/translate/translate_manager_browsertest.cc SessionStartupPref::SetStartupPref(browser()->profile(), pref); pref 769 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc const PrefService::Preference* pref = pref 771 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc return pref && pref->IsUserModifiable(); pref 104 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc PrefService* pref = ProfileManager::GetActiveUserProfile()->GetPrefs(); pref 105 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc pref->SetBoolean(prefs::kMultiProfileWarningShowDismissed, no_show_again); pref 457 chrome/browser/ui/prefs/prefs_tab_helper.cc const FontDefault& pref = kFontDefaults[i]; pref 458 chrome/browser/ui/prefs/prefs_tab_helper.cc UScriptCode pref_script = GetScriptOfFontPref(pref.pref_name); pref 474 chrome/browser/ui/prefs/prefs_tab_helper.cc pref.pref_name, pref 475 chrome/browser/ui/prefs/prefs_tab_helper.cc pref.resource_id, pref 477 chrome/browser/ui/prefs/prefs_tab_helper.cc fonts_with_defaults.insert(pref.pref_name); pref 359 chrome/browser/ui/startup/startup_browser_creator.cc SessionStartupPref pref = SessionStartupPref::GetStartupPref(prefs); pref 377 chrome/browser/ui/startup/startup_browser_creator.cc pref.type = SessionStartupPref::DEFAULT; pref 387 chrome/browser/ui/startup/startup_browser_creator.cc pref.type = SessionStartupPref::LAST; pref 389 chrome/browser/ui/startup/startup_browser_creator.cc if (pref.type == SessionStartupPref::LAST && pref 394 chrome/browser/ui/startup/startup_browser_creator.cc pref.type = SessionStartupPref::DEFAULT; pref 397 chrome/browser/ui/startup/startup_browser_creator.cc return pref; pref 200 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc SessionStartupPref pref(SessionStartupPref::URLS); pref 201 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc pref.urls = urls; pref 202 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc SessionStartupPref::SetStartupPref(browser()->profile(), pref); pref 248 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc SessionStartupPref pref(SessionStartupPref::URLS); pref 249 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc pref.urls = urls; pref 250 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc SessionStartupPref::SetStartupPref(browser()->profile(), pref); pref 608 chrome/browser/ui/startup/startup_browser_creator_impl.cc SessionStartupPref pref = pref 610 chrome/browser/ui/startup/startup_browser_creator_impl.cc if (pref.type == SessionStartupPref::LAST) pref 612 chrome/browser/ui/startup/startup_browser_creator_impl.cc else if (pref.type == SessionStartupPref::URLS) pref 614 chrome/browser/ui/startup/startup_browser_creator_impl.cc else if (pref.type == SessionStartupPref::DEFAULT) pref 625 chrome/browser/ui/startup/startup_browser_creator_impl.cc if (pref.type == SessionStartupPref::LAST) { pref 679 chrome/browser/ui/startup/startup_browser_creator_impl.cc if (pref.type != SessionStartupPref::LAST && pref 691 chrome/browser/ui/startup/startup_browser_creator_impl.cc SessionStartupPref pref = pref 709 chrome/browser/ui/startup/startup_browser_creator_impl.cc } else if (pref.type == SessionStartupPref::DEFAULT || pref 715 chrome/browser/ui/startup/startup_browser_creator_impl.cc } else if (pref.type == SessionStartupPref::URLS && !pref.urls.empty() && pref 720 chrome/browser/ui/startup/startup_browser_creator_impl.cc AddUniqueURLs(pref.urls, &tabs); pref 721 chrome/browser/ui/startup/startup_browser_creator_impl.cc } else if (pref.type == SessionStartupPref::HOMEPAGE) { pref 55 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc gfx::Size pref = view->GetPreferredSize(); pref 59 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc descent = std::max(descent, pref.height() - baseline); pref 61 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc height = std::max(pref.height(), height); pref 63 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc width += pref.width(); pref 76 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc gfx::Size pref = view->GetPreferredSize(); pref 82 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc y = (height() - pref.height()) / 2; pref 83 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc int view_width = std::min(remaining_width, pref.width()); pref 84 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc view->SetBounds(x, y, view_width, pref.height()); pref 1764 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Size pref = instructions_->GetPreferredSize(); pref 1768 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc std::min(static_cast<int>(pref.width()), pref 1779 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Size pref = child->GetPreferredSize(); pref 1780 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc int next_x = x + pref.width() + kButtonPadding; pref 1783 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc child->SetBounds(x, y, pref.width(), height); pref 51 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc gfx::Size pref = GetPreferredSize(); pref 52 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc int width = pref.width(); pref 53 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc int height = pref.height(); pref 48 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc gfx::Size pref = GetPreferredSize(); pref 49 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc int width = pref.width(); pref 50 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc int height = pref.height(); pref 102 chrome/browser/ui/views/toolbar/wrench_menu.cc gfx::Size pref = ImageButton::GetPreferredSize(); pref 105 chrome/browser/ui/views/toolbar/wrench_menu.cc pref.Enlarge(insets.width(), insets.height()); pref 107 chrome/browser/ui/views/toolbar/wrench_menu.cc return pref; pref 151 chrome/browser/ui/webui/chromeos/salsa_ui.cc const PrefService::Preference* pref = pref 154 chrome/browser/ui/webui/chromeos/salsa_ui.cc if (pref->GetType() == value->GetType()) { pref 156 chrome/browser/ui/webui/chromeos/salsa_ui.cc } else if (pref->GetType() == base::Value::TYPE_DOUBLE && pref 177 chrome/browser/ui/webui/chromeos/salsa_ui.cc const PrefService::Preference* pref = pref 180 chrome/browser/ui/webui/chromeos/salsa_ui.cc if (!pref) pref 187 chrome/browser/ui/webui/chromeos/salsa_ui.cc pref->IsDefaultValue() ? NULL : pref->GetValue()->DeepCopy(); pref 60 chrome/browser/ui/webui/gesture_config_ui.cc const PrefService::Preference* pref = pref 65 chrome/browser/ui/webui/gesture_config_ui.cc base::FundamentalValue js_pref_default(pref->IsDefaultValue()); pref 93 chrome/browser/ui/webui/gesture_config_ui.cc const PrefService::Preference* pref = pref 95 chrome/browser/ui/webui/gesture_config_ui.cc switch (pref->GetType()) { pref 565 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc const PrefService* pref = Profile::FromBrowserContext( pref 567 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc if (!pref->GetBoolean(prefs::kEditBookmarksEnabled)) pref 52 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc const PrefService* pref = Profile::FromBrowserContext( pref 58 chrome/browser/ui/webui/ntp/android/context_menu_handler.cc int pref_value = pref->GetInteger(prefs::kIncognitoModeAvailability); pref 43 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc bool IsSettingPrivileged(const std::string& pref) { pref 45 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc return std::find(kNonPrivilegedSettings, end, pref) == end; pref 224 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc const PrefService::Preference* pref = pref 229 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc if (pref && pref->IsUserModifiable() && pref 232 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc bool success = pref->GetValue()->GetAsBoolean(&screen_lock); pref 239 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc dict->Set("value", pref->GetValue()->DeepCopy()); pref 272 chrome/browser/ui/webui/options/core_options_handler.cc const PrefService::Preference* pref = pref 274 chrome/browser/ui/webui/options/core_options_handler.cc if ((pref && !pref->IsUserModifiable()) || !iter->second.Run(value)) { pref 350 chrome/browser/ui/webui/options/core_options_handler.cc const PrefService::Preference* pref = pref 352 chrome/browser/ui/webui/options/core_options_handler.cc if (!pref) { pref 359 chrome/browser/ui/webui/options/core_options_handler.cc controlling_pref = pref; pref 362 chrome/browser/ui/webui/options/core_options_handler.cc dict->Set("value", pref->GetValue()->DeepCopy()); pref 241 chrome/browser/ui/webui/options/preferences_browsertest.cc const base::Value* pref = NULL; pref 243 chrome/browser/ui/webui/options/preferences_browsertest.cc ASSERT_TRUE(prefs->GetWithoutPathExpansion(name, &pref)); pref 244 chrome/browser/ui/webui/options/preferences_browsertest.cc ASSERT_TRUE(pref->GetAsDictionary(&dict)); pref 208 chrome/browser/ui/webui/options/startup_pages_handler.cc SessionStartupPref pref = SessionStartupPref::GetStartupPref(prefs); pref 209 chrome/browser/ui/webui/options/startup_pages_handler.cc pref.urls = startup_custom_pages_table_model_->GetURLs(); pref 211 chrome/browser/ui/webui/options/startup_pages_handler.cc if (pref.urls.empty()) pref 212 chrome/browser/ui/webui/options/startup_pages_handler.cc pref.type = SessionStartupPref::DEFAULT; pref 214 chrome/browser/ui/webui/options/startup_pages_handler.cc SessionStartupPref::SetStartupPref(prefs, pref); pref 197 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc const PrefService::Preference* pref = prefs->FindPreference(key.c_str()); pref 198 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc if (pref) pref 199 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc dict.Set(key, pref->GetValue()->DeepCopy()); pref 226 chrome/test/chromedriver/capabilities.cc for (base::DictionaryValue::Iterator pref(*logging_prefs); pref 227 chrome/test/chromedriver/capabilities.cc !pref.IsAtEnd(); pref.Advance()) { pref 228 chrome/test/chromedriver/capabilities.cc std::string type = pref.key(); pref 231 chrome/test/chromedriver/capabilities.cc if (!pref.value().GetAsString(&level_name) || pref 104 components/policy/core/browser/configuration_policy_pref_store.cc for (std::vector<std::string>::const_iterator pref(changed_prefs.begin()); pref 105 components/policy/core/browser/configuration_policy_pref_store.cc pref != changed_prefs.end(); pref 106 components/policy/core/browser/configuration_policy_pref_store.cc ++pref) { pref 108 components/policy/core/browser/configuration_policy_pref_store.cc OnPrefValueChanged(*pref)); pref 1980 extensions/browser/extension_prefs.cc const char* pref, pref 1984 extensions/browser/extension_prefs.cc const base::Value* user_pref_value = prefs_->GetUserPrefValue(pref); pref 2005 extensions/browser/extension_prefs.cc const char* pref, pref 2007 extensions/browser/extension_prefs.cc ListPrefUpdate update(prefs_, pref); pref 646 extensions/browser/extension_prefs.h const char* pref, pref 651 extensions/browser/extension_prefs.h void SetExtensionPrefFromContainer(const char* pref, pref 12530 net/third_party/nss/ssl/ssl3con.c PRBool pref; pref 12535 net/third_party/nss/ssl/ssl3con.c pref = suite->enabled; pref 12538 net/third_party/nss/ssl/ssl3con.c pref = SSL_NOT_ALLOWED; pref 12541 net/third_party/nss/ssl/ssl3con.c *enabled = pref; pref 12562 net/third_party/nss/ssl/ssl3con.c PRBool pref; pref 12567 net/third_party/nss/ssl/ssl3con.c pref = suite->enabled; pref 12570 net/third_party/nss/ssl/ssl3con.c pref = SSL_NOT_ALLOWED; pref 12573 net/third_party/nss/ssl/ssl3con.c *enabled = pref; pref 724 sync/engine/syncer_unittest.cc sync_pb::EntitySpecifics pref, encrypted_pref, modified_pref; pref 725 sync/engine/syncer_unittest.cc pref.mutable_preference()->set_name("name"); pref 727 sync/engine/syncer_unittest.cc other_cryptographer.Encrypt(pref, pref 756 sync/engine/syncer_unittest.cc mock_server_->AddUpdateSpecifics(4, 0, "D", 10, 10, false, 0, pref); pref 3708 sync/engine/syncer_unittest.cc MutableEntry pref( pref 3710 sync/engine/syncer_unittest.cc ASSERT_TRUE(pref.good()); pref 3711 sync/engine/syncer_unittest.cc pref.PutUniqueClientTag("tag"); pref 3712 sync/engine/syncer_unittest.cc pref.PutIsUnsynced(true); pref 3713 sync/engine/syncer_unittest.cc EXPECT_FALSE(pref.GetIsUnappliedUpdate()); pref 3714 sync/engine/syncer_unittest.cc EXPECT_FALSE(pref.GetId().ServerKnows()); pref 3715 sync/engine/syncer_unittest.cc original_metahandle = pref.GetMetahandle(); pref 3729 sync/engine/syncer_unittest.cc Entry pref(&trans, GET_BY_CLIENT_TAG, "tag"); pref 3730 sync/engine/syncer_unittest.cc ASSERT_TRUE(pref.good()); pref 3731 sync/engine/syncer_unittest.cc EXPECT_FALSE(pref.GetIsDel()); pref 3732 sync/engine/syncer_unittest.cc EXPECT_FALSE(pref.GetIsUnappliedUpdate()); pref 3733 sync/engine/syncer_unittest.cc EXPECT_TRUE(pref.GetIsUnsynced()); pref 3734 sync/engine/syncer_unittest.cc EXPECT_EQ(10, pref.GetBaseVersion()); pref 3737 sync/engine/syncer_unittest.cc EXPECT_EQ(original_metahandle, pref.GetMetahandle()); pref 3738 sync/engine/syncer_unittest.cc EXPECT_EQ("tag", pref.GetUniqueClientTag()); pref 3739 sync/engine/syncer_unittest.cc EXPECT_TRUE(pref.GetId().ServerKnows()); pref 3749 sync/engine/syncer_unittest.cc Entry pref(&trans, GET_BY_CLIENT_TAG, "tag"); pref 3750 sync/engine/syncer_unittest.cc ASSERT_TRUE(pref.good()); pref 3751 sync/engine/syncer_unittest.cc EXPECT_FALSE(pref.GetIsDel()); pref 3752 sync/engine/syncer_unittest.cc EXPECT_FALSE(pref.GetIsUnappliedUpdate()); pref 3753 sync/engine/syncer_unittest.cc EXPECT_FALSE(pref.GetIsUnsynced()); pref 3754 sync/engine/syncer_unittest.cc EXPECT_TRUE(10 < pref.GetBaseVersion()); pref 3757 sync/engine/syncer_unittest.cc EXPECT_EQ(original_metahandle, pref.GetMetahandle()); pref 3758 sync/engine/syncer_unittest.cc EXPECT_EQ("tag", pref.GetUniqueClientTag()); pref 3759 sync/engine/syncer_unittest.cc EXPECT_TRUE(pref.GetId().ServerKnows()); pref 3767 sync/engine/syncer_unittest.cc MutableEntry pref( pref 3769 sync/engine/syncer_unittest.cc ASSERT_TRUE(pref.good()); pref 3770 sync/engine/syncer_unittest.cc ASSERT_FALSE(pref.GetId().ServerKnows()); pref 3771 sync/engine/syncer_unittest.cc pref.PutUniqueClientTag("tag"); pref 3772 sync/engine/syncer_unittest.cc pref.PutIsUnsynced(true); pref 3777 sync/engine/syncer_unittest.cc pref.PutIsDel(true); pref 3791 sync/engine/syncer_unittest.cc Entry pref(&trans, GET_BY_CLIENT_TAG, "tag"); pref 3792 sync/engine/syncer_unittest.cc ASSERT_TRUE(pref.good()); pref 3793 sync/engine/syncer_unittest.cc ASSERT_TRUE(pref.GetId().ServerKnows()); pref 3794 sync/engine/syncer_unittest.cc EXPECT_FALSE(pref.GetIsDel()); pref 3795 sync/engine/syncer_unittest.cc EXPECT_FALSE(pref.GetIsUnappliedUpdate()); pref 3796 sync/engine/syncer_unittest.cc EXPECT_FALSE(pref.GetIsUnsynced()); pref 3797 sync/engine/syncer_unittest.cc EXPECT_EQ(pref.GetBaseVersion(), 10); pref 3798 sync/engine/syncer_unittest.cc EXPECT_EQ(pref.GetUniqueClientTag(), "tag"); pref 4766 sync/engine/syncer_unittest.cc MutableEntry pref(&wtrans, CREATE, PREFERENCES, wtrans.root_id(), "pref"); pref 4767 sync/engine/syncer_unittest.cc ASSERT_TRUE(pref.good()); pref 4768 sync/engine/syncer_unittest.cc pref.PutIsUnsynced(true); pref 4780 sync/engine/syncer_unittest.cc mock_server_->SetTransientErrorId(pref.GetId()); pref 534 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc would_substitute_feature_t pref; pref 562 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc indic_plan->pref.init (&plan->map, HB_TAG('p','r','e','f'), zero_context); pref 604 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc (indic_plan->pref.would_substitute (glyphs , 2, face) || pref 605 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc indic_plan->pref.would_substitute (glyphs+1, 2, face))) pref 607 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc indic_plan->pref.would_substitute (glyphs+1, 1, face))) pref 1096 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc if (indic_plan->pref.would_substitute (glyphs, pref_len, face)) pref 2165 third_party/libxml/src/SAX2.c const xmlChar *uri, *pref; pref 2232 third_party/libxml/src/SAX2.c pref = namespaces[i++]; pref 2234 third_party/libxml/src/SAX2.c ns = xmlNewNs(NULL, uri, pref); pref 2242 third_party/libxml/src/SAX2.c if ((URI != NULL) && (prefix == pref)) pref 1222 third_party/libxml/src/catalog.c xmlCatalogPrefer pref = XML_CATA_PREFER_NONE; pref 1236 third_party/libxml/src/catalog.c pref = prefer; pref 1240 third_party/libxml/src/catalog.c entry = xmlNewCatalogEntry(XML_CATA_GROUP, prop, base, NULL, pref, cgroup); pref 81 third_party/libxml/src/include/libxml/xmlstring.h xmlStrQEqual (const xmlChar *pref, pref 8695 third_party/libxml/src/parser.c const xmlChar * pref, const xmlChar * elem, pref 8719 third_party/libxml/src/parser.c pref, elem, *prefix, name); pref 8825 third_party/libxml/src/parser.c xmlParseStartTag2(xmlParserCtxtPtr ctxt, const xmlChar **pref, pref 9203 third_party/libxml/src/parser.c *pref = prefix; pref 36114 third_party/libxml/src/testapi.c xmlChar * pref; /* the prefix of the QName */ pref 36125 third_party/libxml/src/testapi.c pref = gen_const_xmlChar_ptr(n_pref, 0); pref 36129 third_party/libxml/src/testapi.c ret_val = xmlStrQEqual((const xmlChar *)pref, (const xmlChar *)name, (const xmlChar *)str); pref 36132 third_party/libxml/src/testapi.c des_const_xmlChar_ptr(n_pref, (const xmlChar *)pref, 0); pref 8311 third_party/libxml/src/tree.c const xmlChar *pref; pref 8316 third_party/libxml/src/tree.c pref = prefix; pref 8322 third_party/libxml/src/tree.c (xmlTreeNSListLookupByPrefix(elem->nsDef, pref) != NULL)) pref 8329 third_party/libxml/src/tree.c if (xmlSearchNsByPrefixStrict(doc, elem->parent, pref, NULL) == 1) pref 8332 third_party/libxml/src/tree.c ret = xmlNewNs(NULL, nsName, pref); pref 8354 third_party/libxml/src/tree.c pref = BAD_CAST buf; pref 3783 third_party/libxml/src/xmlIO.c xmlCatalogAllow pref; pref 3789 third_party/libxml/src/xmlIO.c pref = xmlCatalogGetDefaults(); pref 3791 third_party/libxml/src/xmlIO.c if ((pref != XML_CATA_ALLOW_NONE) && (!xmlNoNetExists(URL))) { pref 3796 third_party/libxml/src/xmlIO.c ((pref == XML_CATA_ALLOW_ALL) || pref 3797 third_party/libxml/src/xmlIO.c (pref == XML_CATA_ALLOW_DOCUMENT))) { pref 3806 third_party/libxml/src/xmlIO.c ((pref == XML_CATA_ALLOW_ALL) || pref 3807 third_party/libxml/src/xmlIO.c (pref == XML_CATA_ALLOW_GLOBAL))) { pref 3821 third_party/libxml/src/xmlIO.c ((pref == XML_CATA_ALLOW_ALL) || pref 3822 third_party/libxml/src/xmlIO.c (pref == XML_CATA_ALLOW_DOCUMENT))) { pref 3826 third_party/libxml/src/xmlIO.c ((pref == XML_CATA_ALLOW_ALL) || pref 3827 third_party/libxml/src/xmlIO.c (pref == XML_CATA_ALLOW_GLOBAL))) { pref 5777 third_party/libxml/src/xmlschemas.c const xmlChar *pref; pref 5816 third_party/libxml/src/xmlschemas.c pref = xmlDictLookup(ctxt->dict, value, len); pref 5817 third_party/libxml/src/xmlschemas.c ns = xmlSearchNs(attr->doc, attr->parent, pref); pref 179 third_party/libxml/src/xmlstring.c xmlStrQEqual(const xmlChar *pref, const xmlChar *name, const xmlChar *str) { pref 180 third_party/libxml/src/xmlstring.c if (pref == NULL) return(xmlStrEqual(name, str)); pref 185 third_party/libxml/src/xmlstring.c if (*pref++ != *str) return(0); pref 186 third_party/libxml/src/xmlstring.c } while ((*str++) && (*pref)); pref 900 third_party/libxslt/libxslt/attributes.c xmlChar *pref = xmlStrdup(BAD_CAST "ns_1"); pref 902 third_party/libxslt/libxslt/attributes.c ns = xsltGetSpecialNamespace(ctxt, inst, nsName, BAD_CAST pref, pref 905 third_party/libxslt/libxslt/attributes.c xmlFree(pref); pref 584 third_party/libxslt/libxslt/namespaces.c xmlChar pref[30]; pref 592 third_party/libxslt/libxslt/namespaces.c snprintf((char *) pref, 30, "%s_%d", nsPrefix, counter++); pref 593 third_party/libxslt/libxslt/namespaces.c ns = xmlSearchNs(target->doc, target, BAD_CAST pref); pref 602 third_party/libxslt/libxslt/namespaces.c ns = xmlNewNs(target, nsName, BAD_CAST pref); pref 136 ui/gfx/win/hwnd_util.cc const Size& pref) { pref 137 ui/gfx/win/hwnd_util.cc DCHECK(window && pref.width() > 0 && pref.height() > 0); pref 161 ui/gfx/win/hwnd_util.cc if (pref.width() < (center_bounds.right - center_bounds.left)) { pref 163 ui/gfx/win/hwnd_util.cc (center_bounds.right - center_bounds.left - pref.width()) / 2; pref 165 ui/gfx/win/hwnd_util.cc window_bounds.right = window_bounds.left + pref.width(); pref 168 ui/gfx/win/hwnd_util.cc if (pref.height() < (center_bounds.bottom - center_bounds.top)) { pref 170 ui/gfx/win/hwnd_util.cc (center_bounds.bottom - center_bounds.top - pref.height()) / 2; pref 172 ui/gfx/win/hwnd_util.cc window_bounds.bottom = window_bounds.top + pref.height(); pref 183 ui/gfx/win/hwnd_util.cc window_bounds.right = window_bounds.left + pref.width(); pref 184 ui/gfx/win/hwnd_util.cc window_bounds.bottom = window_bounds.top + pref.height(); pref 37 ui/gfx/win/hwnd_util.h const gfx::Size& pref); pref 1679 ui/views/controls/menu/menu_controller.cc gfx::Size pref = submenu->GetScrollViewContainer()->GetPreferredSize(); pref 1682 ui/views/controls/menu/menu_controller.cc pref.set_width(std::min(pref.width(), pref 1685 ui/views/controls/menu/menu_controller.cc pref.set_width(std::min(pref.width(), state_.monitor_bounds.width())); pref 1705 ui/views/controls/menu/menu_controller.cc x = x + state_.initial_bounds.width() - pref.width(); pref 1709 ui/views/controls/menu/menu_controller.cc x = x - (pref.width() - state_.initial_bounds.width()) / 2; pref 1710 ui/views/controls/menu/menu_controller.cc if (pref.height() > pref 1715 ui/views/controls/menu/menu_controller.cc y = std::max(0, state_.initial_bounds.y() - pref.height()) + pref 1721 ui/views/controls/menu/menu_controller.cc y + pref.height() > state_.monitor_bounds.bottom()) { pref 1733 ui/views/controls/menu/menu_controller.cc pref.set_height(std::min(pref.height(), pref 1739 ui/views/controls/menu/menu_controller.cc if (state_.monitor_bounds.height() < pref.height()) { pref 1741 ui/views/controls/menu/menu_controller.cc pref.set_height(state_.monitor_bounds.height()); pref 1743 ui/views/controls/menu/menu_controller.cc } else if (state_.monitor_bounds.y() + pref.height() < pref 1746 ui/views/controls/menu/menu_controller.cc y = state_.initial_bounds.y() - pref.height(); pref 1751 ui/views/controls/menu/menu_controller.cc y = state_.monitor_bounds.bottom() - pref.height(); pref 1759 ui/views/controls/menu/menu_controller.cc if (x + state_.initial_bounds.width() + pref.width() > pref 1761 ui/views/controls/menu/menu_controller.cc x -= pref.width(); // Move the menu to the left of the button. pref 1768 ui/views/controls/menu/menu_controller.cc state_.initial_bounds.x() - pref.width()) pref 1771 ui/views/controls/menu/menu_controller.cc x = state_.initial_bounds.x() - pref.width(); // Move left. pref 1776 ui/views/controls/menu/menu_controller.cc pref.set_height(std::min(pref.height(), pref 1778 ui/views/controls/menu/menu_controller.cc y = state_.initial_bounds.y() - pref.height(); pref 1783 ui/views/controls/menu/menu_controller.cc pref.set_height(std::min(pref.height(), pref 1785 ui/views/controls/menu/menu_controller.cc y = state_.initial_bounds.y() - pref.height(); pref 1791 ui/views/controls/menu/menu_controller.cc if (x + pref.width() > state_.monitor_bounds.right()) pref 1792 ui/views/controls/menu/menu_controller.cc x = state_.initial_bounds.x() - pref.width() - 1; pref 1813 ui/views/controls/menu/menu_controller.cc x + pref.width() > state_.monitor_bounds.right()) { pref 1818 ui/views/controls/menu/menu_controller.cc x = item_loc.x() - pref.width() + submenu_horizontal_inset; pref 1821 ui/views/controls/menu/menu_controller.cc x = item_loc.x() - pref.width() + submenu_horizontal_inset; pref 1832 ui/views/controls/menu/menu_controller.cc pref.set_height(std::min(pref.height(), state_.monitor_bounds.height())); pref 1833 ui/views/controls/menu/menu_controller.cc if (y + pref.height() > state_.monitor_bounds.bottom()) pref 1834 ui/views/controls/menu/menu_controller.cc y = state_.monitor_bounds.bottom() - pref.height(); pref 1841 ui/views/controls/menu/menu_controller.cc if (x + pref.width() > state_.monitor_bounds.right()) pref 1842 ui/views/controls/menu/menu_controller.cc x = state_.monitor_bounds.right() - pref.width(); pref 1846 ui/views/controls/menu/menu_controller.cc return gfx::Rect(x, y, pref.width(), pref.height()); pref 1861 ui/views/controls/menu/menu_controller.cc gfx::Size pref = submenu->GetScrollViewContainer()->GetPreferredSize(); pref 1886 ui/views/controls/menu/menu_controller.cc pref.set_width(std::min(pref.width(), max_width)); pref 1887 ui/views/controls/menu/menu_controller.cc pref.set_height(std::min(pref.height(), max_height)); pref 1890 ui/views/controls/menu/menu_controller.cc pref.set_width(std::min(pref.width(), pref 1897 ui/views/controls/menu/menu_controller.cc y = owner_bounds.y() - pref.height() + kBubbleTipSizeTopBottom; pref 1901 ui/views/controls/menu/menu_controller.cc x = owner_bounds.CenterPoint().x() - pref.width() / 2; pref 1905 ui/views/controls/menu/menu_controller.cc } else if (x + pref.width() > state_.monitor_bounds.right()) { pref 1906 ui/views/controls/menu/menu_controller.cc x = state_.monitor_bounds.right() - pref.width(); pref 1909 ui/views/controls/menu/menu_controller.cc pref.width() / 2 - x + x_old); pref 1914 ui/views/controls/menu/menu_controller.cc x = owner_bounds.x() - pref.width() + kBubbleTipSizeLeftRight; pref 1916 ui/views/controls/menu/menu_controller.cc y = owner_bounds.CenterPoint().y() - pref.height() / 2; pref 1920 ui/views/controls/menu/menu_controller.cc } else if (y + pref.height() > state_.monitor_bounds.bottom()) { pref 1921 ui/views/controls/menu/menu_controller.cc y = state_.monitor_bounds.bottom() - pref.height(); pref 1924 ui/views/controls/menu/menu_controller.cc pref.height() / 2 - y + y_old); pref 1926 ui/views/controls/menu/menu_controller.cc return gfx::Rect(x, y, pref.width(), pref.height()); pref 231 ui/views/controls/menu/menu_scroll_view_container.cc gfx::Size pref = scroll_up_button_->GetPreferredSize(); pref 232 ui/views/controls/menu/menu_scroll_view_container.cc scroll_up_button_->SetBounds(x, y, width, pref.height()); pref 233 ui/views/controls/menu/menu_scroll_view_container.cc content_height -= pref.height(); pref 235 ui/views/controls/menu/menu_scroll_view_container.cc const int scroll_view_y = y + pref.height(); pref 237 ui/views/controls/menu/menu_scroll_view_container.cc pref = scroll_down_button_->GetPreferredSize(); pref 238 ui/views/controls/menu/menu_scroll_view_container.cc scroll_down_button_->SetBounds(x, height() - pref.height() - insets.top(), pref 239 ui/views/controls/menu/menu_scroll_view_container.cc width, pref.height()); pref 240 ui/views/controls/menu/menu_scroll_view_container.cc content_height -= pref.height(); pref 32 ui/views/controls/scroll_view_unittest.cc gfx::Size pref = GetPreferredSize(); pref 33 ui/views/controls/scroll_view_unittest.cc int width = pref.width(); pref 34 ui/views/controls/scroll_view_unittest.cc int height = pref.height(); pref 72 ui/views/controls/single_split_view.cc gfx::Size pref = view->GetPreferredSize(); pref 74 ui/views/controls/single_split_view.cc width += pref.width(); pref 75 ui/views/controls/single_split_view.cc height = std::max(height, pref.height()); pref 77 ui/views/controls/single_split_view.cc width = std::max(width, pref.width()); pref 78 ui/views/controls/single_split_view.cc height += pref.height(); pref 50 ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc gfx::Size pref(tabbed_pane->GetPreferredSize()); pref 51 ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc EXPECT_GE(pref.width(), 20); pref 52 ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc EXPECT_GT(pref.height(), 10); pref 311 ui/views/controls/table/table_view.cc gfx::Size pref = GetPreferredSize(); pref 312 ui/views/controls/table/table_view.cc int width = pref.width(); pref 313 ui/views/controls/table/table_view.cc int height = pref.height(); pref 607 ui/views/layout/grid_layout.cc gfx::Size pref; pref 613 ui/views/layout/grid_layout.cc pref = view_state->view->GetPreferredSize(); pref 615 ui/views/layout/grid_layout.cc view_state->pref_width = pref.width(); pref 617 ui/views/layout/grid_layout.cc view_state->pref_height = pref.height(); pref 619 ui/views/layout/grid_layout.cc view_state->remaining_width = pref.width(); pref 620 ui/views/layout/grid_layout.cc view_state->remaining_height = pref.height(); pref 811 ui/views/layout/grid_layout.cc gfx::Size pref; pref 812 ui/views/layout/grid_layout.cc SizeRowsAndColumns(true, host_->width(), host_->height(), &pref); pref 851 ui/views/layout/grid_layout.cc gfx::Size pref; pref 852 ui/views/layout/grid_layout.cc SizeRowsAndColumns(false, width, 0, &pref); pref 853 ui/views/layout/grid_layout.cc return pref.height(); pref 857 ui/views/layout/grid_layout.cc gfx::Size* pref) { pref 860 ui/views/layout/grid_layout.cc pref->SetSize(0, 0); pref 870 ui/views/layout/grid_layout.cc pref->set_width(std::max(pref->width(), (*i)->LayoutWidth())); pref 872 ui/views/layout/grid_layout.cc pref->set_width(pref->width() + insets_.width()); pref 875 ui/views/layout/grid_layout.cc width = width ? width : pref->width(); pref 949 ui/views/layout/grid_layout.cc pref->set_height(rows_[rows_.size() - 1]->Location() + pref 952 ui/views/layout/grid_layout.cc if (layout && height != pref->height()) { pref 955 ui/views/layout/grid_layout.cc LayoutElement::DistributeDelta(height - pref->height(), &rows_); pref 192 ui/views/layout/grid_layout.h void SizeRowsAndColumns(bool layout, int width, int height, gfx::Size* pref); pref 23 ui/views/layout/grid_layout_unittest.cc explicit SettableSizeView(const gfx::Size& pref) { pref 24 ui/views/layout/grid_layout_unittest.cc pref_ = pref; pref 64 ui/views/layout/grid_layout_unittest.cc pref = layout.GetPreferredSize(&host); pref 67 ui/views/layout/grid_layout_unittest.cc gfx::Size pref; pref 89 ui/views/layout/grid_layout_unittest.cc gfx::Size pref = layout.GetPreferredSize(&host); pref 90 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(10, 20), pref); pref 139 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(30, 20), pref); pref 141 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); pref 163 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(100, 60), pref); pref 165 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); pref 188 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(100, 40), pref); pref 190 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); pref 214 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(100, 40), pref); pref 216 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); pref 244 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(25, 30), pref); pref 246 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); pref 275 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(30, 10), pref); pref 277 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); pref 298 ui/views/layout/grid_layout_unittest.cc gfx::Size pref = layout.GetPreferredSize(&host); pref 299 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(100, 20), pref); pref 301 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); pref 388 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(50, 30), pref); pref 408 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(16, 24), pref); pref 410 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); pref 459 ui/views/layout/grid_layout_unittest.cc row_count * pref_height + 4), pref); pref 501 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(40, 40), pref); pref 503 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); pref 527 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(84, 64), pref); pref 529 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); pref 547 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(10, pref.width()); pref 548 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(40, pref.height()); pref 550 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); pref 568 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(30, pref.width()); pref 569 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(10, pref.height()); pref 571 ui/views/layout/grid_layout_unittest.cc host.SetBounds(0, 0, pref.width(), pref.height()); pref 660 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(10, 20), pref); pref 664 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(40, 40), pref);