summaryrefslogtreecommitdiffstats
path: root/chrome/browser/command_updater.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/command_updater.cc')
-rw-r--r--chrome/browser/command_updater.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/command_updater.cc b/chrome/browser/command_updater.cc
index efb0724..b55b09b 100644
--- a/chrome/browser/command_updater.cc
+++ b/chrome/browser/command_updater.cc
@@ -10,6 +10,9 @@
#include "base/observer_list.h"
#include "base/stl_util-inl.h"
+CommandUpdater::CommandUpdaterDelegate::~CommandUpdaterDelegate() {
+}
+
class CommandUpdater::Command {
public:
bool enabled;
@@ -42,6 +45,9 @@ void CommandUpdater::ExecuteCommand(int id) {
delegate_->ExecuteCommand(id);
}
+CommandUpdater::CommandObserver::~CommandObserver() {
+}
+
void CommandUpdater::UpdateCommandEnabled(int id, bool enabled) {
Command* command = GetCommand(id, true);
if (command->enabled == enabled)