summaryrefslogtreecommitdiffstats
path: root/chrome/views/controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/controller.h')
-rw-r--r--chrome/views/controller.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/views/controller.h b/chrome/views/controller.h
index 9101131..d57b2de 100644
--- a/chrome/views/controller.h
+++ b/chrome/views/controller.h
@@ -30,6 +30,8 @@
#ifndef CHROME_VIEWS_CONTROLLER_H_
#define CHROME_VIEWS_CONTROLLER_H_
+#include <string>
+
///////////////////////////////////////////////////////////////////////////////
//
// Controller class
@@ -41,6 +43,8 @@
///////////////////////////////////////////////////////////////////////////////
class Controller {
public:
+ virtual ~Controller() { }
+
// Whether or not a command is supported by this controller.
virtual bool SupportsCommand(int id) const = 0;