| Index: chrome/browser/autofill/autofill_manager_delegate.h
|
| diff --git a/chrome/browser/autofill/autofill_manager_delegate.h b/chrome/browser/autofill/autofill_manager_delegate.h
|
| index 1bd95badebf58f332668c15e1e2051924f209afb..915354b7b7d3584d35a7915bb2b5fb037072c68c 100644
|
| --- a/chrome/browser/autofill/autofill_manager_delegate.h
|
| +++ b/chrome/browser/autofill/autofill_manager_delegate.h
|
| @@ -9,6 +9,10 @@ namespace autofill {
|
| class PasswordGenerator;
|
| }
|
|
|
| +namespace content {
|
| +class BrowserContext;
|
| +}
|
| +
|
| namespace gfx {
|
| class Rect;
|
| }
|
| @@ -36,6 +40,13 @@ class AutofillManagerDelegate {
|
| public:
|
| virtual ~AutofillManagerDelegate() {}
|
|
|
| + // Gets the BrowserContext the AutofillManager is in.
|
| + virtual content::BrowserContext* GetBrowserContext() const = 0;
|
| +
|
| + // Gets the BrowserContext the AutofillManager is in, or if in an
|
| + // incognito mode, the associated (original) BrowserContext.
|
| + virtual content::BrowserContext* GetOriginalBrowserContext() const = 0;
|
| +
|
| // Gets the infobar service associated with the delegate.
|
| virtual InfoBarService* GetInfoBarService() = 0;
|
|
|
|
|