Index: chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc |
diff --git a/chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc b/chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc |
index 9ef2a0490650fc5a64b8ddf84136a1e3e4100fd2..789fd1a24a27bae5bfbea88d1f6040f2cdd9bbf1 100644 |
--- a/chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc |
+++ b/chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc |
@@ -68,34 +68,6 @@ TEST_F(PrefServiceHashStoreContentsTest, Reset) { |
} |
} |
-TEST_F(PrefServiceHashStoreContentsTest, GetAndSetVersion) { |
- int version = 0; |
- { |
- PrefServiceHashStoreContents contents("store_id", &local_state_); |
- ASSERT_FALSE(contents.GetVersion(&version)); |
- (*contents.GetMutableContents())->Set("foo", new base::StringValue("bar")); |
- ASSERT_FALSE(contents.GetVersion(&version)); |
- } |
- { |
- PrefServiceHashStoreContents contents("store_id", &local_state_); |
- ASSERT_FALSE(contents.GetVersion(&version)); |
- contents.SetVersion(1); |
- ASSERT_TRUE(contents.GetVersion(&version)); |
- ASSERT_EQ(1, version); |
- } |
- |
- version = 0; |
- |
- { |
- PrefServiceHashStoreContents contents("store_id", &local_state_); |
- ASSERT_TRUE(contents.GetVersion(&version)); |
- ASSERT_EQ(1, version); |
- PrefServiceHashStoreContents other_contents("other_store_id", |
- &local_state_); |
- ASSERT_FALSE(other_contents.GetVersion(&version)); |
- } |
-} |
- |
TEST_F(PrefServiceHashStoreContentsTest, GetAndSetContents) { |
{ |
PrefServiceHashStoreContents contents("store_id", &local_state_); |