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

Issue 7497069: Support Sync following Gaia OAuth authentication (Closed)

Created:
9 years, 4 months ago by Rick Campbell
Modified:
9 years, 4 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, idana, Raghu Simha, ncarter (slow), darin-cc_chromium.org
Visibility:
Public.

Description

Support Sync operations after user signing with --enable-sync-oauth BUG=92329 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96544

Patch Set 1 #

Total comments: 4

Patch Set 2 : Incorporating code review comments from Roger. #

Total comments: 4

Patch Set 3 : Fixing a stupid. #

Total comments: 10

Patch Set 4 : Incorporating code review comments. #

Patch Set 5 : One more bit for code review comments. #

Patch Set 6 : Rebased and tweaked about_flags #

Patch Set 7 : Fixing about_flags stuff. #

Total comments: 12

Patch Set 8 : Incorporating comments from Fred. #

Patch Set 9 : One more change incorporating comments from Fred. #

Patch Set 10 : Another change incorporating comments from Fred. #

Patch Set 11 : Whitespace #

Patch Set 12 : clean-up #

Total comments: 8

Patch Set 13 : Final review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -26 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/net/gaia/token_service.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/engine/net/syncapi_server_connection_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +12 lines, -8 lines 0 comments Download
M chrome/browser/sync/signin_manager.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/sync/signin_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 10 chunks +66 lines, -12 lines 0 comments Download
M chrome/browser/sync/sync_setup_wizard.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -3 lines 0 comments Download
A chrome/browser/sync/util/oauth.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +16 lines, -0 lines 0 comments Download
A chrome/browser/sync/util/oauth.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +24 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Rick Campbell
Please take a look
9 years, 4 months ago (2011-08-10 16:33:44 UTC) #1
Rick Campbell
Added Roger and Sanjeev as reviewers mostly for informational purposes. Roger, I put you in ...
9 years, 4 months ago (2011-08-10 17:46:04 UTC) #2
Roger Tawa OOO till Jul 10th
Hi Rick, I can take a look at auto-login when this is done. http://codereview.chromium.org/7497069/diff/1/chrome/browser/sync/signin_manager.cc File ...
9 years, 4 months ago (2011-08-10 18:10:43 UTC) #3
Rick Campbell
Please take another look. http://codereview.chromium.org/7497069/diff/1/chrome/browser/sync/signin_manager.cc File chrome/browser/sync/signin_manager.cc (right): http://codereview.chromium.org/7497069/diff/1/chrome/browser/sync/signin_manager.cc#newcode171 chrome/browser/sync/signin_manager.cc:171: prefs::kGoogleServicesUsername, GetUsername()); On 2011/08/10 18:10:43, ...
9 years, 4 months ago (2011-08-10 18:55:16 UTC) #4
Roger Tawa OOO till Jul 10th
lgtm http://codereview.chromium.org/7497069/diff/8001/chrome/browser/sync/signin_manager.cc File chrome/browser/sync/signin_manager.cc (right): http://codereview.chromium.org/7497069/diff/8001/chrome/browser/sync/signin_manager.cc#newcode279 chrome/browser/sync/signin_manager.cc:279: VLOG(1) << "Sync signin for " << email ...
9 years, 4 months ago (2011-08-10 19:13:04 UTC) #5
tim (not reviewing)
http://codereview.chromium.org/7497069/diff/5001/chrome/browser/sync/engine/net/syncapi_server_connection_manager.cc File chrome/browser/sync/engine/net/syncapi_server_connection_manager.cc (right): http://codereview.chromium.org/7497069/diff/5001/chrome/browser/sync/engine/net/syncapi_server_connection_manager.cc#newcode11 chrome/browser/sync/engine/net/syncapi_server_connection_manager.cc:11: #include "chrome/browser/sync/sync_setup_wizard.h" Although we don't have a DEPS rule ...
9 years, 4 months ago (2011-08-10 19:39:35 UTC) #6
akalin
http://codereview.chromium.org/7497069/diff/8001/chrome/browser/sync/signin_manager.cc File chrome/browser/sync/signin_manager.cc (right): http://codereview.chromium.org/7497069/diff/8001/chrome/browser/sync/signin_manager.cc#newcode35 chrome/browser/sync/signin_manager.cc:35: if (SyncSetupWizard::IsUsingOAuth()) use SetUsername here? http://codereview.chromium.org/7497069/diff/8001/chrome/browser/sync/signin_manager.cc#newcode42 chrome/browser/sync/signin_manager.cc:42: if (!username_.empty() ...
9 years, 4 months ago (2011-08-10 19:42:01 UTC) #7
Andrew T Wilson (Slow)
LGTM - just had one nit. http://codereview.chromium.org/7497069/diff/8001/chrome/browser/sync/signin_manager.cc File chrome/browser/sync/signin_manager.cc (right): http://codereview.chromium.org/7497069/diff/8001/chrome/browser/sync/signin_manager.cc#newcode37 chrome/browser/sync/signin_manager.cc:37: profile_->GetPrefs()->GetString(prefs::kGoogleServicesUsername); If you ...
9 years, 4 months ago (2011-08-10 20:54:50 UTC) #8
Rick Campbell
Please take another look. http://codereview.chromium.org/7497069/diff/5001/chrome/browser/sync/engine/net/syncapi_server_connection_manager.cc File chrome/browser/sync/engine/net/syncapi_server_connection_manager.cc (right): http://codereview.chromium.org/7497069/diff/5001/chrome/browser/sync/engine/net/syncapi_server_connection_manager.cc#newcode11 chrome/browser/sync/engine/net/syncapi_server_connection_manager.cc:11: #include "chrome/browser/sync/sync_setup_wizard.h" On 2011/08/10 19:39:36, ...
9 years, 4 months ago (2011-08-11 03:58:23 UTC) #9
akalin
Few more http://codereview.chromium.org/7497069/diff/13002/chrome/browser/sync/profile_sync_service.cc File chrome/browser/sync/profile_sync_service.cc (right): http://codereview.chromium.org/7497069/diff/13002/chrome/browser/sync/profile_sync_service.cc#newcode76 chrome/browser/sync/profile_sync_service.cc:76: namespace { since this is used in ...
9 years, 4 months ago (2011-08-11 18:03:37 UTC) #10
Rick Campbell
Please take another look. http://codereview.chromium.org/7497069/diff/13002/chrome/browser/sync/profile_sync_service.cc File chrome/browser/sync/profile_sync_service.cc (right): http://codereview.chromium.org/7497069/diff/13002/chrome/browser/sync/profile_sync_service.cc#newcode76 chrome/browser/sync/profile_sync_service.cc:76: namespace { On 2011/08/11 18:03:37, ...
9 years, 4 months ago (2011-08-11 21:04:08 UTC) #11
tim (not reviewing)
LGTM
9 years, 4 months ago (2011-08-11 21:45:32 UTC) #12
tim (not reviewing)
On 2011/08/11 21:45:32, timsteele wrote: > LGTM contingent on Fred's LGTM :)
9 years, 4 months ago (2011-08-11 21:45:55 UTC) #13
akalin
LGTM after following comments http://codereview.chromium.org/7497069/diff/27019/chrome/browser/sync/engine/net/syncapi_server_connection_manager.cc File chrome/browser/sync/engine/net/syncapi_server_connection_manager.cc (right): http://codereview.chromium.org/7497069/diff/27019/chrome/browser/sync/engine/net/syncapi_server_connection_manager.cc#newcode7 chrome/browser/sync/engine/net/syncapi_server_connection_manager.cc:7: #include "base/command_line.h" remove this include ...
9 years, 4 months ago (2011-08-11 21:49:14 UTC) #14
Rick Campbell
http://codereview.chromium.org/7497069/diff/27019/chrome/browser/sync/engine/net/syncapi_server_connection_manager.cc File chrome/browser/sync/engine/net/syncapi_server_connection_manager.cc (right): http://codereview.chromium.org/7497069/diff/27019/chrome/browser/sync/engine/net/syncapi_server_connection_manager.cc#newcode7 chrome/browser/sync/engine/net/syncapi_server_connection_manager.cc:7: #include "base/command_line.h" On 2011/08/11 21:49:14, akalin wrote: > remove ...
9 years, 4 months ago (2011-08-12 09:02:02 UTC) #15
commit-bot: I haz the power
9 years, 4 months ago (2011-08-12 10:44:48 UTC) #16
Change committed as 96544

Powered by Google App Engine
This is Rietveld 408576698