From 720f837c64e5587f07a53780ac64e5374b5cebf6 Mon Sep 17 00:00:00 2001 From: bridiver Date: Wed, 25 Oct 2017 15:46:47 -0700 Subject: [PATCH] lint fixes --- atom/browser/common_web_contents_delegate.cc | 6 +++--- brave/browser/brave_browser_context.cc | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/atom/browser/common_web_contents_delegate.cc b/atom/browser/common_web_contents_delegate.cc index 54a703544a..ef28803f54 100644 --- a/atom/browser/common_web_contents_delegate.cc +++ b/atom/browser/common_web_contents_delegate.cc @@ -19,9 +19,9 @@ #include "base/strings/utf_string_conversions.h" #include "brave/browser/brave_javascript_dialog_manager.h" #include "chrome/browser/certificate_viewer.h" +#include "chrome/browser/file_select_helper.h" #include "chrome/browser/ssl/security_state_tab_helper.h" #include "chrome/browser/ui/browser.h" -#include "chrome/browser/file_select_helper.h" #include "chrome/browser/ui/browser_dialogs.h" #include "chrome/common/pref_names.h" #include "chrome/grit/generated_resources.h" @@ -278,13 +278,13 @@ content::ColorChooser* CommonWebContentsDelegate::OpenColorChooser( void CommonWebContentsDelegate::RunFileChooser( content::RenderFrameHost* render_frame_host, const content::FileChooserParams& params) { - FileSelectHelper::RunFileChooser(render_frame_host, params); + FileSelectHelper::RunFileChooser(render_frame_host, params); } void CommonWebContentsDelegate::EnumerateDirectory(content::WebContents* guest, int request_id, const base::FilePath& path) { - FileSelectHelper::EnumerateDirectory(guest, request_id, path); + FileSelectHelper::EnumerateDirectory(guest, request_id, path); } void CommonWebContentsDelegate::EnterFullscreenModeForTab( diff --git a/brave/browser/brave_browser_context.cc b/brave/browser/brave_browser_context.cc index 32dfc5079a..bef6e75cb2 100644 --- a/brave/browser/brave_browser_context.cc +++ b/brave/browser/brave_browser_context.cc @@ -638,11 +638,12 @@ BraveBrowserContext::GetIOTaskRunner() { } base::FilePath BraveBrowserContext::last_selected_directory() { - return GetPrefs()->GetFilePath(prefs::kSelectFileLastDirectory); + return GetPrefs()->GetFilePath(prefs::kSelectFileLastDirectory); } -void BraveBrowserContext::set_last_selected_directory(const base::FilePath& path) { - GetPrefs()->SetFilePath(prefs::kSelectFileLastDirectory, path); +void BraveBrowserContext::set_last_selected_directory( + const base::FilePath& path) { + GetPrefs()->SetFilePath(prefs::kSelectFileLastDirectory, path); } } // namespace brave