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

Unified Diff: chrome/browser/dom_ui/autofill_options_handler.h

Issue 3140026: DOMUI: Implement the 'Remove...' button on the AutoFill page. (Closed)
Patch Set: DOMUI fixes. Created 10 years, 4 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/personal_data_manager.cc ('k') | chrome/browser/dom_ui/autofill_options_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/autofill_options_handler.h
diff --git a/chrome/browser/dom_ui/autofill_options_handler.h b/chrome/browser/dom_ui/autofill_options_handler.h
index 247eaef2a904b0ab585f4353cee96cc3e8bb1eeb..73a107440b08c35f8baead780a3a7115010844c5 100644
--- a/chrome/browser/dom_ui/autofill_options_handler.h
+++ b/chrome/browser/dom_ui/autofill_options_handler.h
@@ -28,6 +28,14 @@ class AutoFillOptionsHandler : public OptionsPageUIHandler,
// Loads AutoFill addresses and credit cards using the PersonalDataManager.
void LoadAutoFillData();
+ // Removes an address from the WebDatabase. Called from DOMUI.
+ // |args| - an integer, the unique ID of the address to remove.
+ void RemoveAddress(const ListValue* args);
+
+ // Removes a credit card from the WebDatabase. Called from DOMUI.
+ // |args| - an integer, the unique ID of the credit card to remove.
+ void RemoveCreditCard(const ListValue* args);
+
// The personal data manager, used to load AutoFill profiles and credit cards.
// Unowned pointer, may not be NULL.
PersonalDataManager* personal_data_;
« no previous file with comments | « chrome/browser/autofill/personal_data_manager.cc ('k') | chrome/browser/dom_ui/autofill_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698