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

Issue 7792093: Moved the handling of the initial passphrase into SyncSetupFlow. (Closed)

Created:
9 years, 3 months ago by Andrew T Wilson (Slow)
Modified:
9 years, 3 months ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), arv (Not doing code reviews), tim (not reviewing), idana
Visibility:
Public.

Description

Moved the handling of the initial passphrase into SyncSetupFlow. This makes the passphrase handling more uniform across platforms, which should result in fewer bugs on non-desktop-ui platforms and also pave the way for OAuth integration. Also updated the "autostart sync" code to enable it to be used on non-cros platforms. BUG=95002, 91443, 82221 TEST=run through signin/setup test cases Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99504

Patch Set 1 #

Patch Set 2 : Fixed compilation errors. #

Patch Set 3 : Fixed compilation errors in sync_integration_tests. #

Patch Set 4 : Reverted unnecessary change to domui code. #

Total comments: 6

Patch Set 5 : Added comments per review feedback. #

Patch Set 6 : Fixed problem with wrong error message displayed on bad custom passphrase #

Patch Set 7 : Painful merge after phajdan's last-minute huge bulk file move. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -147 lines) Patch
M chrome/browser/sync/profile_sync_service.h View 1 2 3 4 5 6 3 chunks +12 lines, -15 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 5 6 13 chunks +37 lines, -56 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_harness.cc View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_password_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/sync_setup_flow.h View 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/sync/sync_setup_flow.cc View 1 2 3 4 5 6 10 chunks +33 lines, -38 lines 0 comments Download
M chrome/browser/sync/sync_setup_wizard_unittest.cc View 1 2 3 4 5 6 4 chunks +2 lines, -8 lines 0 comments Download
M chrome/browser/sync/test/live_sync/passwords_helper.h View 1 2 3 4 5 6 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/sync/test/live_sync/passwords_helper.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/test/live_sync/two_client_passwords_sync_test.cc View 1 2 3 4 5 6 4 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/sync/test/live_sync/two_client_sessions_sync_test.cc View 1 2 3 4 5 6 10 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Andrew T Wilson (Slow)
Please take a look - there's a problem with the integration tests that I am ...
9 years, 3 months ago (2011-09-02 17:54:44 UTC) #1
Rick Campbell
LGTM with some administrivia http://codereview.chromium.org/7792093/diff/4012/chrome/browser/sync/profile_sync_service.cc File chrome/browser/sync/profile_sync_service.cc (right): http://codereview.chromium.org/7792093/diff/4012/chrome/browser/sync/profile_sync_service.cc#newcode648 chrome/browser/sync/profile_sync_service.cc:648: // TODO(sync): This call to ...
9 years, 3 months ago (2011-09-02 18:31:29 UTC) #2
Andrew T Wilson (Slow)
http://codereview.chromium.org/7792093/diff/4012/chrome/browser/sync/profile_sync_service.cc File chrome/browser/sync/profile_sync_service.cc (right): http://codereview.chromium.org/7792093/diff/4012/chrome/browser/sync/profile_sync_service.cc#newcode648 chrome/browser/sync/profile_sync_service.cc:648: // TODO(sync): This call to ShowConfigure() should go away ...
9 years, 3 months ago (2011-09-02 21:40:46 UTC) #3
commit-bot: I haz the power
Can't apply patch for file chrome/test/live_sync/passwords_helper.cc. While running patch -p1 --forward --force; A chrome/test/live_sync patching ...
9 years, 3 months ago (2011-09-02 23:55:49 UTC) #4
commit-bot: I haz the power
9 years, 3 months ago (2011-09-03 00:41:47 UTC) #5
Presubmit check for 7792093-5012 failed and returned exit status 1.

Running presubmit commit checks ...

** Presubmit Warnings **
You might be calling functions intended only for testing from
production code. Please verify that the following usages are OK,
and email joi@chromium.org if you are seeing false positives:
  chrome/browser/sync/profile_sync_service_harness.cc:227
    service_->GetBackendMigratorForTest(); \
  chrome/browser/sync/profile_sync_service_harness.cc:432
    service()->GetBackendMigratorForTest()-> \
  chrome/browser/sync/profile_sync_service_harness.cc:433
    GetPendingMigrationTypesForTest(); \
  chrome/browser/sync/profile_sync_service_harness.cc:750
    service()->GetBackendMigratorForTest();

Presubmit checks took 1.9s to calculate.

Powered by Google App Engine
This is Rietveld 408576698