| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "sync/internal_api/public/util/proto_value_ptr.h" | 5 #include "components/sync/base/proto_value_ptr.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 12 | 12 |
| 13 namespace syncer { | 13 namespace syncer { |
| 14 | 14 |
| 15 namespace { | 15 namespace { |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 EXPECT_EQ(1, TestValue::parse_count()); | 239 EXPECT_EQ(1, TestValue::parse_count()); |
| 240 EXPECT_EQ(0, TestValue::copy_count()); | 240 EXPECT_EQ(0, TestValue::copy_count()); |
| 241 | 241 |
| 242 EXPECT_EQ(v1, ptr1->value()); | 242 EXPECT_EQ(v1, ptr1->value()); |
| 243 } | 243 } |
| 244 | 244 |
| 245 EXPECT_EQ(1, TestValue::delete_count()); | 245 EXPECT_EQ(1, TestValue::delete_count()); |
| 246 } | 246 } |
| 247 | 247 |
| 248 } // namespace syncer | 248 } // namespace syncer |
| OLD | NEW |