Browse Source

chore: remove spurious trailing namespace comments (#34732)

David Sanders 2 years ago
parent
commit
59d3c12cae

+ 1 - 1
shell/browser/api/electron_api_browser_window.cc

@@ -290,7 +290,7 @@ void BrowserWindow::OnCloseButtonClicked(bool* prevent_default) {
   } else {
     web_contents()->Close();
   }
-}  // namespace api
+}
 
 void BrowserWindow::OnWindowBlur() {
   if (api_web_contents_)

+ 1 - 1
shell/browser/api/electron_api_url_loader.cc

@@ -66,7 +66,7 @@ struct Converter<network::mojom::CredentialsMode> {
       return false;
     return true;
   }
-};  // namespace gin
+};
 
 }  // namespace gin
 

+ 1 - 1
shell/browser/electron_autofill_driver.cc

@@ -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;
 

+ 1 - 1
shell/browser/extensions/api/runtime/electron_runtime_api_delegate.cc

@@ -87,7 +87,7 @@ bool ElectronRuntimeAPIDelegate::GetPlatformInfo(PlatformInfo* info) {
   }
 
   return true;
-}  // namespace extensions
+}
 
 bool ElectronRuntimeAPIDelegate::RestartDevice(std::string* error_message) {
   *error_message = "Restart is not supported in Electron";