Home
last modified time | relevance | path

Searched refs:sync_value (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/chrome/browser/prefs/
Dprefs_syncable_service_unittest.cc566 base::StringValue sync_value("http://crbug.com"); in TEST_F() local
569 1, prefs::kHomePage, sync_value, SyncChange::ACTION_UPDATE)); in TEST_F()
573 EXPECT_TRUE(sync_value.Equals(prefs_.GetUserPref(prefs::kHomePage))); in TEST_F()
609 base::ListValue sync_value; in TEST_F() local
610 sync_value.Append(new base::StringValue("http://crbug.com")); in TEST_F()
613 1, prefs::kURLsToRestoreOnStartup, sync_value, in TEST_F()
619 EXPECT_TRUE(sync_value.Equals( in TEST_F()
665 base::StringValue sync_value("http://example.com/sync"); in TEST_F() local
668 1, prefs::kHomePage, sync_value, SyncChange::ACTION_UPDATE)); in TEST_F()
678 EXPECT_TRUE(sync_value.Equals(&GetPreferenceValue(prefs::kHomePage))); in TEST_F()
Dpref_model_associator.cc115 scoped_ptr<base::Value> sync_value(reader.ReadToValue(preference.value())); in InitPrefAndAssociate() local
116 if (!sync_value.get()) { in InitPrefAndAssociate()
126 MergePreference(pref_name, *user_pref_value, *sync_value)); in InitPrefAndAssociate()
144 if (!sync_value->Equals(new_value.get())) { in InitPrefAndAssociate()
188 } else if (!sync_value->IsType(base::Value::TYPE_NULL)) { in InitPrefAndAssociate()
190 pref_service_->Set(pref_name.c_str(), *sync_value); in InitPrefAndAssociate()
/external/chromium_org/chrome/browser/extensions/api/storage/
Dsyncable_settings_storage.cc221 scoped_ptr<base::Value> sync_value; in OverwriteLocalSettingsWithSync() local
222 if (new_sync_state->RemoveWithoutPathExpansion(it.key(), &sync_value)) { in OverwriteLocalSettingsWithSync()
223 if (sync_value->Equals(&it.value())) { in OverwriteLocalSettingsWithSync()
232 sync_value.Pass())); in OverwriteLocalSettingsWithSync()
/external/chromium_org/chrome/browser/ui/webui/
Dsync_setup_handler.cc152 bool sync_value; in GetConfiguration() local
153 if (!result->GetBoolean(key_name, &sync_value)) { in GetConfiguration()
157 if (sync_value) in GetConfiguration()