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

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

Issue 2345843003: [Sync] Merge //components/browser_sync into one directory. (Closed)
Patch Set: Address comment + rebase. Created 4 years, 3 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 #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/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
11 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/sync/test/integration/sync_test.h" 12 #include "chrome/browser/sync/test/integration/sync_test.h"
13 #include "components/autofill/core/common/password_form.h" 13 #include "components/autofill/core/common/password_form.h"
14 #include "components/browser_sync/browser/profile_sync_service.h" 14 #include "components/browser_sync/profile_sync_service.h"
15 15
16 namespace password_manager { 16 namespace password_manager {
17 class PasswordStore; 17 class PasswordStore;
18 } 18 }
19 19
20 namespace passwords_helper { 20 namespace passwords_helper {
21 21
22 // Adds the login held in |form| to the password store |store|. Even though 22 // Adds the login held in |form| to the password store |store|. Even though
23 // logins are normally added asynchronously, this method will block until the 23 // logins are normally added asynchronously, this method will block until the
24 // login is added. 24 // login is added.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // Returns the number of forms in the password store of the verifier profile. 90 // Returns the number of forms in the password store of the verifier profile.
91 int GetVerifierPasswordCount(); 91 int GetVerifierPasswordCount();
92 92
93 // Creates a test password form with a well known fake signon realm used only 93 // Creates a test password form with a well known fake signon realm used only
94 // by PasswordsSyncPerfTest based on |index|. 94 // by PasswordsSyncPerfTest based on |index|.
95 autofill::PasswordForm CreateTestPasswordForm(int index); 95 autofill::PasswordForm CreateTestPasswordForm(int index);
96 96
97 } // namespace passwords_helper 97 } // namespace passwords_helper
98 98
99 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_PASSWORDS_HELPER_H_ 99 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_PASSWORDS_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698