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

Side by Side Diff: sync/sessions/nudge_tracker_unittest.cc

Issue 377413003: Remove most remaining sync/notifier dependencies (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Attempt to fix win compile 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
« no previous file with comments | « sync/sessions/nudge_tracker.cc ('k') | sync/sync_notifier.gypi » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/message_loop/message_loop.h" 5 #include "base/message_loop/message_loop.h"
6 #include "base/run_loop.h" 6 #include "base/run_loop.h"
7 #include "sync/internal_api/public/base/model_type_test_util.h" 7 #include "sync/internal_api/public/base/model_type_test_util.h"
8 #include "sync/notifier/invalidation_util.h"
9 #include "sync/notifier/mock_ack_handler.h"
10 #include "sync/notifier/object_id_invalidation_map.h"
11 #include "sync/sessions/nudge_tracker.h" 8 #include "sync/sessions/nudge_tracker.h"
12 #include "sync/test/mock_invalidation.h" 9 #include "sync/test/mock_invalidation.h"
13 #include "sync/test/mock_invalidation_tracker.h" 10 #include "sync/test/mock_invalidation_tracker.h"
14 #include "sync/test/trackable_mock_invalidation.h" 11 #include "sync/test/trackable_mock_invalidation.h"
15 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
16 13
17 namespace syncer { 14 namespace syncer {
18 15
19 namespace { 16 namespace {
20 17
(...skipping 833 matching lines...) Expand 10 before | Expand all | Expand 10 after
854 EXPECT_TRUE(IsInvalidationAcknowledged(inv2_id)); 851 EXPECT_TRUE(IsInvalidationAcknowledged(inv2_id));
855 EXPECT_TRUE(IsInvalidationAcknowledged(inv3_id)); 852 EXPECT_TRUE(IsInvalidationAcknowledged(inv3_id));
856 EXPECT_TRUE(IsInvalidationAcknowledged(inv4_id)); 853 EXPECT_TRUE(IsInvalidationAcknowledged(inv4_id));
857 EXPECT_TRUE(IsInvalidationAcknowledged(inv5_id)); 854 EXPECT_TRUE(IsInvalidationAcknowledged(inv5_id));
858 855
859 EXPECT_TRUE(AllInvalidationsAccountedFor()); 856 EXPECT_TRUE(AllInvalidationsAccountedFor());
860 } 857 }
861 858
862 } // namespace sessions 859 } // namespace sessions
863 } // namespace syncer 860 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/sessions/nudge_tracker.cc ('k') | sync/sync_notifier.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698