From 578b717b5f369d658f48708199b7c010a8f8414d Mon Sep 17 00:00:00 2001 From: deepak1556 Date: Wed, 18 Jan 2017 23:23:54 +0530 Subject: [PATCH] fix cpplint error --- atom/browser/atom_browser_main_parts.cc | 2 +- atom/browser/atom_resource_dispatcher_host_delegate.cc | 2 +- atom/browser/atom_resource_dispatcher_host_delegate.h | 2 ++ atom/browser/atom_web_ui_controller_factory.cc | 8 ++++++-- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/atom/browser/atom_browser_main_parts.cc b/atom/browser/atom_browser_main_parts.cc index eb09b18b71f6..eeae1d591114 100644 --- a/atom/browser/atom_browser_main_parts.cc +++ b/atom/browser/atom_browser_main_parts.cc @@ -8,11 +8,11 @@ #include "atom/browser/atom_access_token_store.h" #include "atom/browser/atom_browser_client.h" #include "atom/browser/atom_browser_context.h" +#include "atom/browser/atom_web_ui_controller_factory.h" #include "atom/browser/bridge_task_runner.h" #include "atom/browser/browser.h" #include "atom/browser/javascript_environment.h" #include "atom/browser/node_debugger.h" -#include "atom/browser/atom_web_ui_controller_factory.h" #include "atom/common/api/atom_bindings.h" #include "atom/common/node_bindings.h" #include "atom/common/node_includes.h" diff --git a/atom/browser/atom_resource_dispatcher_host_delegate.cc b/atom/browser/atom_resource_dispatcher_host_delegate.cc index 25bd1def944f..aa507c38c3d2 100644 --- a/atom/browser/atom_resource_dispatcher_host_delegate.cc +++ b/atom/browser/atom_resource_dispatcher_host_delegate.cc @@ -7,8 +7,8 @@ #include "atom/browser/login_handler.h" #include "atom/browser/web_contents_permission_helper.h" #include "atom/common/platform_util.h" -#include "base/strings/utf_string_conversions.h" #include "base/strings/stringprintf.h" +#include "base/strings/utf_string_conversions.h" #include "content/public/browser/browser_thread.h" #include "content/public/browser/stream_handle.h" #include "content/public/browser/stream_info.h" diff --git a/atom/browser/atom_resource_dispatcher_host_delegate.h b/atom/browser/atom_resource_dispatcher_host_delegate.h index 2a5ca1edd0ab..65735f18f8d9 100644 --- a/atom/browser/atom_resource_dispatcher_host_delegate.h +++ b/atom/browser/atom_resource_dispatcher_host_delegate.h @@ -5,6 +5,8 @@ #ifndef ATOM_BROWSER_ATOM_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ #define ATOM_BROWSER_ATOM_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ +#include + #include "content/public/browser/resource_dispatcher_host_delegate.h" namespace atom { diff --git a/atom/browser/atom_web_ui_controller_factory.cc b/atom/browser/atom_web_ui_controller_factory.cc index 1c0c1be03e34..0d80b07a6e07 100644 --- a/atom/browser/atom_web_ui_controller_factory.cc +++ b/atom/browser/atom_web_ui_controller_factory.cc @@ -4,10 +4,13 @@ #include "atom/browser/atom_web_ui_controller_factory.h" +#include +#include + #include "atom/browser/ui/webui/pdf_viewer_handler.h" #include "base/memory/ptr_util.h" -#include "base/strings/string_util.h" #include "base/strings/string_split.h" +#include "base/strings/string_util.h" #include "content/public/browser/render_view_host.h" #include "content/public/browser/url_data_source.h" #include "content/public/browser/web_contents.h" @@ -122,7 +125,8 @@ class PdfViewerUI : public content::WebUIController { private: DISALLOW_COPY_AND_ASSIGN(PdfViewerUI); }; -} + +} // namespace // static AtomWebUIControllerFactory* AtomWebUIControllerFactory::GetInstance() {