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

Side by Side Diff: components/invalidation/object_id_invalidation_map_unittest.cc

Issue 387733004: Move sync/notifier to components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (GN) Comment out dependency on internal target Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/notifier/object_id_invalidation_map.h" 5 #include "components/invalidation/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
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
OLDNEW
« no previous file with comments | « components/invalidation/object_id_invalidation_map_test_util.cc ('k') | components/invalidation/p2p_invalidator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698