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

Unified Diff: chrome/browser/autofill/autofill_merge_unittest.cc

Issue 6931029: Set datapresent string to contain precisely those field types available in stored Autofill data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Signed and delivered Created 9 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/autofill/autofill_manager.cc ('k') | chrome/browser/autofill/credit_card.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_merge_unittest.cc
diff --git a/chrome/browser/autofill/autofill_merge_unittest.cc b/chrome/browser/autofill/autofill_merge_unittest.cc
index 6541e2411e5b245825748cf2e1352fc3130a344a..e754a34a3199221b61e090009806248b3ca1d1dd 100644
--- a/chrome/browser/autofill/autofill_merge_unittest.cc
+++ b/chrome/browser/autofill/autofill_merge_unittest.cc
@@ -75,7 +75,7 @@ class PersonalDataManagerMock : public PersonalDataManager {
// PersonalDataManager:
virtual void SaveImportedProfile(const AutofillProfile& profile) OVERRIDE;
- virtual const std::vector<AutofillProfile*>& web_profiles() OVERRIDE;
+ virtual const std::vector<AutofillProfile*>& web_profiles() const OVERRIDE;
private:
ScopedVector<AutofillProfile> profiles_;
@@ -100,7 +100,8 @@ void PersonalDataManagerMock::SaveImportedProfile(
profiles_.push_back(new AutofillProfile(profile));
}
-const std::vector<AutofillProfile*>& PersonalDataManagerMock::web_profiles() {
+const std::vector<AutofillProfile*>& PersonalDataManagerMock::web_profiles()
+ const {
return profiles_.get();
}
« no previous file with comments | « chrome/browser/autofill/autofill_manager.cc ('k') | chrome/browser/autofill/credit_card.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698