Index: chrome/browser/dom_ui/new_tab_ui.h |
diff --git a/chrome/browser/dom_ui/new_tab_ui.h b/chrome/browser/dom_ui/new_tab_ui.h |
index b6358c4e92fe42c1c3c890a7e9738f22f335d1e0..372e19a6b9dc428907d0f841c8b7a76bc1b509dd 100644 |
--- a/chrome/browser/dom_ui/new_tab_ui.h |
+++ b/chrome/browser/dom_ui/new_tab_ui.h |
@@ -60,16 +60,14 @@ class NewTabUI : public DOMUI, |
bool is_off_the_record, |
int request_id); |
- virtual std::string GetMimeType(const std::string&) const { |
- return "text/html"; |
- } |
+ virtual std::string GetMimeType(const std::string&) const; |
// Setters and getters for first_run. |
static void set_first_run(bool first_run) { first_run_ = first_run; } |
static bool first_run() { return first_run_; } |
private: |
- ~NewTabHTMLSource() {} |
+ virtual ~NewTabHTMLSource(); |
// Whether this is the first run. |
static bool first_run_; |