| Index: components/autofill/browser/autofill_external_delegate.cc
|
| diff --git a/components/autofill/browser/autofill_external_delegate.cc b/components/autofill/browser/autofill_external_delegate.cc
|
| index 0286b4bff18ba5536edaf62cce86c59ab4dd35d8..34a5b56e010ed8c951db80adfd9fcc8f16a2604f 100644
|
| --- a/components/autofill/browser/autofill_external_delegate.cc
|
| +++ b/components/autofill/browser/autofill_external_delegate.cc
|
| @@ -7,6 +7,7 @@
|
| #include "components/autofill/browser/autofill_external_delegate.h"
|
| #include "components/autofill/browser/autofill_manager.h"
|
| #include "components/autofill/common/autofill_messages.h"
|
| +#include "content/public/browser/browser_context.h"
|
| #include "content/public/browser/navigation_controller.h"
|
| #include "content/public/browser/notification_service.h"
|
| #include "content/public/browser/notification_source.h"
|
| @@ -390,4 +391,8 @@ void AutofillExternalDelegate::Observe(
|
| }
|
| }
|
|
|
| +bool AutofillExternalDelegate::ShouldIgnoreFormData() {
|
| + return web_contents_->GetBrowserContext()->IsOffTheRecord();
|
| +}
|
| +
|
| } // namespace autofill
|
|
|