| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/invalidation/object_id_invalidation_map.h" | 5 #include "components/invalidation/public/object_id_invalidation_map.h" |
| 6 | 6 |
| 7 #include "google/cacheinvalidation/types.pb.h" | 7 #include "google/cacheinvalidation/types.pb.h" |
| 8 | 8 |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 10 |
| 11 namespace syncer { | 11 namespace syncer { |
| 12 | 12 |
| 13 namespace { | 13 namespace { |
| 14 | 14 |
| 15 class ObjectIdInvalidationMapTest : public testing::Test { | 15 class ObjectIdInvalidationMapTest : public testing::Test { |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 scoped_ptr<base::ListValue> value = invalidate_all.ToValue(); | 95 scoped_ptr<base::ListValue> value = invalidate_all.ToValue(); |
| 96 ASSERT_TRUE(value.get()); | 96 ASSERT_TRUE(value.get()); |
| 97 ObjectIdInvalidationMap deserialized; | 97 ObjectIdInvalidationMap deserialized; |
| 98 deserialized.ResetFromValue(*value.get()); | 98 deserialized.ResetFromValue(*value.get()); |
| 99 EXPECT_TRUE(invalidate_all == deserialized); | 99 EXPECT_TRUE(invalidate_all == deserialized); |
| 100 } | 100 } |
| 101 | 101 |
| 102 } // namespace | 102 } // namespace |
| 103 | 103 |
| 104 } // namespace syncer | 104 } // namespace syncer |
| OLD | NEW |