Index: chrome/browser/ui/autofill/tab_autofill_manager_delegate.h |
diff --git a/chrome/browser/ui/autofill/tab_autofill_manager_delegate.h b/chrome/browser/ui/autofill/tab_autofill_manager_delegate.h |
index 9864f1d3e2824313c68aa212021835ff83b5c7b3..19734f582cd22f248effbbb471b425952dacb66a 100644 |
--- a/chrome/browser/ui/autofill/tab_autofill_manager_delegate.h |
+++ b/chrome/browser/ui/autofill/tab_autofill_manager_delegate.h |
@@ -75,6 +75,11 @@ class TabAutofillManagerDelegate |
const content::LoadCommittedDetails& details, |
const content::FrameNavigateParams& params) OVERRIDE; |
+ // Exposed for testing. |
+ AutofillDialogControllerImpl* dialog_controller() { |
+ return dialog_controller_.get(); |
+ } |
Ilya Sherman
2013/06/19 23:56:14
nit: If this is just for testing, please make this
Dan Beam
2013/06/20 00:26:57
the test interacts with the public interface and d
Ilya Sherman
2013/06/20 01:11:27
Seems like you should be able to use an instance o
Dan Beam
2013/06/20 01:47:09
we talked about this and landed on GetDialogContro
|
+ |
private: |
explicit TabAutofillManagerDelegate(content::WebContents* web_contents); |
friend class content::WebContentsUserData<TabAutofillManagerDelegate>; |