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