Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: components/sync/base/proto_value_ptr_unittest.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/sync/base/proto_value_ptr.h ('k') | components/sync/base/protobuf_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/sync/base/proto_value_ptr.h ('k') | components/sync/base/protobuf_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698