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

Side by Side Diff: chrome/browser/sync/test/integration/password_manager_setting_migrator_helper.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_PASSWORD_MANAGER_SETTING_MIGRATOR_H ELPER_H_ 4 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_PASSWORD_MANAGER_SETTING_MIGRATOR_H ELPER_H_
5 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_PASSWORD_MANAGER_SETTING_MIGRATOR_H ELPER_H_ 5 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_PASSWORD_MANAGER_SETTING_MIGRATOR_H ELPER_H_
6 6
7 namespace base {
8 class FieldTrial;
9 }
10
11 class Profile; 7 class Profile;
12 8
13 namespace password_manager_setting_migrater_helper { 9 namespace password_manager_setting_migrater_helper {
14 10
15 // Ensures that the password manager setting migration field trial experiment is 11 // Ensures that the password manager setting migration field trial experiment is
16 // enabled. Returns false if it already was enabled, and true if it got enabled 12 // enabled. Returns false if it already was enabled, and true if it got enabled
17 // during this call. 13 // during this call.
18 bool EnsureFieldTrialSetup(); 14 bool EnsureFieldTrialSetup();
19 15
20 // Triggers Initalization of the PasswordManagerSettingMigrator service. 16 // Triggers Initalization of the PasswordManagerSettingMigrator service.
21 // The service registers observes which are required in order to perform 17 // The service registers observes which are required in order to perform
22 // migration. 18 // migration.
23 void InitializePreferencesMigration(Profile* profile); 19 void InitializePreferencesMigration(Profile* profile);
24 20
25 // Checks that on the client number |index| the value for 21 // Checks that on the client number |index| the value for
26 // kCredentialsEnableService is equal to |new_pref_value| and the value for 22 // kCredentialsEnableService is equal to |new_pref_value| and the value for
27 // kPasswordManagerSavingEnabled is equal to |old_pref_value|. 23 // kPasswordManagerSavingEnabled is equal to |old_pref_value|.
28 void ExpectPrefValuesOnClient(int index, 24 void ExpectPrefValuesOnClient(int index,
29 bool new_pref_value, 25 bool new_pref_value,
30 bool old_pref_value); 26 bool old_pref_value);
31 27
32 } // namespace password_manager_setting_migrater_helper 28 } // namespace password_manager_setting_migrater_helper
33 29
34 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_PASSWORD_MANAGER_SETTING_MIGRATO R_HELPER_H_ 30 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_PASSWORD_MANAGER_SETTING_MIGRATO R_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698