From 4b9e1e4819b87903228d0081f6f7ef0a9fb05ace Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Sat, 4 Aug 2018 07:30:12 +1000 Subject: [PATCH] refactor: update header guard for atom_navigation_throttle.h --- atom/browser/atom_navigation_throttle.h | 8 ++++---- filenames.gni | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/atom/browser/atom_navigation_throttle.h b/atom/browser/atom_navigation_throttle.h index c243902015e5e..ebb7ab6fa2a7a 100644 --- a/atom/browser/atom_navigation_throttle.h +++ b/atom/browser/atom_navigation_throttle.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef ATOM_BROWSER_NET_ATOM_NAVIGATION_THROTTLE_H_ -#define ATOM_BROWSER_NET_ATOM_NAVIGATION_THROTTLE_H_ +#ifndef ATOM_BROWSER_ATOM_NAVIGATION_THROTTLE_H_ +#define ATOM_BROWSER_ATOM_NAVIGATION_THROTTLE_H_ #include "content/public/browser/navigation_throttle.h" @@ -11,7 +11,7 @@ namespace atom { class AtomNavigationThrottle : public content::NavigationThrottle { public: - AtomNavigationThrottle(content::NavigationHandle* handle); + explicit AtomNavigationThrottle(content::NavigationHandle* handle); ~AtomNavigationThrottle() override; AtomNavigationThrottle::ThrottleCheckResult WillRedirectRequest() override; @@ -24,4 +24,4 @@ class AtomNavigationThrottle : public content::NavigationThrottle { } // namespace atom -#endif // ATOM_BROWSER_NET_ATOM_NAVIGATION_THROTTLE_H_ +#endif // ATOM_BROWSER_ATOM_NAVIGATION_THROTTLE_H_ diff --git a/filenames.gni b/filenames.gni index 1ea2f9cc545bc..1b104ef6ad402 100644 --- a/filenames.gni +++ b/filenames.gni @@ -209,8 +209,8 @@ filenames = { "atom/browser/atom_browser_main_parts_posix.cc", "atom/browser/atom_javascript_dialog_manager.cc", "atom/browser/atom_javascript_dialog_manager.h", - "atom/browser/net/atom_navigation_throttle.h", - "atom/browser/net/atom_navigation_throttle.cc", + "atom/browser/atom_navigation_throttle.h", + "atom/browser/atom_navigation_throttle.cc", "atom/browser/atom_permission_manager.cc", "atom/browser/atom_permission_manager.h", "atom/browser/atom_quota_permission_context.cc",