Searched defs:pref_value (Results 1 - 19 of 19) sorted by path

/external/chromium_org/chrome/browser/chromeos/attestation/
H A Dplatform_verification_flow.cc419 bool* pref_value) {
429 if (pref_value)
430 *pref_value = (setting == CONTENT_SETTING_ALLOW);
416 GetDomainPref( HostContentSettingsMap* content_settings, const GURL& url, bool* pref_value) argument
/external/chromium_org/chrome/browser/chromeos/settings/
H A Dcros_settings_unittest.cc57 const base::Value* pref_value = settings_.GetPref(pref); local
59 ASSERT_TRUE(pref_value);
60 ASSERT_TRUE(expected_value->Equals(pref_value));
62 ASSERT_FALSE(pref_value);
/external/chromium_org/chrome/browser/devtools/device/
H A Ddevtools_android_bridge.cc925 const base::Value* pref_value = pref->GetValue(); local
928 if (pref_value->GetAsBoolean(&enabled) && enabled) {
/external/chromium_org/chrome/browser/extensions/
H A Dextension_management_test_util.h83 const base::Value* pref_value = local
85 if (pref_value) {
87 pref_value->GetAsDictionary(&dict_value);
/external/chromium_org/chrome/browser/policy/
H A Dmanaged_bookmarks_policy_handler_unittest.cc72 const base::Value* pref_value = NULL; local
74 store_->GetValue(bookmarks::prefs::kManagedBookmarks, &pref_value));
75 ASSERT_TRUE(pref_value);
106 EXPECT_TRUE(pref_value->Equals(expected.get()));
145 const base::Value* pref_value = NULL; local
147 store_->GetValue(bookmarks::prefs::kManagedBookmarks, &pref_value));
148 ASSERT_TRUE(pref_value);
156 EXPECT_TRUE(pref_value->Equals(expected.get()));
187 const base::Value* pref_value = NULL; local
189 store_->GetValue(bookmarks::prefs::kManagedBookmarks, &pref_value));
[all...]
/external/chromium_org/chrome/browser/prefs/
H A Dincognito_mode_prefs.cc46 int pref_value = pref_service->GetInteger(prefs::kIncognitoModeAvailability); local
48 bool valid = IntToAvailability(pref_value, &result);
H A Dsession_startup_pref.cc294 SessionStartupPref::Type SessionStartupPref::PrefValueToType(int pref_value) { argument
295 switch (pref_value) {
/external/chromium_org/chrome/browser/ui/ash/launcher/
H A Dchrome_launcher_controller.cc1211 const char* pref_value = NULL; local
1214 pref_value = ash::kShelfAlignmentBottom;
1217 pref_value = ash::kShelfAlignmentLeft;
1220 pref_value = ash::kShelfAlignmentRight;
1223 pref_value = ash::kShelfAlignmentTop;
1227 profile_->GetPrefs(), root_window, prefs::kShelfAlignment, pref_value);
1231 profile_->GetPrefs()->SetString(prefs::kShelfAlignmentLocal, pref_value);
1232 profile_->GetPrefs()->SetString(prefs::kShelfAlignment, pref_value);
H A Dchrome_launcher_controller_unittest.cc458 void InsertPrefValue(base::ListValue* pref_value, argument
463 pref_value->Insert(index, entry);
1821 base::ListValue pref_value; local
1823 pref_value.DeepCopy());
1828 InsertPrefValue(&pref_value, 0, extension1_->id());
1829 InsertPrefValue(&pref_value, 1, extension2_->id());
1830 InsertPrefValue(&pref_value, 2, extension4_->id());
1832 pref_value.DeepCopy());
1839 InsertPrefValue(&pref_value, 2, extension3_->id());
1840 InsertPrefValue(&pref_value,
1874 base::ListValue pref_value; local
[all...]
/external/chromium_org/chrome/browser/ui/prefs/
H A Dprefs_tab_helper.cc288 // Sets a font family pref in |prefs| to |pref_value|.
292 const std::string& pref_value) {
310 (*map)[script] = base::UTF8ToUTF16(pref_value);
598 std::string pref_value = prefs->GetString(pref_name.c_str()); local
599 if (pref_value.empty()) {
289 OverrideFontFamily(WebPreferences* prefs, const std::string& generic_family, const std::string& script, const std::string& pref_value) argument
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
H A Dcore_chromeos_options_handler.cc67 base::Value* CreateUsersWhitelist(const base::Value *pref_value) { argument
69 static_cast<const base::ListValue*>(pref_value);
167 const base::Value* pref_value = CrosSettings::Get()->GetPref(pref_name); local
168 if (!pref_value)
175 dict->Set("value", CreateUsersWhitelist(pref_value));
177 dict->Set("value", pref_value->DeepCopy());
/external/chromium_org/chrome/browser/ui/webui/options/
H A Doptions_browsertest.cc62 const base::Value* pref_value; local
63 ASSERT_TRUE(args->Get(1, &pref_value));
65 browser()->profile()->GetPrefs()->Set(pref_name.c_str(), *pref_value);
/external/chromium_org/chrome/common/importer/
H A Dfirefox_importer_utils_unittest.cc19 std::string pref_value; member in struct:__anon5675::GetPrefsJsValueCase
98 GetPrefsJsValueCases[i].pref_value,
/external/chromium_org/chrome/installer/util/
H A Dchrome_app_host_operations.cc26 bool pref_value; local
27 if (prefs.GetBool(master_preferences::kMultiInstall, &pref_value) &&
28 pref_value) {
H A Dchrome_browser_operations.cc29 bool pref_value; local
31 if (prefs.GetBool(master_preferences::kMultiInstall, &pref_value) &&
32 pref_value) {
H A Dchrome_frame_operations.cc30 bool pref_value; local
34 if (prefs.GetBool(scan->pref_name, &pref_value) && pref_value)
H A Dmaster_preferences.cc324 scoped_ptr<base::Value> pref_value; local
325 if (master_dictionary_->Remove(name, &pref_value)) {
326 if (!pref_value->GetAsString(&result))
/external/chromium_org/components/data_reduction_proxy/browser/
H A Ddata_reduction_proxy_settings.cc69 std::string pref_value; local
70 bool rv = list_value.GetString(index, &pref_value);
73 rv = base::StringToInt64(pref_value, &val);
H A Ddata_reduction_proxy_statistics_prefs.cc67 int64 pref_value = pref_service_->GetInt64(pref); local
68 pref_map_[pref] = pref_value;
72 scoped_ptr<base::ListValue> pref_value = scoped_ptr<base::ListValue>( local
74 list_pref_map_.add(pref, pref_value.Pass());
86 int64 pref_value) {
88 pref_service_->SetInt64(pref_path, pref_value);
93 pref_map_[pref_path] = pref_value;
85 SetInt64(const char* pref_path, int64 pref_value) argument

Completed in 518 milliseconds