Chromium Code Reviews| Index: components/history/core/browser/history_backend_observer.h |
| diff --git a/components/history/core/browser/history_backend_observer.h b/components/history/core/browser/history_backend_observer.h |
| index 0d537b2758ba9a76dc7cfa65c45696bff47a04bb..bdaea856696c7bd894a06f28aae536f14c11c7a0 100644 |
| --- a/components/history/core/browser/history_backend_observer.h |
| +++ b/components/history/core/browser/history_backend_observer.h |
| @@ -35,9 +35,23 @@ class HistoryBackendObserver { |
| // |changed_urls| lists the information for each of the URLs affected. The |
| // rows will have the IDs that are currently in effect in the main history |
| // database. |
| - virtual void OnURLsModified(history::HistoryBackend* history_backend, |
| + virtual void OnURLsModified(HistoryBackend* history_backend, |
| const history::URLRows& changed_urls) = 0; |
|
sdefresne
2014/12/08 17:41:06
nit: history::URLRows -> URLRows
nshaik
2014/12/08 21:29:53
Done.
|
| + // Called when one or more of URLs are deleted. |
| + // |
| + // |all_history| is set to true, if all the URLs are deleted. |
| + // When set to true, |deleted_rows| and |favicon_urls| are |
| + // undefined. |
| + // |expired| is set to true, if the URL deletion is due to expiration. |
| + // |deleted_rows| list of the deleted URLs. |
| + // |favicon_urls| list of favicon URLs that correspond to the deleted URLs. |
| + virtual void OnURLsDeleted(HistoryBackend* history_backend, |
| + bool all_history, |
| + bool expired, |
| + const URLRows& deleted_rows, |
| + const std::set<GURL>& favicon_urls) = 0; |
| + |
| private: |
| DISALLOW_COPY_AND_ASSIGN(HistoryBackendObserver); |
| }; |