#include "components/autofill/content/browser/scoped_autofill_managers_observation.h"
#include "base/check_op.h"
#include "base/scoped_multi_source_observation.h"
#include "base/scoped_observation.h"
#include "components/autofill/content/browser/content_autofill_driver.h"
#include "components/autofill/content/browser/content_autofill_driver_factory.h"
#include "components/autofill/core/browser/autofill_manager.h"
#include "content/public/browser/web_contents.h"
namespace autofill {
ScopedAutofillManagersObservation::ScopedAutofillManagersObservation(
AutofillManager::Observer* observer)
: … { … }
ScopedAutofillManagersObservation::~ScopedAutofillManagersObservation() { … }
void ScopedAutofillManagersObservation::Observe(
ContentAutofillDriverFactory* factory,
InitializationPolicy initialization_policy) { … }
void ScopedAutofillManagersObservation::Observe(
content::WebContents* contents,
InitializationPolicy initialization_policy) { … }
void ScopedAutofillManagersObservation::Reset() { … }
content::WebContents* ScopedAutofillManagersObservation::web_contents() { … }
void ScopedAutofillManagersObservation::OnContentAutofillDriverFactoryDestroyed(
ContentAutofillDriverFactory& factory) { … }
void ScopedAutofillManagersObservation::OnContentAutofillDriverCreated(
ContentAutofillDriverFactory& factory,
ContentAutofillDriver& driver) { … }
void ScopedAutofillManagersObservation::OnContentAutofillDriverStateChanged(
ContentAutofillDriverFactory& factory,
ContentAutofillDriver& driver,
AutofillDriver::LifecycleState old_state,
AutofillDriver::LifecycleState new_state) { … }
}