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

Side by Side Diff: chrome/browser/sync/test/integration/performance/bookmarks_sync_perf_test.cc

Issue 865163003: bookmarks: Move BookmarkNode into 'bookmarks' namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enhanced_bookmarks fix Created 5 years, 10 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
OLDNEW
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 "chrome/browser/sync/test/integration/bookmarks_helper.h" 5 #include "chrome/browser/sync/test/integration/bookmarks_helper.h"
6 #include "chrome/browser/sync/test/integration/performance/sync_timing_helper.h" 6 #include "chrome/browser/sync/test/integration/performance/sync_timing_helper.h"
7 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h" 7 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h"
8 #include "chrome/browser/sync/test/integration/sync_test.h" 8 #include "chrome/browser/sync/test/integration/sync_test.h"
9 #include "components/bookmarks/browser/bookmark_node.h"
9 10
10 using bookmarks_helper::AddURL; 11 using bookmarks_helper::AddURL;
11 using bookmarks_helper::AllModelsMatch; 12 using bookmarks_helper::AllModelsMatch;
12 using bookmarks_helper::GetBookmarkBarNode; 13 using bookmarks_helper::GetBookmarkBarNode;
13 using bookmarks_helper::IndexedURL; 14 using bookmarks_helper::IndexedURL;
14 using bookmarks_helper::IndexedURLTitle; 15 using bookmarks_helper::IndexedURLTitle;
15 using bookmarks_helper::Remove; 16 using bookmarks_helper::Remove;
16 using bookmarks_helper::SetURL; 17 using bookmarks_helper::SetURL;
17 18
18 static const int kNumBookmarks = 150; 19 static const int kNumBookmarks = 150;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 dt = SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1)); 99 dt = SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1));
99 ASSERT_EQ(kNumBookmarks, GetURLCount(1)); 100 ASSERT_EQ(kNumBookmarks, GetURLCount(1));
100 SyncTimingHelper::PrintResult("bookmarks", "update_bookmarks", dt); 101 SyncTimingHelper::PrintResult("bookmarks", "update_bookmarks", dt);
101 102
102 // TCM ID - 7566626. 103 // TCM ID - 7566626.
103 RemoveURLs(0); 104 RemoveURLs(0);
104 dt = SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1)); 105 dt = SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1));
105 ASSERT_EQ(0, GetURLCount(1)); 106 ASSERT_EQ(0, GetURLCount(1));
106 SyncTimingHelper::PrintResult("bookmarks", "delete_bookmarks", dt); 107 SyncTimingHelper::PrintResult("bookmarks", "delete_bookmarks", dt);
107 } 108 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698