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

Side by Side Diff: chrome/browser/sync/test/integration/performance/extensions_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) 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/macros.h"
5 #include "base/strings/stringprintf.h" 6 #include "base/strings/stringprintf.h"
6 #include "chrome/browser/sync/test/integration/extensions_helper.h" 7 #include "chrome/browser/sync/test/integration/extensions_helper.h"
7 #include "chrome/browser/sync/test/integration/performance/sync_timing_helper.h" 8 #include "chrome/browser/sync/test/integration/performance/sync_timing_helper.h"
8 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h" 9 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h"
9 #include "chrome/browser/sync/test/integration/sync_test.h" 10 #include "chrome/browser/sync/test/integration/sync_test.h"
10 11
11 using extensions_helper::AllProfilesHaveSameExtensions; 12 using extensions_helper::AllProfilesHaveSameExtensions;
12 using extensions_helper::AllProfilesHaveSameExtensionsAsVerifier; 13 using extensions_helper::AllProfilesHaveSameExtensionsAsVerifier;
13 using extensions_helper::DisableExtension; 14 using extensions_helper::DisableExtension;
14 using extensions_helper::EnableExtension; 15 using extensions_helper::EnableExtension;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 dt = SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1)); 94 dt = SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1));
94 ASSERT_EQ(expected_extension_count, GetExtensionCount(1)); 95 ASSERT_EQ(expected_extension_count, GetExtensionCount(1));
95 SyncTimingHelper::PrintResult("extensions", "update_extensions", dt); 96 SyncTimingHelper::PrintResult("extensions", "update_extensions", dt);
96 97
97 // TCM ID - 7567721. 98 // TCM ID - 7567721.
98 RemoveExtensions(0); 99 RemoveExtensions(0);
99 dt = SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1)); 100 dt = SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1));
100 ASSERT_EQ(num_default_extensions, GetExtensionCount(1)); 101 ASSERT_EQ(num_default_extensions, GetExtensionCount(1));
101 SyncTimingHelper::PrintResult("extensions", "delete_extensions", dt); 102 SyncTimingHelper::PrintResult("extensions", "delete_extensions", dt);
102 } 103 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698