|
sync: remove GetAuthenticatedUsername from ProfileSyncService/SyncBackendHost.
Removing as it's not necessary and simplifies code to make it easier to ultimately rid ProfileSyncService of cros_user,
and ultimately convert it to a ProfileKeyedService.
Before this change the two values only differ 1) on chrome os, where kGoogleServicesUsername doesn't seem to be set today (and in some cases we use cros_user as a crutch), and 2) when kGoogleServicesUsername is cleared, but that only happens on DisableForUser. In the future I'd imagine this value to be allowed to outlive that call as well, which would be OK.
BUG= 88109, 93922
TEST=bits of UI that show usernames continue to show usernames
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112643
Total comments: 1
Total comments: 8
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+80 lines, -75 lines) |
Patch |
 |
M |
chrome/browser/chromeos/login/login_utils.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/sync_backend_host.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/sync_backend_host.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/internal_api/sync_manager.h
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/internal_api/sync_manager.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_mock.h
|
View
|
1
2
3
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_mock.cc
|
View
|
1
2
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sync_global_error_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sync_setup_flow.cc
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sync_setup_wizard_unittest.cc
|
View
|
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sync_ui_util.cc
|
View
|
1
2
3
4
|
6 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sync_ui_util_unittest.cc
|
View
|
1
2
3
4
|
10 chunks |
+17 lines, -22 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|