diff --git a/brightray/browser/devtools_contents_resizing_strategy.cc b/brightray/browser/devtools_contents_resizing_strategy.cc index 65ffed7e4e..2f729ba16a 100644 --- a/brightray/browser/devtools_contents_resizing_strategy.cc +++ b/brightray/browser/devtools_contents_resizing_strategy.cc @@ -17,7 +17,6 @@ DevToolsContentsResizingStrategy::DevToolsContentsResizingStrategy( !bounds_.y()) { } - void DevToolsContentsResizingStrategy::CopyFrom( const DevToolsContentsResizingStrategy& strategy) { bounds_ = strategy.bounds(); diff --git a/brightray/browser/devtools_embedder_message_dispatcher.cc b/brightray/browser/devtools_embedder_message_dispatcher.cc index 06764f6740..d8c5504604 100644 --- a/brightray/browser/devtools_embedder_message_dispatcher.cc +++ b/brightray/browser/devtools_embedder_message_dispatcher.cc @@ -145,7 +145,6 @@ class DispatcherImpl : public DevToolsEmbedderMessageDispatcher { base::Unretained(delegate))); } - private: using Handler = base::Callback; diff --git a/brightray/browser/net/devtools_network_protocol_handler.cc b/brightray/browser/net/devtools_network_protocol_handler.cc index 9378620cbe..c291de7bef 100644 --- a/brightray/browser/net/devtools_network_protocol_handler.cc +++ b/brightray/browser/net/devtools_network_protocol_handler.cc @@ -39,7 +39,6 @@ const char kError[] = "error"; // JSON RPC 2.0 spec: http://www.jsonrpc.org/specification#error_object const int kErrorInvalidParams = -32602; - bool ParseCommand(const base::DictionaryValue* command, int* id, std::string* method, diff --git a/brightray/browser/views/views_delegate.cc b/brightray/browser/views/views_delegate.cc index ac9b1d619b..750af7ef27 100644 --- a/brightray/browser/views/views_delegate.cc +++ b/brightray/browser/views/views_delegate.cc @@ -100,7 +100,6 @@ void ViewsDelegate::OnBeforeWidgetInit( } } - bool ViewsDelegate::WindowManagerProvidesTitleBar(bool maximized) { #if defined(OS_LINUX) // On Ubuntu Unity, the system always provides a title bar for maximized diff --git a/brightray/browser/views/views_delegate.h b/brightray/browser/views/views_delegate.h index a764f8c16e..ae3f16d100 100644 --- a/brightray/browser/views/views_delegate.h +++ b/brightray/browser/views/views_delegate.h @@ -59,8 +59,6 @@ class ViewsDelegate : public views::ViewsDelegate { DISALLOW_COPY_AND_ASSIGN(ViewsDelegate); }; - - } // namespace brightray #endif // BRIGHTRAY_BROWSER_VIEWS_VIEWS_DELEGATE_H_ diff --git a/brightray/browser/win/win32_desktop_notifications/common.h b/brightray/browser/win/win32_desktop_notifications/common.h index ef364ceb4c..b978c82579 100644 --- a/brightray/browser/win/win32_desktop_notifications/common.h +++ b/brightray/browser/win/win32_desktop_notifications/common.h @@ -10,7 +10,6 @@ struct NotificationData { std::wstring body_text; HBITMAP image = NULL; - NotificationData() = default; ~NotificationData() { diff --git a/brightray/browser/win/win32_desktop_notifications/desktop_notification_controller.cc b/brightray/browser/win/win32_desktop_notifications/desktop_notification_controller.cc index 0b5c9ec44f..543c90e103 100644 --- a/brightray/browser/win/win32_desktop_notifications/desktop_notification_controller.cc +++ b/brightray/browser/win/win32_desktop_notifications/desktop_notification_controller.cc @@ -344,7 +344,6 @@ void DesktopNotificationController::DestroyToast(ToastInstance& inst) { } } - DesktopNotificationController::Notification::Notification( const shared_ptr& data) : data_(data) { @@ -389,7 +388,6 @@ void DesktopNotificationController::Notification::Set( data_->controller->StartAnimation(); } - DesktopNotificationController::NotificationLink::NotificationLink( DesktopNotificationController* controller) : shared_ptr(make_shared()) { diff --git a/brightray/common/main_delegate_mac.mm b/brightray/common/main_delegate_mac.mm index 0d7b811755..fcf470698c 100644 --- a/brightray/common/main_delegate_mac.mm +++ b/brightray/common/main_delegate_mac.mm @@ -5,7 +5,6 @@ #import "main_delegate.h" - #include "base/command_line.h" #include "base/mac/bundle_locations.h" #include "base/mac/foundation_util.h"