Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(690)

Issue 11817045: Move auth-error reporting code out of SyncGlobalError and into SigninGlobalError (Closed)

Created:
7 years, 11 months ago by Andrew T Wilson (Slow)
Modified:
7 years, 11 months ago
CC:
chromium-reviews, Raghu Simha, haitaol1, akalin, tim (not reviewing)
Visibility:
Public.

Description

Move auth-error reporting code out of SyncGlobalError and into SigninGlobalError This is the first step towards enabling signin even when sync is disabled by policy. BUG=166148, 113133 Relanding after rollout due to failures in ExtensionActionContextMenuTest.BrowserAction Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177416

Patch Set 1 #

Patch Set 2 : More tests fixes. #

Patch Set 3 : git try #

Patch Set 4 : Android compilation fix #

Total comments: 10

Patch Set 5 : Review feedback. #

Patch Set 6 : Added call to AuthInProgress so we don't change wrench menu while signing in #

Patch Set 7 : Disabled ExtensionActionContextMenuTest.BrowserAction #

Unified diffs Side-by-side diffs Delta from patch set Stats (+676 lines, -223 lines) Patch
M chrome/app/chrome_command_ids.h View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/defaults.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/defaults.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/signin/oauth2_token_service.h View 1 5 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/signin/oauth2_token_service.cc View 1 6 chunks +41 lines, -1 line 0 comments Download
M chrome/browser/signin/oauth2_token_service_factory.cc View 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/signin/signin_global_error.h View 1 chunk +73 lines, -0 lines 0 comments Download
A chrome/browser/signin/signin_global_error.cc View 1 2 3 1 chunk +202 lines, -0 lines 0 comments Download
A chrome/browser/signin/signin_global_error_unittest.cc View 1 chunk +155 lines, -0 lines 0 comments Download
M chrome/browser/signin/signin_manager.h View 3 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/signin/signin_manager.cc View 1 2 3 4 3 chunks +18 lines, -1 line 0 comments Download
M chrome/browser/signin/signin_manager_factory.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/signin/signin_manager_fake.cc View 1 chunk +13 lines, -1 line 0 comments Download
M chrome/browser/signin/signin_manager_unittest.cc View 6 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.h View 1 2 3 4 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 5 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_harness.cc View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/sync_global_error.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/sync/sync_global_error.cc View 4 chunks +1 line, -15 lines 0 comments Download
M chrome/browser/sync/sync_global_error_unittest.cc View 2 chunks +1 line, -46 lines 0 comments Download
M chrome/browser/sync/sync_ui_util.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/sync/sync_ui_util.cc View 9 chunks +6 lines, -86 lines 0 comments Download
M chrome/browser/sync/sync_ui_util_unittest.cc View 3 chunks +21 lines, -26 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_action_context_menu_browsertest.mm View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ui/toolbar/wrench_menu_model.h View 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/toolbar/wrench_menu_model.cc View 1 2 3 4 5 9 chunks +59 lines, -30 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Andrew T Wilson (Slow)
Roger, PTAL at browser/signin Sky, PTAL at browser/ui/toolbar/wrench_menu_model.* Tim, PTAL at browser/sync
7 years, 11 months ago (2013-01-11 13:48:40 UTC) #1
sky
LGTM
7 years, 11 months ago (2013-01-11 17:03:42 UTC) #2
Roger Tawa OOO till Jul 10th
lgtm https://codereview.chromium.org/11817045/diff/18001/chrome/browser/signin/signin_manager.cc File chrome/browser/signin/signin_manager.cc (right): https://codereview.chromium.org/11817045/diff/18001/chrome/browser/signin/signin_manager.cc#newcode116 chrome/browser/signin/signin_manager.cc:116: } I think we should keep the order ...
7 years, 11 months ago (2013-01-14 16:06:51 UTC) #3
tim (not reviewing)
https://codereview.chromium.org/11817045/diff/18001/chrome/browser/sync/profile_sync_service.h File chrome/browser/sync/profile_sync_service.h (right): https://codereview.chromium.org/11817045/diff/18001/chrome/browser/sync/profile_sync_service.h#newcode408 chrome/browser/sync/profile_sync_service.h:408: virtual GoogleServiceAuthError GetAuthStatus() const OVERRIDE; Hmm.. we have this ...
7 years, 11 months ago (2013-01-15 04:25:42 UTC) #4
Andrew T Wilson (Slow)
Tim, got a question for you about GetAuthStatus vs GetAuthError. https://codereview.chromium.org/11817045/diff/18001/chrome/browser/signin/signin_manager.cc File chrome/browser/signin/signin_manager.cc (right): https://codereview.chromium.org/11817045/diff/18001/chrome/browser/signin/signin_manager.cc#newcode116 ...
7 years, 11 months ago (2013-01-15 13:24:56 UTC) #5
Andrew T Wilson (Slow)
I'm going to land this as-is. Tim, let me know if you have suggestions for ...
7 years, 11 months ago (2013-01-16 08:59:32 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/atwilson@chromium.org/11817045/47001
7 years, 11 months ago (2013-01-16 08:59:47 UTC) #7
commit-bot: I haz the power
7 years, 11 months ago (2013-01-16 13:10:57 UTC) #8
Message was sent while issue was closed.
Change committed as 177136

Powered by Google App Engine
This is Rietveld 408576698