From ac1b7169d6404a5fac57f1033eaae79839d642d5 Mon Sep 17 00:00:00 2001 From: Heilig Benedek Date: Thu, 13 Jun 2019 01:11:03 +0200 Subject: [PATCH] lint --- atom/browser/atom_autofill_driver.cc | 2 ++ atom/browser/atom_autofill_driver.h | 4 ++-- atom/browser/atom_autofill_driver_factory.cc | 4 ++++ atom/browser/atom_autofill_driver_factory.h | 3 ++- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/atom/browser/atom_autofill_driver.cc b/atom/browser/atom_autofill_driver.cc index 8c9e38c3db637..1571cc7e6e1fc 100644 --- a/atom/browser/atom_autofill_driver.cc +++ b/atom/browser/atom_autofill_driver.cc @@ -4,6 +4,8 @@ #include "atom/browser/atom_autofill_driver.h" +#include + #include "atom/browser/api/atom_api_web_contents.h" #include "atom/browser/native_window.h" #include "content/public/browser/render_widget_host_view.h" diff --git a/atom/browser/atom_autofill_driver.h b/atom/browser/atom_autofill_driver.h index 7af1426d21b72..11f86c8fb9b75 100644 --- a/atom/browser/atom_autofill_driver.h +++ b/atom/browser/atom_autofill_driver.h @@ -5,7 +5,7 @@ #ifndef ATOM_BROWSER_ATOM_AUTOFILL_DRIVER_H_ #define ATOM_BROWSER_ATOM_AUTOFILL_DRIVER_H_ -#include +#include #if defined(TOOLKIT_VIEWS) #include "atom/browser/ui/autofill_popup.h" @@ -18,7 +18,7 @@ namespace atom { class AutofillDriver : public mojom::ElectronAutofillDriver { public: - AutofillDriver(content::RenderFrameHost* render_frame_host); + explicit AutofillDriver(content::RenderFrameHost* render_frame_host); ~AutofillDriver() override; diff --git a/atom/browser/atom_autofill_driver_factory.cc b/atom/browser/atom_autofill_driver_factory.cc index 8c6ef9bf72b2c..447a55387e89b 100644 --- a/atom/browser/atom_autofill_driver_factory.cc +++ b/atom/browser/atom_autofill_driver_factory.cc @@ -4,6 +4,10 @@ #include "atom/browser/atom_autofill_driver_factory.h" +#include +#include +#include + #include "atom/browser/atom_autofill_driver.h" #include "base/bind.h" #include "base/callback.h" diff --git a/atom/browser/atom_autofill_driver_factory.h b/atom/browser/atom_autofill_driver_factory.h index 3feadf7b8da17..b7ed467fbb1ec 100644 --- a/atom/browser/atom_autofill_driver_factory.h +++ b/atom/browser/atom_autofill_driver_factory.h @@ -5,6 +5,7 @@ #ifndef ATOM_BROWSER_ATOM_AUTOFILL_DRIVER_FACTORY_H_ #define ATOM_BROWSER_ATOM_AUTOFILL_DRIVER_FACTORY_H_ +#include #include #include "base/callback_forward.h" @@ -19,7 +20,7 @@ class AutofillDriver; class AutofillDriverFactory : public content::WebContentsObserver, public base::SupportsUserData::Data { public: - AutofillDriverFactory(content::WebContents* web_contents); + explicit AutofillDriverFactory(content::WebContents* web_contents); ~AutofillDriverFactory() override;