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

Side by Side Diff: chrome/browser/sync/test/integration/two_client_password_manager_setting_migrator_service_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) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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/prefs/pref_service.h" 6 #include "base/prefs/pref_service.h"
6 #include "chrome/browser/sync/test/integration/password_manager_setting_migrator _helper.h" 7 #include "chrome/browser/sync/test/integration/password_manager_setting_migrator _helper.h"
7 #include "chrome/browser/sync/test/integration/preferences_helper.h" 8 #include "chrome/browser/sync/test/integration/preferences_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_integration_test_util.h" 10 #include "chrome/browser/sync/test/integration/sync_integration_test_util.h"
10 #include "chrome/browser/sync/test/integration/sync_test.h" 11 #include "chrome/browser/sync/test/integration/sync_test.h"
11 #include "chrome/common/pref_names.h" 12 #include "chrome/common/pref_names.h"
12 #include "components/password_manager/core/common/password_manager_pref_names.h" 13 #include "components/password_manager/core/common/password_manager_pref_names.h"
13 #include "components/syncable_prefs/pref_service_syncable.h" 14 #include "components/syncable_prefs/pref_service_syncable.h"
14 #include "content/public/test/test_browser_thread_bundle.h" 15 #include "content/public/test/test_browser_thread_bundle.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 112
112 IN_PROC_BROWSER_TEST_F( 113 IN_PROC_BROWSER_TEST_F(
113 TwoClientsPasswordManagerSettingMigratorServiceSyncTest, 114 TwoClientsPasswordManagerSettingMigratorServiceSyncTest,
114 ChangeNewPrefOnNonMigratedClientOneClientsWithMigration) { 115 ChangeNewPrefOnNonMigratedClientOneClientsWithMigration) {
115 ASSERT_TRUE(SetupSync()); 116 ASSERT_TRUE(SetupSync());
116 EnsureMigrationStartsForClient(0); 117 EnsureMigrationStartsForClient(0);
117 TestPrefChangeOnClient(1, kCredentialsEnableService); 118 TestPrefChangeOnClient(1, kCredentialsEnableService);
118 ASSERT_TRUE(AwaitBooleanPrefMatches(kPasswordManagerSavingEnabled)); 119 ASSERT_TRUE(AwaitBooleanPrefMatches(kPasswordManagerSavingEnabled));
119 ExpectValueOnBothClientsForBothPreference(false); 120 ExpectValueOnBothClientsForBothPreference(false);
120 } 121 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698