From e8e9cb384eb82a99b44bd356bb6d1e63035ca155 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 ++++---- 1 file changed, 4 insertions(+), 4 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_