OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/macros.h" |
5 #include "chrome/browser/sync/test/integration/bookmarks_helper.h" | 6 #include "chrome/browser/sync/test/integration/bookmarks_helper.h" |
6 #include "chrome/browser/sync/test/integration/performance/sync_timing_helper.h" | 7 #include "chrome/browser/sync/test/integration/performance/sync_timing_helper.h" |
7 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h" | 8 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h" |
8 #include "chrome/browser/sync/test/integration/sync_test.h" | 9 #include "chrome/browser/sync/test/integration/sync_test.h" |
9 #include "components/bookmarks/browser/bookmark_node.h" | 10 #include "components/bookmarks/browser/bookmark_node.h" |
10 | 11 |
11 using bookmarks_helper::AddURL; | 12 using bookmarks_helper::AddURL; |
12 using bookmarks_helper::AllModelsMatch; | 13 using bookmarks_helper::AllModelsMatch; |
13 using bookmarks_helper::GetBookmarkBarNode; | 14 using bookmarks_helper::GetBookmarkBarNode; |
14 using bookmarks_helper::IndexedURL; | 15 using bookmarks_helper::IndexedURL; |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 dt = SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1)); | 100 dt = SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1)); |
100 ASSERT_EQ(kNumBookmarks, GetURLCount(1)); | 101 ASSERT_EQ(kNumBookmarks, GetURLCount(1)); |
101 SyncTimingHelper::PrintResult("bookmarks", "update_bookmarks", dt); | 102 SyncTimingHelper::PrintResult("bookmarks", "update_bookmarks", dt); |
102 | 103 |
103 // TCM ID - 7566626. | 104 // TCM ID - 7566626. |
104 RemoveURLs(0); | 105 RemoveURLs(0); |
105 dt = SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1)); | 106 dt = SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1)); |
106 ASSERT_EQ(0, GetURLCount(1)); | 107 ASSERT_EQ(0, GetURLCount(1)); |
107 SyncTimingHelper::PrintResult("bookmarks", "delete_bookmarks", dt); | 108 SyncTimingHelper::PrintResult("bookmarks", "delete_bookmarks", dt); |
108 } | 109 } |
OLD | NEW |