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

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

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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 "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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698