| Index: chrome/browser/autofill/personal_data_manager.h
|
| diff --git a/chrome/browser/autofill/personal_data_manager.h b/chrome/browser/autofill/personal_data_manager.h
|
| index 46b018116397a40c350a69c7e1b1f5cf49989b3d..8d26f298543b277b28129e4c69644fa052ce32b8 100644
|
| --- a/chrome/browser/autofill/personal_data_manager.h
|
| +++ b/chrome/browser/autofill/personal_data_manager.h
|
| @@ -27,13 +27,16 @@
|
| class AutofillMetrics;
|
| class FormStructure;
|
| class PersonalDataManagerObserver;
|
| -class Profile;
|
|
|
| namespace autofill_helper {
|
| void SetProfiles(int, std::vector<AutofillProfile>*);
|
| void SetCreditCards(int, std::vector<CreditCard>*);
|
| }
|
|
|
| +namespace content {
|
| +class BrowserContext;
|
| +}
|
| +
|
| // Handles loading and saving Autofill profile information to the web database.
|
| // This class also stores the profiles loaded from the database for use during
|
| // Autofill.
|
| @@ -220,8 +223,8 @@ class PersonalDataManager
|
| const AutofillMetrics* metric_logger() const;
|
| void set_metric_logger(const AutofillMetrics* metric_logger);
|
|
|
| - // The profile hosting this PersonalDataManager.
|
| - Profile* profile_;
|
| + // The browser context this PersonalDataManager is in.
|
| + content::BrowserContext* browser_context_;
|
|
|
| // True if personal data has been loaded from the web database.
|
| bool is_data_loaded_;
|
| @@ -251,7 +254,7 @@ class PersonalDataManager
|
|
|
| private:
|
| // Kicks off asynchronous loading of profiles and credit cards.
|
| - void Init(Profile* profile);
|
| + void Init(content::BrowserContext* context);
|
|
|
| // For logging UMA metrics. Overridden by metrics tests.
|
| scoped_ptr<const AutofillMetrics> metric_logger_;
|
|
|