/external/chromium_org/base/prefs/ |
overlay_user_pref_store_unittest.cc | 51 underlay_->SetValue(overlay_key, new FundamentalValue(42)); 55 underlay_->SetValue(overlay_key, new FundamentalValue(43)); 59 overlay_->SetValue(overlay_key, new FundamentalValue(44)); 63 underlay_->SetValue(overlay_key, new FundamentalValue(45)); 75 overlay_->SetValueSilently(overlay_key, new FundamentalValue(46)); 81 underlay_->SetValue(overlay_key, new FundamentalValue(47)); 82 overlay_->SetValue(overlay_key, new FundamentalValue(48)); 91 underlay_->SetValue(overlay_key, new FundamentalValue(42)); 95 EXPECT_TRUE(base::FundamentalValue(42).Equals(value)); 98 EXPECT_TRUE(base::FundamentalValue(42).Equals(value)) [all...] |
pref_registry_simple.cc | 19 RegisterPreference(path, new base::FundamentalValue(default_value)); 24 RegisterPreference(path, new base::FundamentalValue(default_value)); 29 RegisterPreference(path, new base::FundamentalValue(default_value));
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
recommendation_restorer_unittest.cc | 181 base::FundamentalValue(true)); 183 base::FundamentalValue(true)); 185 base::FundamentalValue(true)); 187 base::FundamentalValue(true)); 189 base::FundamentalValue(ash::MAGNIFIER_FULL)); 191 base::FundamentalValue(true)); 209 base::FundamentalValue(false)); 211 base::FundamentalValue(false)); 213 base::FundamentalValue(false)); 215 base::FundamentalValue(false)) [all...] |
device_policy_decoder_chromeos.cc | 48 new base::FundamentalValue(static_cast<int>(value))); 119 new base::FundamentalValue( 131 new base::FundamentalValue( 143 new base::FundamentalValue( 172 new base::FundamentalValue( 235 new base::FundamentalValue( 243 new base::FundamentalValue( 253 base::Value* value = new base::FundamentalValue( 269 new base::FundamentalValue( 398 new base::FundamentalValue( [all...] |
/external/chromium_org/chrome/browser/policy/ |
javascript_policy_handler_unittest.cc | 30 new base::FundamentalValue(true), 37 new base::FundamentalValue(false), 43 EXPECT_TRUE(base::FundamentalValue(CONTENT_SETTING_BLOCK).Equals(value)); 52 new base::FundamentalValue(false), 58 EXPECT_TRUE(base::FundamentalValue(CONTENT_SETTING_BLOCK).Equals(value)); 63 new base::FundamentalValue(CONTENT_SETTING_ALLOW), 68 EXPECT_TRUE(base::FundamentalValue(CONTENT_SETTING_ALLOW).Equals(value));
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
base_screen_handler_utils.cc | 59 base::FundamentalValue MakeValue(bool v) { 60 return base::FundamentalValue(v); 63 base::FundamentalValue MakeValue(int v) { 64 return base::FundamentalValue(v); 67 base::FundamentalValue MakeValue(double v) { 68 return base::FundamentalValue(v);
|
/external/chromium_org/chrome/browser/sessions/ |
restore_on_startup_policy_handler_unittest.cc | 50 SetPolicyValue(key::kRestoreOnStartup, new base::FundamentalValue(false)); 76 new base::FundamentalValue(impossible_value)); 90 new base::FundamentalValue(SessionStartupPref::kPrefValueHomePage)); 103 new base::FundamentalValue(SessionStartupPref::kPrefValueLast)); 122 new base::FundamentalValue(SessionStartupPref::kPrefValueLast)); 123 SetPolicyValue(key::kClearSiteDataOnExit, new base::FundamentalValue(true)); 139 new base::FundamentalValue(SessionStartupPref::kPrefValueLast)); 149 new base::FundamentalValue(SessionStartupPref::kPrefValueURLs)); 159 new base::FundamentalValue(SessionStartupPref::kPrefValueNewTab)); 174 SetPolicyValue(key::kRestoreOnStartup, new base::FundamentalValue(false)) [all...] |
/external/chromium_org/tools/json_schema_compiler/test/ |
error_generation_unittest.cc | 13 using base::FundamentalValue; 65 "integers", new FundamentalValue(5)); 80 new FundamentalValue(5)); 86 new FundamentalValue(5), 87 new FundamentalValue(5)); 99 new FundamentalValue(5)); 122 "string", new FundamentalValue(1.1)); 137 new FundamentalValue(5)); 152 "otherType", new FundamentalValue(1.1)); 165 new FundamentalValue(5)) [all...] |
/external/chromium_org/base/json/ |
json_writer_unittest.cc | 33 root = new FundamentalValue(42); 39 root = new FundamentalValue(true); 45 root = new FundamentalValue(1.0); 51 root = new FundamentalValue(0.2); 57 root = new FundamentalValue(-0.8); 83 list->Append(new FundamentalValue(true)); 112 period_dict.SetWithoutPathExpansion("a.b", new FundamentalValue(3)); 113 period_dict.SetWithoutPathExpansion("c", new FundamentalValue(2)); 115 period_dict2->SetWithoutPathExpansion("g.h.i.j", new FundamentalValue(1)); 121 period_dict3.Set("a.b", new FundamentalValue(2)) [all...] |
/external/chromium_org/extensions/common/ |
value_builder.cc | 20 dict_->SetWithoutPathExpansion(path, new base::FundamentalValue(in_value)); 26 dict_->SetWithoutPathExpansion(path, new base::FundamentalValue(in_value)); 56 dict_->SetWithoutPathExpansion(path, new base::FundamentalValue(in_value)); 68 list_->Append(new base::FundamentalValue(in_value)); 73 list_->Append(new base::FundamentalValue(in_value)); 98 list_->Append(new base::FundamentalValue(in_value));
|
/external/chromium_org/components/policy/core/browser/ |
configuration_policy_handler_unittest.cc | 24 "one", scoped_ptr<base::Value>(new base::FundamentalValue(1)))); 26 "two", scoped_ptr<base::Value>(new base::FundamentalValue(2)))); 138 new base::FundamentalValue(0), 147 new base::FundamentalValue(5), 156 new base::FundamentalValue(10), 167 new base::FundamentalValue(-5), 176 new base::FundamentalValue(15), 206 new base::FundamentalValue(0), 215 new base::FundamentalValue(5), 224 new base::FundamentalValue(10) [all...] |
/external/chromium_org/chrome/browser/ui/webui/chromeos/first_run/ |
first_run_handler.cc | 24 base::FundamentalValue(visible)); 29 base::FundamentalValue(x), 30 base::FundamentalValue(y), 31 base::FundamentalValue(width), 32 base::FundamentalValue(height)); 37 base::FundamentalValue(x), 38 base::FundamentalValue(y), 39 base::FundamentalValue(radius));
|
/external/chromium_org/chrome/browser/content_settings/ |
content_settings_provider_unittest.cc | 25 new base::FundamentalValue(CONTENT_SETTING_BLOCK)); 67 new base::FundamentalValue(CONTENT_SETTING_ALLOW)); 76 new base::FundamentalValue(CONTENT_SETTING_BLOCK)); 97 new base::FundamentalValue(CONTENT_SETTING_BLOCK));
|
content_settings_origin_identifier_value_map_unittest.cc | 26 new base::FundamentalValue(1)); 28 scoped_ptr<base::Value> expected_value(new base::FundamentalValue(1)); 71 new base::FundamentalValue(1)); 121 new base::FundamentalValue(1)); 126 new base::FundamentalValue(1)); 151 new base::FundamentalValue(1)); 157 new base::FundamentalValue(2)); 191 new base::FundamentalValue(1)); 196 new base::FundamentalValue(2));
|
/external/chromium_org/components/content_settings/core/browser/ |
content_settings_rule_unittest.cc | 45 new base::FundamentalValue(0))); 48 new base::FundamentalValue(0))); 52 new base::FundamentalValue(0))); 55 new base::FundamentalValue(0)));
|
/external/chromium_org/chrome/browser/supervised_user/ |
supervised_user_pref_store.cc | 16 using base::FundamentalValue; 94 new FundamentalValue(false)); 96 new FundamentalValue(SupervisedUserURLFilter::ALLOW)); 97 prefs_->SetValue(prefs::kForceSafeSearch, new FundamentalValue(true)); 98 prefs_->SetValue(prefs::kHideWebStoreIcon, new FundamentalValue(true)); 100 new FundamentalValue(IncognitoModePrefs::DISABLED)); 101 prefs_->SetValue(prefs::kSigninAllowed, new FundamentalValue(false));
|
/external/chromium_org/components/json_schema/ |
json_schema_validator_unittest_base.cc | 145 scoped_ptr<base::Value>(new base::FundamentalValue(42)).get(), 148 scoped_ptr<base::Value>(new base::FundamentalValue(false)).get(), 173 scoped_ptr<base::Value>(new base::FundamentalValue(42)).get(), 394 instance->Append(new base::FundamentalValue(42)); 412 instance->Set(0, new base::FundamentalValue(42)); 413 instance->Append(new base::FundamentalValue(42)); 435 instance->Set(2, new base::FundamentalValue(false)); 449 instance->Set(0, new base::FundamentalValue(42)); 492 instance->Append(new base::FundamentalValue(42)); 540 scoped_ptr<base::Value>(new base::FundamentalValue(1)).get() [all...] |
/external/chromium_org/chrome/browser/prefs/ |
leveldb_pref_store_unittest.cc | 76 pref_store_->SetValue(key, new base::FundamentalValue(5)); 77 base::FundamentalValue orig_value(5); 86 pref_store_->SetValue(key, new base::FundamentalValue(5)); 90 base::FundamentalValue orig_value(5); 106 pref_store->SetValue(key, new base::FundamentalValue(5)); 118 pref_store_->SetValueSilently(key, new base::FundamentalValue(30)); 122 base::FundamentalValue value(30); 160 pref_store_->SetValue(key, new base::FundamentalValue(5)); 175 pref_store_->SetValue(key, new base::FundamentalValue(5)); 191 pref_store_->SetValue(key, new base::FundamentalValue(5)) [all...] |
incognito_mode_prefs_unittest.cc | 41 new base::FundamentalValue(IncognitoModePrefs::ENABLED)); 46 new base::FundamentalValue(IncognitoModePrefs::DISABLED)); 51 new base::FundamentalValue(IncognitoModePrefs::FORCED)); 61 new base::FundamentalValue(-1));
|
/external/chromium_org/components/policy/core/common/ |
policy_bundle_unittest.cc | 33 new base::FundamentalValue(123), 43 new base::FundamentalValue(true), 65 new base::FundamentalValue(value), 68 kPolicyClashing1, level, scope, new base::FundamentalValue(value), NULL); 72 new base::FundamentalValue(value), 203 new base::FundamentalValue(0), 208 new base::FundamentalValue(1), 213 new base::FundamentalValue(0), 218 new base::FundamentalValue(1), 223 new base::FundamentalValue(2) [all...] |
policy_map_unittest.cc | 88 SetPolicy(&c, kTestPolicyName2, new base::FundamentalValue(true)); 137 SetPolicy(&b, kTestPolicyName3, new base::FundamentalValue(true)); 142 base::FundamentalValue expected_bool(true); 172 new base::FundamentalValue(true), 180 new base::FundamentalValue(false), 197 new base::FundamentalValue(false), 205 new base::FundamentalValue(true), 215 new base::FundamentalValue(true), 231 new base::FundamentalValue(true), 240 new base::FundamentalValue(true) [all...] |
/external/chromium_org/dbus/ |
values_util_unittest.cc | 53 expected_value.reset(new base::FundamentalValue(kByteValue)); 58 expected_value.reset(new base::FundamentalValue(kBoolValue)); 63 expected_value.reset(new base::FundamentalValue(kInt16Value)); 68 expected_value.reset(new base::FundamentalValue(kUint16Value)); 73 expected_value.reset(new base::FundamentalValue(kInt32Value)); 79 new base::FundamentalValue(static_cast<double>(kUint32Value))); 85 new base::FundamentalValue(static_cast<double>(kInt64Value))); 91 new base::FundamentalValue(static_cast<double>(kUint64Value))); 96 expected_value.reset(new base::FundamentalValue(kDoubleValue)); 134 expected_value.reset(new base::FundamentalValue(kBoolValue)) [all...] |
/external/chromium_org/content/browser/webui/ |
web_ui_message_handler_unittest.cc | 21 list.Append(new base::FundamentalValue(zero_value)); 26 list.Append(new base::FundamentalValue(neg_value)); 31 list.Append(new base::FundamentalValue(pos_value)); 58 list.Append(new base::FundamentalValue(zero_value)); 63 list.Append(new base::FundamentalValue(neg_value)); 68 list.Append(new base::FundamentalValue(pos_value));
|
/external/chromium_org/chrome/browser/chromeos/settings/ |
cros_settings_unittest.cc | 109 AddExpectation(kAccountsPrefAllowGuest, new base::FundamentalValue(false)); 117 AddExpectation(kAccountsPrefAllowGuest, new base::FundamentalValue(true)); 126 AddExpectation(kAccountsPrefAllowNewUser, new base::FundamentalValue(false)); 137 AddExpectation(kAccountsPrefAllowNewUser, new base::FundamentalValue(false)); 152 AddExpectation(kAccountsPrefAllowNewUser, new base::FundamentalValue(false)); 169 AddExpectation(kAccountsPrefAllowNewUser, new base::FundamentalValue(true)); 179 base::FundamentalValue disallow_new(false); 181 AddExpectation(kAccountsPrefAllowNewUser, new base::FundamentalValue(false)); 194 AddExpectation(kAccountsPrefAllowNewUser, new base::FundamentalValue(false)); 204 AddExpectation(kAccountsPrefAllowNewUser, new base::FundamentalValue(true)) [all...] |
/external/chromium_org/extensions/browser/api/socket/ |
socket_api.cc | 202 SetResult(new base::FundamentalValue(-1)); 227 SetResult(new base::FundamentalValue(-1)); 239 SetResult(new base::FundamentalValue(lookup_result)); 251 SetResult(new base::FundamentalValue(result)); 282 SetResult(new base::FundamentalValue(result)); 292 SetResult(new base::FundamentalValue(result)); 297 SetResult(new base::FundamentalValue(result)); 302 SetResult(new base::FundamentalValue(result)); 325 SetResult(new base::FundamentalValue(result)); 338 SetResult(new base::FundamentalValue(result)) [all...] |