@@ -290,7 +290,7 @@ void BrowserWindow::OnCloseButtonClicked(bool* prevent_default) {
} else {
web_contents()->Close();
}
-} // namespace api
+}
void BrowserWindow::OnWindowBlur() {
if (api_web_contents_)
@@ -66,7 +66,7 @@ struct Converter<network::mojom::CredentialsMode> {
return false;
return true;
-}; // namespace gin
+};
} // namespace gin
@@ -18,7 +18,7 @@ namespace electron {
AutofillDriver::AutofillDriver(content::RenderFrameHost* render_frame_host)
: render_frame_host_(render_frame_host) {
autofill_popup_ = std::make_unique<AutofillPopup>();
-} // namespace electron
AutofillDriver::~AutofillDriver() = default;
@@ -87,7 +87,7 @@ bool ElectronRuntimeAPIDelegate::GetPlatformInfo(PlatformInfo* info) {
-} // namespace extensions
bool ElectronRuntimeAPIDelegate::RestartDevice(std::string* error_message) {
*error_message = "Restart is not supported in Electron";