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

Unified Diff: chrome/browser/ui/webui/options/autofill_options_handler.h

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
Index: chrome/browser/ui/webui/options/autofill_options_handler.h
===================================================================
--- chrome/browser/ui/webui/options/autofill_options_handler.h (revision 92173)
+++ chrome/browser/ui/webui/options/autofill_options_handler.h (working copy)
@@ -11,8 +11,10 @@
#include "chrome/browser/autofill/personal_data_manager.h"
#include "chrome/browser/ui/webui/options/options_ui.h"
+namespace base {
class DictionaryValue;
class ListValue;
+}
class AutofillOptionsHandler : public OptionsPageUIHandler,
public PersonalDataManager::Observer {
@@ -21,7 +23,7 @@
virtual ~AutofillOptionsHandler();
// OptionsPageUIHandler implementation.
- virtual void GetLocalizedValues(DictionaryValue* localized_strings);
+ virtual void GetLocalizedValues(base::DictionaryValue* localized_strings);
virtual void Initialize();
virtual void RegisterMessages();
@@ -30,50 +32,50 @@
private:
// Loads the strings for the address and credit card overlays.
- void SetAddressOverlayStrings(DictionaryValue* localized_strings);
- void SetCreditCardOverlayStrings(DictionaryValue* localized_strings);
+ void SetAddressOverlayStrings(base::DictionaryValue* localized_strings);
+ void SetCreditCardOverlayStrings(base::DictionaryValue* localized_strings);
// Loads Autofill addresses and credit cards using the PersonalDataManager.
void LoadAutofillData();
// Removes an address from the PersonalDataManager.
// |args| - A string, the GUID of the address to remove.
- void RemoveAddress(const ListValue* args);
+ void RemoveAddress(const base::ListValue* args);
// Removes a credit card from the PersonalDataManager.
// |args| - A string, the GUID of the credit card to remove.
- void RemoveCreditCard(const ListValue* args);
+ void RemoveCreditCard(const base::ListValue* args);
// Requests profile data for a specific address. Calls into WebUI with the
// loaded profile data to open the address editor.
// |args| - A string, the GUID of the address to load.
- void LoadAddressEditor(const ListValue* args);
+ void LoadAddressEditor(const base::ListValue* args);
// Requests profile data for a specific credit card. Calls into WebUI with the
// loaded profile data to open the credit card editor.
// |args| - A string, the GUID of the credit card to load.
- void LoadCreditCardEditor(const ListValue* args);
+ void LoadCreditCardEditor(const base::ListValue* args);
// Adds or updates an address, depending on the GUID of the profile. If the
// GUID is empty, a new address is added to the WebDatabase; otherwise, the
// address with the matching GUID is updated. Called from WebUI.
// |args| - an array containing the GUID of the address followed by the
// address data.
- void SetAddress(const ListValue* args);
+ void SetAddress(const base::ListValue* args);
// Adds or updates a credit card, depending on the GUID of the profile. If the
// GUID is empty, a new credit card is added to the WebDatabase; otherwise,
// the credit card with the matching GUID is updated. Called from WebUI.
// |args| - an array containing the GUID of the credit card followed by the
// credit card data.
- void SetCreditCard(const ListValue* args);
+ void SetCreditCard(const base::ListValue* args);
// Validates a list of phone/fax numbers. The resulting validated list of
// numbers is then sent back to the WebUI.
// |args| - an array containing the index of the modified or added number, the
// array of numbers, and the country code string set on the profile.
- void ValidatePhoneNumbers(const ListValue* args);
- void ValidateFaxNumbers(const ListValue* args);
+ void ValidatePhoneNumbers(const base::ListValue* args);
+ void ValidateFaxNumbers(const base::ListValue* args);
// The personal data manager, used to load Autofill profiles and credit cards.
// Unowned pointer, may not be NULL.
« no previous file with comments | « chrome/browser/ui/webui/options/about_page_handler.h ('k') | chrome/browser/ui/webui/options/certificate_manager_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698