summaryrefslogtreecommitdiffstats
path: root/components/autofill
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-12 06:09:42 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-12 06:09:42 +0000
commit92df53131b2650267fc3081954397e66e78fc850 (patch)
treea250898e2e6783343df1ee3d3a911f93ed948353 /components/autofill
parent6851e940187c108e558296e44879c3021d5da516 (diff)
downloadchromium_src-92df53131b2650267fc3081954397e66e78fc850.zip
chromium_src-92df53131b2650267fc3081954397e66e78fc850.tar.gz
chromium_src-92df53131b2650267fc3081954397e66e78fc850.tar.bz2
rAc: Remove unused Edit functionality.
Biggest change is updating the tests. BUG=none Review URL: https://chromiumcodereview.appspot.com/23691051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222727 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/autofill')
-rw-r--r--components/autofill/content/browser/wallet/wallet_test_util.h5
-rw-r--r--components/autofill/core/browser/autofill_metrics.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/components/autofill/content/browser/wallet/wallet_test_util.h b/components/autofill/content/browser/wallet/wallet_test_util.h
index c6289b5..781ea19 100644
--- a/components/autofill/content/browser/wallet/wallet_test_util.h
+++ b/components/autofill/content/browser/wallet/wallet_test_util.h
@@ -34,6 +34,11 @@ scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentWithId(
scoped_ptr<WalletItems::MaskedInstrument>
GetTestMaskedInstrumentWithIdAndAddress(
const std::string& id, scoped_ptr<Address> address);
+scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentWithDetails(
+ const std::string& id,
+ scoped_ptr<Address> address,
+ WalletItems::MaskedInstrument::Type type,
+ WalletItems::MaskedInstrument::Status status);
scoped_ptr<Address> GetTestSaveableAddress();
scoped_ptr<Address> GetTestShippingAddress();
scoped_ptr<Address> GetTestNonDefaultShippingAddress();
diff --git a/components/autofill/core/browser/autofill_metrics.h b/components/autofill/core/browser/autofill_metrics.h
index 35dc2de..c9f56a9 100644
--- a/components/autofill/core/browser/autofill_metrics.h
+++ b/components/autofill/core/browser/autofill_metrics.h
@@ -130,10 +130,10 @@ class AutofillMetrics {
// Showing the editing UI for a section of the dialog:
DEPRECATED_DIALOG_UI_EMAIL_EDIT_UI_SHOWN,
- DIALOG_UI_BILLING_EDIT_UI_SHOWN,
- DIALOG_UI_CC_BILLING_EDIT_UI_SHOWN,
- DIALOG_UI_SHIPPING_EDIT_UI_SHOWN,
- DIALOG_UI_CC_EDIT_UI_SHOWN,
+ DEPRECATED_DIALOG_UI_BILLING_EDIT_UI_SHOWN,
+ DEPRECATED_DIALOG_UI_CC_BILLING_EDIT_UI_SHOWN,
+ DEPRECATED_DIALOG_UI_SHIPPING_EDIT_UI_SHOWN,
+ DEPRECATED_DIALOG_UI_CC_EDIT_UI_SHOWN,
// Adding a new item in a section of the dialog:
DEPRECATED_DIALOG_UI_EMAIL_ITEM_ADDED,