Index: chrome/browser/search_engines/template_url_service.h |
diff --git a/chrome/browser/search_engines/template_url_service.h b/chrome/browser/search_engines/template_url_service.h |
index 9cc391818a403c218ab586d4be838fedffedbc98..d46291e43d160102416c649f42d2200490339d3a 100644 |
--- a/chrome/browser/search_engines/template_url_service.h |
+++ b/chrome/browser/search_engines/template_url_service.h |
@@ -13,6 +13,7 @@ |
#include "base/gtest_prod_util.h" |
#include "base/memory/scoped_ptr.h" |
+#include "base/memory/weak_ptr.h" |
#include "base/observer_list.h" |
#include "chrome/browser/profiles/profile_keyed_service.h" |
#include "chrome/browser/search_engines/search_host_to_urls_map.h" |
@@ -62,7 +63,8 @@ struct URLVisitedDetails; |
class TemplateURLService : public WebDataServiceConsumer, |
public ProfileKeyedService, |
public NotificationObserver, |
- public SyncableService { |
+ public SyncableService, |
+ public base::SupportsWeakPtr<TemplateURLService> { |
public: |
typedef std::map<std::string, std::string> QueryTerms; |
typedef std::vector<const TemplateURL*> TemplateURLVector; |