Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5747)

Unified Diff: chrome/browser/extensions/extension_commands_global_registry.cc

Issue 2407993002: Remove unnecessary keybinding logging (Closed)
Patch Set: remove additional logging statement Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_commands_global_registry.cc
diff --git a/chrome/browser/extensions/extension_commands_global_registry.cc b/chrome/browser/extensions/extension_commands_global_registry.cc
index c98051c45e07ed38b3c0e47203582271a63bc6e5..f43caa1dc4d7c01517d99f5e09ce3708d4b3a6e1 100644
--- a/chrome/browser/extensions/extension_commands_global_registry.cc
+++ b/chrome/browser/extensions/extension_commands_global_registry.cc
@@ -83,10 +83,6 @@ void ExtensionCommandsGlobalRegistry::AddExtensionKeybindings(
continue;
const ui::Accelerator& accelerator = iter->second.accelerator();
- VLOG(0) << "Adding global keybinding for " << extension->name().c_str()
- << " " << command_name.c_str()
- << " key: " << accelerator.GetShortcutText();
-
if (!IsAcceleratorRegistered(accelerator)) {
if (!GlobalShortcutListener::GetInstance()->RegisterAccelerator(
accelerator, this))
@@ -100,8 +96,6 @@ void ExtensionCommandsGlobalRegistry::AddExtensionKeybindings(
void ExtensionCommandsGlobalRegistry::RemoveExtensionKeybindingImpl(
const ui::Accelerator& accelerator,
const std::string& command_name) {
- VLOG(0) << "Removing keybinding for " << command_name.c_str();
-
GlobalShortcutListener::GetInstance()->UnregisterAccelerator(
accelerator, this);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698