Index: chrome/browser/history/in_memory_history_backend.h |
diff --git a/chrome/browser/history/in_memory_history_backend.h b/chrome/browser/history/in_memory_history_backend.h |
index d360995eab63b281324b068cb6e54061400629a1..f06c3f6f4220e0726f7015ecbdb782e58a3dda45 100644 |
--- a/chrome/browser/history/in_memory_history_backend.h |
+++ b/chrome/browser/history/in_memory_history_backend.h |
@@ -25,6 +25,7 @@ |
#include "base/basictypes.h" |
#include "base/gtest_prod_util.h" |
#include "base/memory/scoped_ptr.h" |
+#include "base/scoped_observer.h" |
#include "components/history/core/browser/history_service_observer.h" |
#include "components/history/core/browser/keyword_id.h" |
#include "content/public/browser/notification_observer.h" |
@@ -109,6 +110,8 @@ class InMemoryHistoryBackend : public HistoryServiceObserver, |
// The profile that this object is attached. May be NULL before |
// initialization. |
Profile* profile_; |
+ ScopedObserver<HistoryService, HistoryServiceObserver> |
+ history_service_observer_; |
HistoryService* history_service_; |
DISALLOW_COPY_AND_ASSIGN(InMemoryHistoryBackend); |