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