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

Side by Side Diff: chrome/browser/sync/test/integration/two_client_extensions_sync_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/basictypes.h" 5 #include "base/macros.h"
6 #include "build/build_config.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/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_integration_test_util.h" 9 #include "chrome/browser/sync/test/integration/sync_integration_test_util.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::AwaitAllProfilesHaveSameExtensions; 12 using extensions_helper::AwaitAllProfilesHaveSameExtensions;
12 using extensions_helper::AllProfilesHaveSameExtensions; 13 using extensions_helper::AllProfilesHaveSameExtensions;
13 using extensions_helper::DisableExtension; 14 using extensions_helper::DisableExtension;
14 using extensions_helper::EnableExtension; 15 using extensions_helper::EnableExtension;
15 using extensions_helper::GetInstalledExtensions; 16 using extensions_helper::GetInstalledExtensions;
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 ASSERT_EQ(1u, GetInstalledExtensions(GetProfile(0)).size()); 206 ASSERT_EQ(1u, GetInstalledExtensions(GetProfile(0)).size());
206 207
207 UninstallExtension(GetProfile(0), 0); 208 UninstallExtension(GetProfile(0), 0);
208 209
209 ASSERT_TRUE(AwaitAllProfilesHaveSameExtensions()); 210 ASSERT_TRUE(AwaitAllProfilesHaveSameExtensions());
210 EXPECT_TRUE(GetInstalledExtensions(GetProfile(0)).empty()); 211 EXPECT_TRUE(GetInstalledExtensions(GetProfile(0)).empty());
211 } 212 }
212 213
213 // TODO(akalin): Add tests exercising: 214 // TODO(akalin): Add tests exercising:
214 // - Offline installation/uninstallation behavior 215 // - Offline installation/uninstallation behavior
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698