|
HQP Refactoring (in Preparation for SQLite Cache)
1. Move ownership of the InMemoryURLIndex from the InMemoryHistoryBackend to the HistoryBackend where it truly belongs.
2. Handle (by notification) URL visits, updates and deletes. Refactor use of NOTIFICATION_HISTORY_URLS_DELETED to provide the deleted URLRow so that row ID is available.
3. Correctly handle the adding and removing of page title words when a URL change is detected.
4. Other small cleanups.
BUG= 96731, 92718
TEST=Unit tests updated.
TBR=atwilson (for profile_sync_service_typed_url_unittest.cc)
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108207
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+228 lines, -162 lines) |
Patch |
 |
M |
chrome/browser/autocomplete/history_provider.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/history_provider.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/history_quick_provider_unittest.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/expire_history_backend.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history.cc
|
View
|
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_backend.h
|
View
|
|
4 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_backend.cc
|
View
|
|
5 chunks |
+17 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_backend_unittest.cc
|
View
|
|
4 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_notifications.h
|
View
|
|
4 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/in_memory_history_backend.h
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/in_memory_history_backend.cc
|
View
|
|
3 chunks |
+8 lines, -30 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/in_memory_url_index.h
|
View
|
|
6 chunks |
+23 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/in_memory_url_index.cc
|
View
|
1
|
4 chunks |
+72 lines, -35 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/in_memory_url_index_unittest.cc
|
View
|
|
16 chunks |
+60 lines, -62 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|