Fix build/header_guard linter violations in brightray

This commit is contained in:
Kevin Sawicki 2017-05-18 15:05:25 -07:00
parent bb4a61c7ff
commit cfb5b6ac89
41 changed files with 96 additions and 89 deletions

View file

@ -1 +1 @@
filter=-build/header_guard,-build/include_what_you_use,-legal/copyright,-runtime/references filter=-build/include_what_you_use,-legal/copyright,-runtime/references

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef BROWSER_BRIGHTRAY_PATHS_H_ #ifndef BRIGHTRAY_BROWSER_BRIGHTRAY_PATHS_H_
#define BROWSER_BRIGHTRAY_PATHS_H_ #define BRIGHTRAY_BROWSER_BRIGHTRAY_PATHS_H_
#if defined(OS_WIN) #if defined(OS_WIN)
#include "base/base_paths_win.h" #include "base/base_paths_win.h"
@ -40,4 +40,4 @@ enum {
} // namespace brightray } // namespace brightray
#endif // BROWSER_BRIGHTRAY_PATHS_H_ #endif // BRIGHTRAY_BROWSER_BRIGHTRAY_PATHS_H_

View file

@ -64,4 +64,4 @@ class BrowserClient : public content::ContentBrowserClient {
} // namespace brightray } // namespace brightray
#endif #endif // BRIGHTRAY_BROWSER_BROWSER_CLIENT_H_

View file

@ -140,4 +140,4 @@ class BrowserContext : public base::RefCounted<BrowserContext>,
} // namespace brightray } // namespace brightray
#endif #endif // BRIGHTRAY_BROWSER_BROWSER_CONTEXT_H_

View file

@ -57,4 +57,4 @@ class BrowserMainParts : public content::BrowserMainParts {
} // namespace brightray } // namespace brightray
#endif #endif // BRIGHTRAY_BROWSER_BROWSER_MAIN_PARTS_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef BROWSER_DEVTOOLS_FILE_SYSTEM_INDEXER_H_ #ifndef BRIGHTRAY_BROWSER_DEVTOOLS_FILE_SYSTEM_INDEXER_H_
#define BROWSER_DEVTOOLS_FILE_SYSTEM_INDEXER_H_ #define BRIGHTRAY_BROWSER_DEVTOOLS_FILE_SYSTEM_INDEXER_H_
#include <stdint.h> #include <stdint.h>
@ -112,4 +112,4 @@ class DevToolsFileSystemIndexer
} // namespace brightray } // namespace brightray
#endif // BROWSER_DEVTOOLS_FILE_SYSTEM_INDEXER_H_ #endif // BRIGHTRAY_BROWSER_DEVTOOLS_FILE_SYSTEM_INDEXER_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE-CHROMIUM file. // found in the LICENSE-CHROMIUM file.
#ifndef BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_ #ifndef BRIGHTRAY_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_
#define BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_ #define BRIGHTRAY_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_
#include "base/macros.h" #include "base/macros.h"
#include "base/compiler_specific.h" #include "base/compiler_specific.h"
@ -38,4 +38,4 @@ class DevToolsManagerDelegate : public content::DevToolsManagerDelegate {
} // namespace brightray } // namespace brightray
#endif // BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_ #endif // BRIGHTRAY_BROWSER_DEVTOOLS_MANAGER_DELEGATE_H_

View file

@ -24,4 +24,4 @@ class DevToolsUI : public content::WebUIController {
} // namespace brightray } // namespace brightray
#endif #endif // BRIGHTRAY_BROWSER_DEVTOOLS_UI_H_

View file

@ -1,5 +1,5 @@
#ifndef BRIGHTRAY_INSPECTABLE_WEB_CONTENTS_H_ #ifndef BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_H_
#define BRIGHTRAY_INSPECTABLE_WEB_CONTENTS_H_ #define BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_H_
#include "content/public/browser/web_contents.h" #include "content/public/browser/web_contents.h"
@ -50,4 +50,4 @@ class InspectableWebContents {
} // namespace brightray } // namespace brightray
#endif #endif // BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_H_

View file

@ -1,5 +1,5 @@
#ifndef BRIGHTRAY_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_ #ifndef BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_
#define BRIGHTRAY_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_ #define BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_
#include <string> #include <string>
@ -31,4 +31,4 @@ class InspectableWebContentsDelegate {
} // namespace brightray } // namespace brightray
#endif // BRIGHTRAY_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_ #endif // BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_

View file

@ -195,4 +195,4 @@ class InspectableWebContentsImpl :
} // namespace brightray } // namespace brightray
#endif #endif // BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_IMPL_H_

View file

@ -56,4 +56,4 @@ class InspectableWebContentsView {
} // namespace brightray } // namespace brightray
#endif #endif // BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_H_

View file

@ -1,5 +1,5 @@
#ifndef BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_ #ifndef BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_
#define BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_ #define BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_
#include "ui/gfx/image/image_skia.h" #include "ui/gfx/image/image_skia.h"
@ -25,4 +25,4 @@ class InspectableWebContentsViewDelegate {
} // namespace brightray } // namespace brightray
#endif // BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_ #endif // BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_

View file

@ -42,4 +42,4 @@ class InspectableWebContentsViewMac : public InspectableWebContentsView {
} // namespace brightray } // namespace brightray
#endif #endif // BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_MAC_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by the MIT license that can be // Use of this source code is governed by the MIT license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef BROWSER_LINUX_LIBNOTIFY_NOTIFICATION_H_ #ifndef BRIGHTRAY_BROWSER_LINUX_LIBNOTIFY_NOTIFICATION_H_
#define BROWSER_LINUX_LIBNOTIFY_NOTIFICATION_H_ #define BRIGHTRAY_BROWSER_LINUX_LIBNOTIFY_NOTIFICATION_H_
#include "browser/linux/libnotify_loader.h" #include "browser/linux/libnotify_loader.h"
#include "browser/notification.h" #include "browser/notification.h"
@ -41,4 +41,4 @@ class LibnotifyNotification : public Notification {
} // namespace brightray } // namespace brightray
#endif // BROWSER_LINUX_LIBNOTIFY_NOTIFICATION_H_ #endif // BRIGHTRAY_BROWSER_LINUX_LIBNOTIFY_NOTIFICATION_H_

View file

@ -3,8 +3,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE-CHROMIUM file. // found in the LICENSE-CHROMIUM file.
#ifndef BRIGHTRAY_BROWSER_NOTIFICATION_PRESENTER_LINUX_H_ #ifndef BRIGHTRAY_BROWSER_LINUX_NOTIFICATION_PRESENTER_LINUX_H_
#define BRIGHTRAY_BROWSER_NOTIFICATION_PRESENTER_LINUX_H_ #define BRIGHTRAY_BROWSER_LINUX_NOTIFICATION_PRESENTER_LINUX_H_
#include "browser/notification_presenter.h" #include "browser/notification_presenter.h"
@ -24,4 +24,4 @@ class NotificationPresenterLinux : public NotificationPresenter {
} // namespace brightray } // namespace brightray
#endif #endif // BRIGHTRAY_BROWSER_LINUX_NOTIFICATION_PRESENTER_LINUX_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by the MIT license that can be // Use of this source code is governed by the MIT license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef BROWSER_MAC_COCOA_NOTIFICATION_H_ #ifndef BRIGHTRAY_BROWSER_MAC_COCOA_NOTIFICATION_H_
#define BROWSER_MAC_COCOA_NOTIFICATION_H_ #define BRIGHTRAY_BROWSER_MAC_COCOA_NOTIFICATION_H_
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
@ -39,4 +39,4 @@ class CocoaNotification : public Notification {
} // namespace brightray } // namespace brightray
#endif // BROWSER_MAC_COCOA_NOTIFICATION_H_ #endif // BRIGHTRAY_BROWSER_MAC_COCOA_NOTIFICATION_H_

View file

@ -3,8 +3,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE-CHROMIUM file. // found in the LICENSE-CHROMIUM file.
#ifndef BRIGHTRAY_BROWSER_NOTIFICATION_PRESENTER_MAC_H_ #ifndef BRIGHTRAY_BROWSER_MAC_NOTIFICATION_PRESENTER_MAC_H_
#define BRIGHTRAY_BROWSER_NOTIFICATION_PRESENTER_MAC_H_ #define BRIGHTRAY_BROWSER_MAC_NOTIFICATION_PRESENTER_MAC_H_
#include "base/mac/scoped_nsobject.h" #include "base/mac/scoped_nsobject.h"
#include "browser/mac/notification_center_delegate.h" #include "browser/mac/notification_center_delegate.h"
@ -33,4 +33,4 @@ class NotificationPresenterMac : public NotificationPresenter {
} // namespace brightray } // namespace brightray
#endif #endif // BRIGHTRAY_BROWSER_MAC_NOTIFICATION_PRESENTER_MAC_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef BROWSER_DEVTOOLS_NETWORK_CONDITIONS_H_ #ifndef BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_CONDITIONS_H_
#define BROWSER_DEVTOOLS_NETWORK_CONDITIONS_H_ #define BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_CONDITIONS_H_
#include "base/macros.h" #include "base/macros.h"
@ -36,4 +36,4 @@ class DevToolsNetworkConditions {
} // namespace brightray } // namespace brightray
#endif // BROWSER_DEVTOOLS_NETWORK_CONDITIONS_H_ #endif // BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_CONDITIONS_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE-CHROMIUM file. // found in the LICENSE-CHROMIUM file.
#ifndef BROWSER_DEVTOOLS_NETWORK_CONTROLLER_H_ #ifndef BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_CONTROLLER_H_
#define BROWSER_DEVTOOLS_NETWORK_CONTROLLER_H_ #define BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_CONTROLLER_H_
#include <unordered_map> #include <unordered_map>
#include <memory> #include <memory>
@ -41,4 +41,4 @@ class DevToolsNetworkController {
} // namespace brightray } // namespace brightray
#endif // BROWSER_DEVTOOLS_NETWORK_CONTROLLER_H_ #endif // BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_CONTROLLER_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE-CHROMIUM file. // found in the LICENSE-CHROMIUM file.
#ifndef BROWSER_DEVTOOLS_NETWORK_CONTROLLER_HANDLE_H_ #ifndef BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_CONTROLLER_HANDLE_H_
#define BROWSER_DEVTOOLS_NETWORK_CONTROLLER_HANDLE_H_ #define BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_CONTROLLER_HANDLE_H_
#include <memory> #include <memory>
#include <string> #include <string>
@ -42,4 +42,4 @@ class DevToolsNetworkControllerHandle {
} // namespace brightray } // namespace brightray
#endif // BROWSER_DEVTOOLS_NETWORK_CONTROLLER_HANDLE_H_ #endif // BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_CONTROLLER_HANDLE_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef BROWSER_DEVTOOLS_NETWORK_INTERCEPTOR_H_ #ifndef BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_INTERCEPTOR_H_
#define BROWSER_DEVTOOLS_NETWORK_INTERCEPTOR_H_ #define BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_INTERCEPTOR_H_
#include <string> #include <string>
#include <utility> #include <utility>
@ -104,4 +104,4 @@ class DevToolsNetworkInterceptor {
} // namespace brightray } // namespace brightray
#endif // BROWSER_DEVTOOLS_NETWORK_INTERCEPTOR_H_ #endif // BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_INTERCEPTOR_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef BROWSER_DEVTOOLS_NETWORK_PROTOCOL_HANDLER_H_ #ifndef BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_PROTOCOL_HANDLER_H_
#define BROWSER_DEVTOOLS_NETWORK_PROTOCOL_HANDLER_H_ #define BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_PROTOCOL_HANDLER_H_
#include "base/macros.h" #include "base/macros.h"
#include "base/values.h" #include "base/values.h"
@ -45,4 +45,4 @@ class DevToolsNetworkProtocolHandler {
} // namespace brightray } // namespace brightray
#endif // BROWSER_DEVTOOLS_NETWORK_PROTOCOL_HANDLER_H_ #endif // BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_PROTOCOL_HANDLER_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef BROWSER_DEVTOOLS_NETWORK_TRANSACTION_H_ #ifndef BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_TRANSACTION_H_
#define BROWSER_DEVTOOLS_NETWORK_TRANSACTION_H_ #define BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_TRANSACTION_H_
#include <stdint.h> #include <stdint.h>
@ -104,4 +104,4 @@ class DevToolsNetworkTransaction : public net::HttpTransaction {
} // namespace brightray } // namespace brightray
#endif // BROWSER_DEVTOOLS_NETWORK_TRANSACTION_H_ #endif // BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_TRANSACTION_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE-CHROMIUM file. // found in the LICENSE-CHROMIUM file.
#ifndef BROWSER_DEVTOOLS_NETWORK_TRANSACTION_FACTORY_H_ #ifndef BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_TRANSACTION_FACTORY_H_
#define BROWSER_DEVTOOLS_NETWORK_TRANSACTION_FACTORY_H_ #define BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_TRANSACTION_FACTORY_H_
#include "base/macros.h" #include "base/macros.h"
#include "net/base/request_priority.h" #include "net/base/request_priority.h"
@ -36,4 +36,4 @@ class DevToolsNetworkTransactionFactory : public net::HttpTransactionFactory {
} // namespace brightray } // namespace brightray
#endif // BROWSER_DEVTOOLS_NETWORK_TRANSACTION_FACTORY_H_ #endif // BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_TRANSACTION_FACTORY_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef BROWSER_DEVTOOLS_NETWORK_UPLOAD_DATA_STREAM_H_ #ifndef BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_UPLOAD_DATA_STREAM_H_
#define BROWSER_DEVTOOLS_NETWORK_UPLOAD_DATA_STREAM_H_ #define BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_UPLOAD_DATA_STREAM_H_
#include <stdint.h> #include <stdint.h>
@ -47,4 +47,4 @@ class DevToolsNetworkUploadDataStream : public net::UploadDataStream {
} // namespace brightray } // namespace brightray
#endif // BROWSER_DEVTOOLS_NETWORK_UPLOAD_DATA_STREAM_H_ #endif // BRIGHTRAY_BROWSER_NET_DEVTOOLS_NETWORK_UPLOAD_DATA_STREAM_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by the MIT license that can be // Use of this source code is governed by the MIT license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef BROWSER_NET_LOG_H_ #ifndef BRIGHTRAY_BROWSER_NET_LOG_H_
#define BROWSER_NET_LOG_H_ #define BRIGHTRAY_BROWSER_NET_LOG_H_
#include "base/files/scoped_file.h" #include "base/files/scoped_file.h"
#include "net/log/net_log.h" #include "net/log/net_log.h"
@ -27,4 +27,4 @@ class NetLog : public net::NetLog {
} // namespace brightray } // namespace brightray
#endif // BROWSER_NET_LOG_H_ #endif // BRIGHTRAY_BROWSER_NET_LOG_H_

View file

@ -76,4 +76,4 @@ class NetworkDelegate : public net::NetworkDelegate {
} // namespace brightray } // namespace brightray
#endif #endif // BRIGHTRAY_BROWSER_NETWORK_DELEGATE_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by the MIT license that can be // Use of this source code is governed by the MIT license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef BROWSER_NOTIFICATION_H_ #ifndef BRIGHTRAY_BROWSER_NOTIFICATION_H_
#define BROWSER_NOTIFICATION_H_ #define BRIGHTRAY_BROWSER_NOTIFICATION_H_
#include "base/memory/weak_ptr.h" #include "base/memory/weak_ptr.h"
#include "base/strings/string16.h" #include "base/strings/string16.h"
@ -62,4 +62,4 @@ class Notification {
} // namespace brightray } // namespace brightray
#endif // BROWSER_NOTIFICATION_H_ #endif // BRIGHTRAY_BROWSER_NOTIFICATION_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by the MIT license that can be // Use of this source code is governed by the MIT license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef BROWSER_NOTIFICATION_DELEGATE_H_ #ifndef BRIGHTRAY_BROWSER_NOTIFICATION_DELEGATE_H_
#define BROWSER_NOTIFICATION_DELEGATE_H_ #define BRIGHTRAY_BROWSER_NOTIFICATION_DELEGATE_H_
#include "content/public/browser/desktop_notification_delegate.h" #include "content/public/browser/desktop_notification_delegate.h"
@ -20,4 +20,4 @@ class NotificationDelegate : public content::DesktopNotificationDelegate {
} // namespace brightray } // namespace brightray
#endif // BROWSER_NOTIFICATION_DELEGATE_H_ #endif // BRIGHTRAY_BROWSER_NOTIFICATION_DELEGATE_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by the MIT license that can be // Use of this source code is governed by the MIT license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef BROWSER_NOTIFICATION_DELEGATE_ADAPTER_H_ #ifndef BRIGHTRAY_BROWSER_NOTIFICATION_DELEGATE_ADAPTER_H_
#define BROWSER_NOTIFICATION_DELEGATE_ADAPTER_H_ #define BRIGHTRAY_BROWSER_NOTIFICATION_DELEGATE_ADAPTER_H_
#include <memory> #include <memory>
@ -35,4 +35,4 @@ class NotificationDelegateAdapter : public NotificationDelegate {
} // namespace brightray } // namespace brightray
#endif // BROWSER_NOTIFICATION_DELEGATE_ADAPTER_H_ #endif // BRIGHTRAY_BROWSER_NOTIFICATION_DELEGATE_ADAPTER_H_

View file

@ -42,4 +42,4 @@ class NotificationPresenter {
} // namespace brightray } // namespace brightray
#endif #endif // BRIGHTRAY_BROWSER_NOTIFICATION_PRESENTER_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE-CHROMIUM file. // found in the LICENSE-CHROMIUM file.
#ifndef BROWSER_PERMISSION_MANAGER_H_ #ifndef BRIGHTRAY_BROWSER_PERMISSION_MANAGER_H_
#define BROWSER_PERMISSION_MANAGER_H_ #define BRIGHTRAY_BROWSER_PERMISSION_MANAGER_H_
#include "base/callback_forward.h" #include "base/callback_forward.h"
#include "base/macros.h" #include "base/macros.h"
@ -54,4 +54,4 @@ class PermissionManager : public content::PermissionManager {
} // namespace brightray } // namespace brightray
#endif // BROWSER_PERMISSION_MANAGER_H_ #endif // BRIGHTRAY_BROWSER_PERMISSION_MANAGER_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE-CHROMIUM file. // found in the LICENSE-CHROMIUM file.
#ifndef BROWSER_PLATFORM_NOTIFICATION_SERVICE_H_ #ifndef BRIGHTRAY_BROWSER_PLATFORM_NOTIFICATION_SERVICE_H_
#define BROWSER_PLATFORM_NOTIFICATION_SERVICE_H_ #define BRIGHTRAY_BROWSER_PLATFORM_NOTIFICATION_SERVICE_H_
#include "content/public/browser/browser_context.h" #include "content/public/browser/browser_context.h"
#include "content/public/browser/platform_notification_service.h" #include "content/public/browser/platform_notification_service.h"
@ -58,4 +58,4 @@ class PlatformNotificationService
} // namespace brightray } // namespace brightray
#endif // BROWSER_PLATFORM_NOTIFICATION_SERVICE_H_ #endif // BRIGHTRAY_BROWSER_PLATFORM_NOTIFICATION_SERVICE_H_

View file

@ -120,4 +120,4 @@ class URLRequestContextGetter : public net::URLRequestContextGetter {
} // namespace brightray } // namespace brightray
#endif #endif // BRIGHTRAY_BROWSER_URL_REQUEST_CONTEXT_GETTER_H_

View file

@ -42,4 +42,4 @@ class WebUIControllerFactory : public content::WebUIControllerFactory {
} // namespace brightray } // namespace brightray
#endif #endif // BRIGHTRAY_BROWSER_WEB_UI_CONTROLLER_FACTORY_H_

View file

@ -10,4 +10,4 @@ std::string GetApplicationVersion();
} }
#endif #endif // BRIGHTRAY_COMMON_APPLICATION_INFO_H_

View file

@ -31,4 +31,4 @@ class ContentClient : public content::ContentClient {
} // namespace brightray } // namespace brightray
#endif #endif // BRIGHTRAY_COMMON_CONTENT_CLIENT_H_

View file

@ -18,4 +18,4 @@ base::FilePath MainApplicationBundlePath();
} // namespace brightray } // namespace brightray
#endif #endif // BRIGHTRAY_COMMON_MAC_MAIN_APPLICATION_BUNDLE_H_

View file

@ -60,4 +60,5 @@ class MainDelegate : public content::ContentMainDelegate {
}; };
} // namespace brightray } // namespace brightray
#endif
#endif // BRIGHTRAY_COMMON_MAIN_DELEGATE_H_

8
script/cpplint.py vendored
View file

@ -22,10 +22,16 @@ IGNORE_FILES = [
os.path.join('brightray', 'browser', 'mac', 'event_dispatching_window.h'), os.path.join('brightray', 'browser', 'mac', 'event_dispatching_window.h'),
os.path.join('brightray', 'browser', 'mac', os.path.join('brightray', 'browser', 'mac',
'notification_center_delegate.h'), 'notification_center_delegate.h'),
os.path.join('brightray', 'browser', 'win', 'notification_presenter_win7.h'),
os.path.join('brightray', 'browser', 'win', 'win32_desktop_notifications',
'common.h'),
os.path.join('brightray', 'browser', 'win', 'win32_desktop_notifications', os.path.join('brightray', 'browser', 'win', 'win32_desktop_notifications',
'desktop_notification_controller.cc'), 'desktop_notification_controller.cc'),
os.path.join('brightray', 'browser', 'win', 'win32_desktop_notifications', os.path.join('brightray', 'browser', 'win', 'win32_desktop_notifications',
'desktop_notification_controller.h') 'desktop_notification_controller.h'),
os.path.join('brightray', 'browser', 'win', 'win32_desktop_notifications',
'toast.h'),
os.path.join('brightray', 'browser', 'win', 'win32_notification.h')
] ]
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))