Index: components/autofill/core/browser/autofill_manager.h |
diff --git a/components/autofill/core/browser/autofill_manager.h b/components/autofill/core/browser/autofill_manager.h |
index 4b906a5a8f65aea79ea8c5802c8e643a147b3304..9e8663d246a1efdcce0ad93a471f657c1f16aefd 100644 |
--- a/components/autofill/core/browser/autofill_manager.h |
+++ b/components/autofill/core/browser/autofill_manager.h |
@@ -32,6 +32,10 @@ |
#include "components/autofill/core/browser/personal_data_manager.h" |
#include "components/autofill/core/common/form_data.h" |
+#if defined(OS_ANDROID) |
+#include "components/autofill/core/browser/autofill_assistant.h" |
+#endif |
+ |
// This define protects some debugging code (see DumpAutofillData). This |
// is here to make it easier to delete this code when the test is complete, |
// and to prevent adding the code on mobile where there is no desktop (the |
@@ -251,7 +255,6 @@ class AutofillManager : public AutofillDownloadManager::Observer, |
ScopedVector<FormStructure>* form_structures() { return &form_structures_; } |
- protected: |
// Exposed for testing. |
AutofillExternalDelegate* external_delegate() { |
return external_delegate_; |
@@ -535,6 +538,10 @@ class AutofillManager : public AutofillDownloadManager::Observer, |
// Delegate used in test to get notifications on certain events. |
AutofillManagerTestDelegate* test_delegate_; |
+#if defined(OS_ANDROID) |
+ AutofillAssistant autofill_assistant_; |
+#endif |
+ |
base::WeakPtrFactory<AutofillManager> weak_ptr_factory_; |
friend class AutofillManagerTest; |