Index: components/autofill/browser/autocomplete_history_manager.h |
diff --git a/components/autofill/browser/autocomplete_history_manager.h b/components/autofill/browser/autocomplete_history_manager.h |
index 9a55fa44b7dfd4cde12625f850f5c9b5f11ab38a..12f1f0278e52efcd1bbe5548267d7de8cd3ddcba 100644 |
--- a/components/autofill/browser/autocomplete_history_manager.h |
+++ b/components/autofill/browser/autocomplete_history_manager.h |
@@ -20,6 +20,7 @@ class BrowserContext; |
namespace autofill { |
class AutofillExternalDelegate; |
+class AutofillManagerDelegate; |
struct FormData; |
// Per-tab Autocomplete history manager. Handles receiving form data |
@@ -28,7 +29,8 @@ struct FormData; |
class AutocompleteHistoryManager : public content::WebContentsObserver, |
public WebDataServiceConsumer { |
public: |
- explicit AutocompleteHistoryManager(content::WebContents* web_contents); |
+ AutocompleteHistoryManager(content::WebContents* web_contents, |
+ autofill::AutofillManagerDelegate* const delegate); |
Ilya Sherman
2013/06/18 05:56:25
nit: It's quite contrary to existing style that I'
sgurun-gerrit only
2013/06/19 00:16:17
Done.
|
virtual ~AutocompleteHistoryManager(); |
// content::WebContentsObserver implementation. |
@@ -86,6 +88,7 @@ class AutocompleteHistoryManager : public content::WebContentsObserver, |
// Delegate to perform external processing (display, selection) on |
// our behalf. Weak. |
AutofillExternalDelegate* external_delegate_; |
+ autofill::AutofillManagerDelegate* const manager_delegate_; |
Ilya Sherman
2013/06/18 05:56:25
(this const is fine and dandy, though :)
sgurun-gerrit only
2013/06/19 00:16:17
Done.
|
DISALLOW_COPY_AND_ASSIGN(AutocompleteHistoryManager); |
}; |