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 f06c3f6f4220e0726f7015ecbdb782e58a3dda45..b3f891175abfa60f803d11e6c0e5c9ed016c2fa2 100644 |
--- a/chrome/browser/history/in_memory_history_backend.h |
+++ b/chrome/browser/history/in_memory_history_backend.h |
@@ -74,6 +74,17 @@ class InMemoryHistoryBackend : public HistoryServiceObserver, |
return db_.get(); |
} |
+ // Notification callback. |
+ void Observe(int type, |
+ const content::NotificationSource& source, |
+ const content::NotificationDetails& details) override; |
+ |
+ private: |
+ FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, DeleteAll); |
+ FRIEND_TEST_ALL_PREFIXES(InMemoryHistoryBackendTest, OnURLsDeletedEnMasse); |
+ friend class HistoryBackendTestBase; |
+ friend class InMemoryHistoryBackendTest; |
+ |
// HistoryServiceObserver: |
void OnURLVisited(HistoryService* history_service, |
ui::PageTransition transition, |
@@ -82,21 +93,12 @@ class InMemoryHistoryBackend : public HistoryServiceObserver, |
base::Time visit_time) override; |
void OnURLsModified(HistoryService* history_service, |
const URLRows& changed_urls) override; |
- |
- // Notification callback. |
- void Observe(int type, |
- const content::NotificationSource& source, |
- const content::NotificationDetails& details) override; |
- |
- private: |
- FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, DeleteAll); |
+ void OnURLsDeleted(HistoryService* history_service, |
+ const URLsDeletedDetails& deleted_details) override; |
// Handler for HISTORY_URL_VISITED and HISTORY_URLS_MODIFIED. |
void OnURLVisitedOrModified(const URLRow& url_row); |
- // Handler for HISTORY_URLS_DELETED. |
- void OnURLsDeleted(const URLsDeletedDetails& details); |
- |
// Handler for HISTORY_KEYWORD_SEARCH_TERM_UPDATED. |
void OnKeywordSearchTermUpdated(const KeywordSearchUpdatedDetails& details); |