| Index: chrome/browser/autofill/autocomplete_history_manager.h
|
| diff --git a/chrome/browser/autofill/autocomplete_history_manager.h b/chrome/browser/autofill/autocomplete_history_manager.h
|
| index afdfa8f9e3c608441d27690b83bbeefcd4a64872..07a5e163ba37e0ed4c09e8637808f96bc7505810 100644
|
| --- a/chrome/browser/autofill/autocomplete_history_manager.h
|
| +++ b/chrome/browser/autofill/autocomplete_history_manager.h
|
| @@ -13,6 +13,10 @@
|
| #include "chrome/browser/api/webdata/web_data_service_base.h"
|
| #include "content/public/browser/web_contents_observer.h"
|
|
|
| +namespace content {
|
| +class BrowserContext;
|
| +}
|
| +
|
| namespace webkit {
|
| namespace forms {
|
| struct FormData;
|
| @@ -20,7 +24,6 @@ struct FormData;
|
| }
|
|
|
| class AutofillExternalDelegate;
|
| -class Profile;
|
|
|
| // Per-tab Autocomplete history manager. Handles receiving form data
|
| // from the renderer and the storing and retrieving of form data
|
| @@ -66,7 +69,7 @@ class AutocompleteHistoryManager : public content::WebContentsObserver,
|
|
|
| // For tests.
|
| AutocompleteHistoryManager(content::WebContents* web_contents,
|
| - Profile* profile,
|
| + content::BrowserContext* context,
|
| WebDataServiceBase* wds);
|
|
|
| void SendSuggestions(const std::vector<string16>* suggestions);
|
| @@ -82,7 +85,7 @@ class AutocompleteHistoryManager : public content::WebContentsObserver,
|
| return AutofillWebData::ForService(web_data_service_.get());
|
| }
|
|
|
| - Profile* profile_;
|
| + content::BrowserContext* browser_context_;
|
| scoped_refptr<WebDataServiceBase> web_data_service_;
|
|
|
| BooleanPrefMember autofill_enabled_;
|
|
|