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 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_PASSWORDS_HELPER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_PASSWORDS_HELPER_H_ |
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_PASSWORDS_HELPER_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_PASSWORDS_HELPER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/time.h" | |
11 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
12 #include "chrome/browser/sync/profile_sync_service.h" | 11 #include "chrome/browser/sync/profile_sync_service.h" |
13 #include "chrome/browser/sync/test/integration/sync_test.h" | 12 #include "chrome/browser/sync/test/integration/sync_test.h" |
14 #include "content/public/common/password_form.h" | 13 #include "content/public/common/password_form.h" |
15 | 14 |
16 class PasswordStore; | 15 class PasswordStore; |
17 | 16 |
18 namespace passwords_helper { | 17 namespace passwords_helper { |
19 | 18 |
20 // Adds the login held in |form| to the password store |store|. Even though | 19 // Adds the login held in |form| to the password store |store|. Even though |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // Returns the number of forms in the password store of the verifier profile. | 77 // Returns the number of forms in the password store of the verifier profile. |
79 int GetVerifierPasswordCount(); | 78 int GetVerifierPasswordCount(); |
80 | 79 |
81 // Creates a test password form with a well known fake signon realm used only | 80 // Creates a test password form with a well known fake signon realm used only |
82 // by LivePasswordsSyncTest based on |index|. | 81 // by LivePasswordsSyncTest based on |index|. |
83 content::PasswordForm CreateTestPasswordForm(int index); | 82 content::PasswordForm CreateTestPasswordForm(int index); |
84 | 83 |
85 } // namespace passwords_helper | 84 } // namespace passwords_helper |
86 | 85 |
87 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_PASSWORDS_HELPER_H_ | 86 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_PASSWORDS_HELPER_H_ |
OLD | NEW |