#include "components/autofill/content/browser/content_autofill_driver_factory.h"
#include <memory>
#include <utility>
#include <vector>
#include "base/feature_list.h"
#include "base/metrics/histogram_functions.h"
#include "components/autofill/content/browser/content_autofill_client.h"
#include "components/autofill/content/browser/content_autofill_driver.h"
#include "components/autofill/core/browser/autofill_experiments.h"
#include "components/autofill/core/browser/browser_autofill_manager.h"
#include "components/autofill/core/browser/payments/payments_autofill_client.h"
#include "components/autofill/core/common/autofill_features.h"
#include "content/public/browser/global_routing_id.h"
#include "content/public/browser/navigation_handle.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/web_contents.h"
#include "third_party/blink/public/common/features.h"
namespace autofill {
class ScopedAutofillManagersObservation;
void ContentAutofillDriverFactory::Observer::OnAutofillDriverFactoryDestroyed(
AutofillDriverFactory& factory) { … }
void ContentAutofillDriverFactory::Observer::OnAutofillDriverCreated(
AutofillDriverFactory& factory,
AutofillDriver& driver) { … }
void ContentAutofillDriverFactory::Observer::OnAutofillDriverStateChanged(
AutofillDriverFactory& factory,
AutofillDriver& driver,
LifecycleState old_state,
LifecycleState new_state) { … }
ContentAutofillDriverFactory* ContentAutofillDriverFactory::FromWebContents(
content::WebContents* contents) { … }
void ContentAutofillDriverFactory::BindAutofillDriver(
content::RenderFrameHost* render_frame_host,
mojo::PendingAssociatedReceiver<mojom::AutofillDriver> pending_receiver) { … }
ContentAutofillDriverFactory::ContentAutofillDriverFactory(
content::WebContents* web_contents,
ContentAutofillClient* client)
: … { … }
ContentAutofillDriverFactory::~ContentAutofillDriverFactory() { … }
ContentAutofillDriver* ContentAutofillDriverFactory::DriverForFrame(
content::RenderFrameHost* render_frame_host) { … }
void ContentAutofillDriverFactory::RenderFrameDeleted(
content::RenderFrameHost* render_frame_host) { … }
void ContentAutofillDriverFactory::RenderFrameHostStateChanged(
content::RenderFrameHost* render_frame_host,
content::RenderFrameHost::LifecycleState old_state,
content::RenderFrameHost::LifecycleState new_state) { … }
void ContentAutofillDriverFactory::DidFinishNavigation(
content::NavigationHandle* navigation_handle) { … }
std::vector<ContentAutofillDriver*>
ContentAutofillDriverFactory::GetExistingDrivers(
base::PassKey<ScopedAutofillManagersObservation>) { … }
}