/external/chromium_org/chrome/browser/policy/ |
D | managed_bookmarks_policy_handler_unittest.cc | 72 const base::Value* pref_value = NULL; in TEST_F() local 74 store_->GetValue(bookmarks::prefs::kManagedBookmarks, &pref_value)); in TEST_F() 75 ASSERT_TRUE(pref_value); in TEST_F() 106 EXPECT_TRUE(pref_value->Equals(expected.get())); in TEST_F() 145 const base::Value* pref_value = NULL; in TEST_F() local 147 store_->GetValue(bookmarks::prefs::kManagedBookmarks, &pref_value)); in TEST_F() 148 ASSERT_TRUE(pref_value); in TEST_F() 156 EXPECT_TRUE(pref_value->Equals(expected.get())); in TEST_F() 187 const base::Value* pref_value = NULL; in TEST_F() local 189 store_->GetValue(bookmarks::prefs::kManagedBookmarks, &pref_value)); in TEST_F() [all …]
|
/external/chromium_org/components/data_reduction_proxy/browser/ |
D | data_reduction_proxy_statistics_prefs.cc | 67 int64 pref_value = pref_service_->GetInt64(pref); in InitInt64Pref() local 68 pref_map_[pref] = pref_value; in InitInt64Pref() 72 scoped_ptr<base::ListValue> pref_value = scoped_ptr<base::ListValue>( in InitListPref() local 74 list_pref_map_.add(pref, pref_value.Pass()); in InitListPref() 86 int64 pref_value) { in SetInt64() argument 88 pref_service_->SetInt64(pref_path, pref_value); in SetInt64() 93 pref_map_[pref_path] = pref_value; in SetInt64()
|
D | data_reduction_proxy_statistics_prefs.h | 53 void SetInt64(const char* pref_path, int64 pref_value);
|
D | data_reduction_proxy_settings.cc | 69 std::string pref_value; in GetInt64PrefValue() local 70 bool rv = list_value.GetString(index, &pref_value); in GetInt64PrefValue() 73 rv = base::StringToInt64(pref_value, &val); in GetInt64PrefValue()
|
/external/chromium_org/chrome/utility/media_galleries/ |
D | itunes_pref_parser_win.cc | 43 std::string pref_value; in FindLibraryLocationInPrefXml() local 44 if (!reader.ReadElementContent(&pref_value)) in FindLibraryLocationInPrefXml() 49 if (!base::Base64Decode(base::CollapseWhitespaceASCII(pref_value, true), in FindLibraryLocationInPrefXml()
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | options_browsertest.cc | 62 const base::Value* pref_value; in HandleSetPref() local 63 ASSERT_TRUE(args->Get(1, &pref_value)); in HandleSetPref() 65 browser()->profile()->GetPrefs()->Set(pref_name.c_str(), *pref_value); in HandleSetPref()
|
/external/chromium_org/chrome/browser/chromeos/settings/ |
D | stub_cros_settings_provider_unittest.cc | 85 base::StringValue pref_value("testing"); in TEST_F() local 87 provider_->Set(kReleaseChannel, pref_value); in TEST_F() 88 AssertPref(kReleaseChannel, &pref_value); in TEST_F()
|
D | cros_settings_unittest.cc | 57 const base::Value* pref_value = settings_.GetPref(pref); in FetchPref() local 59 ASSERT_TRUE(pref_value); in FetchPref() 60 ASSERT_TRUE(expected_value->Equals(pref_value)); in FetchPref() 62 ASSERT_FALSE(pref_value); in FetchPref()
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_management_test_util.h | 83 const base::Value* pref_value = in ExtensionManagementPrefUpdater() local 85 if (pref_value) { in ExtensionManagementPrefUpdater() 87 pref_value->GetAsDictionary(&dict_value); in ExtensionManagementPrefUpdater()
|
/external/chromium_org/chrome/installer/util/ |
D | chrome_app_host_operations.cc | 26 bool pref_value; in ReadOptions() local 27 if (prefs.GetBool(master_preferences::kMultiInstall, &pref_value) && in ReadOptions() 28 pref_value) { in ReadOptions()
|
D | chrome_frame_operations.cc | 30 bool pref_value; in ReadOptions() local 34 if (prefs.GetBool(scan->pref_name, &pref_value) && pref_value) in ReadOptions()
|
D | chrome_browser_operations.cc | 29 bool pref_value; in ReadOptions() local 31 if (prefs.GetBool(master_preferences::kMultiInstall, &pref_value) && in ReadOptions() 32 pref_value) { in ReadOptions()
|
D | master_preferences.cc | 324 scoped_ptr<base::Value> pref_value; in ExtractPrefString() local 325 if (master_dictionary_->Remove(name, &pref_value)) { in ExtractPrefString() 326 if (!pref_value->GetAsString(&result)) in ExtractPrefString()
|
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
D | core_chromeos_options_handler.cc | 67 base::Value* CreateUsersWhitelist(const base::Value *pref_value) { in CreateUsersWhitelist() argument 69 static_cast<const base::ListValue*>(pref_value); in CreateUsersWhitelist() 167 const base::Value* pref_value = CrosSettings::Get()->GetPref(pref_name); in FetchPref() local 168 if (!pref_value) in FetchPref() 175 dict->Set("value", CreateUsersWhitelist(pref_value)); in FetchPref() 177 dict->Set("value", pref_value->DeepCopy()); in FetchPref()
|
/external/chromium_org/chrome/browser/prefs/ |
D | incognito_mode_prefs.cc | 46 int pref_value = pref_service->GetInteger(prefs::kIncognitoModeAvailability); in GetAvailability() local 48 bool valid = IntToAvailability(pref_value, &result); in GetAvailability()
|
D | session_startup_pref.h | 79 static SessionStartupPref::Type PrefValueToType(int pref_value);
|
D | session_startup_pref.cc | 294 SessionStartupPref::Type SessionStartupPref::PrefValueToType(int pref_value) { in PrefValueToType() argument 295 switch (pref_value) { in PrefValueToType()
|
/external/chromium_org/chrome/common/importer/ |
D | firefox_importer_utils_unittest.cc | 19 std::string pref_value; member 98 GetPrefsJsValueCases[i].pref_value, in TEST()
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/ |
D | slow_ui.cc | 120 base::FundamentalValue pref_value(enabled); in UpdatePage() local 121 web_ui()->CallJavascriptFunction(kJsApiTracingPrefChanged, pref_value); in UpdatePage()
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
D | chrome_launcher_controller_unittest.cc | 458 void InsertPrefValue(base::ListValue* pref_value, in InsertPrefValue() argument 463 pref_value->Insert(index, entry); in InsertPrefValue() 1821 base::ListValue pref_value; in TEST_F() local 1823 pref_value.DeepCopy()); in TEST_F() 1828 InsertPrefValue(&pref_value, 0, extension1_->id()); in TEST_F() 1829 InsertPrefValue(&pref_value, 1, extension2_->id()); in TEST_F() 1830 InsertPrefValue(&pref_value, 2, extension4_->id()); in TEST_F() 1832 pref_value.DeepCopy()); in TEST_F() 1839 InsertPrefValue(&pref_value, 2, extension3_->id()); in TEST_F() 1840 InsertPrefValue(&pref_value, 2, extension3_->id()); in TEST_F() [all …]
|
D | chrome_launcher_controller.cc | 1211 const char* pref_value = NULL; in OnShelfAlignmentChanged() local 1214 pref_value = ash::kShelfAlignmentBottom; in OnShelfAlignmentChanged() 1217 pref_value = ash::kShelfAlignmentLeft; in OnShelfAlignmentChanged() 1220 pref_value = ash::kShelfAlignmentRight; in OnShelfAlignmentChanged() 1223 pref_value = ash::kShelfAlignmentTop; in OnShelfAlignmentChanged() 1227 profile_->GetPrefs(), root_window, prefs::kShelfAlignment, pref_value); in OnShelfAlignmentChanged() 1231 profile_->GetPrefs()->SetString(prefs::kShelfAlignmentLocal, pref_value); in OnShelfAlignmentChanged() 1232 profile_->GetPrefs()->SetString(prefs::kShelfAlignment, pref_value); in OnShelfAlignmentChanged()
|
/external/chromium_org/chrome/browser/ui/prefs/ |
D | prefs_tab_helper.cc | 292 const std::string& pref_value) { in OverrideFontFamily() argument 310 (*map)[script] = base::UTF8ToUTF16(pref_value); in OverrideFontFamily() 598 std::string pref_value = prefs->GetString(pref_name.c_str()); in OnFontFamilyPrefChanged() local 599 if (pref_value.empty()) { in OnFontFamilyPrefChanged()
|
/external/chromium_org/chrome/browser/chromeos/attestation/ |
D | platform_verification_flow.cc | 419 bool* pref_value) { in GetDomainPref() argument 429 if (pref_value) in GetDomainPref() 430 *pref_value = (setting == CONTENT_SETTING_ALLOW); in GetDomainPref()
|
D | platform_verification_flow.h | 256 bool* pref_value);
|
/external/chromium_org/chrome/browser/devtools/device/ |
D | devtools_android_bridge.cc | 925 const base::Value* pref_value = pref->GetValue(); in CreateDeviceProviders() local 928 if (pref_value->GetAsBoolean(&enabled) && enabled) { in CreateDeviceProviders()
|