|
Separate checking the user identity and checking if the user is syncing his history in two different Search API javascript calls.
The check for history sync is noticeably slower and hangs until sync is up. As a result we want to do it at a different location in the NTP Javascript code. This requires splitting the two checks that were conflated together in CheckIsUserSignedInToChromeAs before.
Matching server-side cl: cr/80408232
BUG=
Committed: https://crrev.com/709ff0205573855bf5087fbc82303dd96feff13d
Cr-Commit-Position: refs/heads/master@{#305295}
Total comments: 12
Total comments: 4
Total comments: 16
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+253 lines, -142 lines) |
Patch |
 |
M |
chrome/browser/ui/search/search_ipc_router.h
|
View
|
1
2
3
4
|
4 chunks |
+13 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/search_ipc_router.cc
|
View
|
1
2
3
4
|
3 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/search_ipc_router_policy_impl.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/search_ipc_router_policy_impl.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
2 comments
|
Download
|
 |
M |
chrome/browser/ui/search/search_ipc_router_policy_unittest.cc
|
View
|
1
2
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/search_ipc_router_unittest.cc
|
View
|
1
2
3
4
|
24 chunks |
+80 lines, -104 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/search_tab_helper.h
|
View
|
1
2
3
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/search_tab_helper.cc
|
View
|
1
2
3
|
1 chunk |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/search_tab_helper_unittest.cc
|
View
|
1
2
|
8 chunks |
+40 lines, -27 lines |
0 comments
|
Download
|
 |
M |
chrome/common/render_messages.h
|
View
|
1
2
3
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/resources/extensions/searchbox_api.js
|
View
|
1
2
3
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/searchbox/searchbox.h
|
View
|
1
2
3
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/searchbox/searchbox.cc
|
View
|
1
2
3
|
3 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/searchbox/searchbox_extension.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/searchbox/searchbox_extension.cc
|
View
|
1
2
3
|
6 chunks |
+38 lines, -1 line |
0 comments
|
Download
|
Total messages: 24 (5 generated)
|