|
HQP Refactoring (in Preparation for SQLite Cache)
1. Move ownership of the InMemoryURLIndex from the InMemoryHistoryBackend to the HistoryService, 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)
Previously reviewed as: http://codereview.chromium.org/8384024/
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111378
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+300 lines, -211 lines) |
Patch |
 |
M |
chrome/browser/autocomplete/history_provider.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/history_provider.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/history_quick_provider.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/history_quick_provider_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/expire_history_backend.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history.cc
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+21 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_backend.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_backend.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_backend_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_notifications.h
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/in_memory_history_backend.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/in_memory_history_backend.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+9 lines, -32 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/in_memory_url_index.h
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+43 lines, -19 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/in_memory_url_index.cc
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+106 lines, -55 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/in_memory_url_index_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
16 chunks |
+80 lines, -72 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|