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

Issue 217883004: [Signin] Factor out a helper class to load a continue URL once Sync is configured. (Closed)

Created:
6 years, 8 months ago by Ilya Sherman
Modified:
6 years, 8 months ago
CC:
chromium-reviews, tim+watch_chromium.org, haitaol+watch_chromium.org, maniscalco+watch_chromium.org
Visibility:
Public.

Description

[Signin] Factor out a helper class to load a continue URL once Sync is configured. BUG=347247 TEST=unit_tests R=guohui@chromium.org, rogerta@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262909

Patch Set 1 #

Patch Set 2 : git add new unittest file #

Patch Set 3 : Clean up #

Patch Set 4 : Try reducing the --similarity #

Patch Set 5 : That didn't work. Oh well. #

Total comments: 12

Patch Set 6 : Rebase #

Patch Set 7 : Don't clear the continue_url, and post a message to destroy the observer #

Patch Set 8 : Rebase #

Patch Set 9 : Update a #include location #

Unified diffs Side-by-side diffs Delta from patch set Stats (+479 lines, -157 lines) Patch
M chrome/browser/sync/test_profile_sync_service.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_helper.h View 1 2 3 4 5 6 7 3 chunks +1 line, -8 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_helper.cc View 1 2 3 4 5 6 7 5 chunks +4 lines, -69 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_helper_unittest.cc View 1 2 3 4 5 6 7 9 chunks +52 lines, -80 lines 0 comments Download
A chrome/browser/ui/sync/one_click_signin_sync_observer.h View 1 2 3 4 5 6 1 chunk +58 lines, -0 lines 0 comments Download
A chrome/browser/ui/sync/one_click_signin_sync_observer.cc View 1 2 3 4 5 6 1 chunk +119 lines, -0 lines 0 comments Download
A chrome/browser/ui/sync/one_click_signin_sync_observer_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +239 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Ilya Sherman
6 years, 8 months ago (2014-03-29 07:31:17 UTC) #1
Roger Tawa OOO till Jul 10th
Looking good Ilya. A few comments below. https://codereview.chromium.org/217883004/diff/80001/chrome/browser/ui/sync/one_click_signin_helper.cc File chrome/browser/ui/sync/one_click_signin_helper.cc (left): https://codereview.chromium.org/217883004/diff/80001/chrome/browser/ui/sync/one_click_signin_helper.cc#oldcode706 chrome/browser/ui/sync/one_click_signin_helper.cc:706: DCHECK(!web_contents()); Why ...
6 years, 8 months ago (2014-03-31 18:24:11 UTC) #2
Ilya Sherman
https://chromiumcodereview.appspot.com/217883004/diff/80001/chrome/browser/ui/sync/one_click_signin_helper.cc File chrome/browser/ui/sync/one_click_signin_helper.cc (left): https://chromiumcodereview.appspot.com/217883004/diff/80001/chrome/browser/ui/sync/one_click_signin_helper.cc#oldcode706 chrome/browser/ui/sync/one_click_signin_helper.cc:706: DCHECK(!web_contents()); On 2014/03/31 18:24:11, Roger Tawa wrote: > Why ...
6 years, 8 months ago (2014-03-31 19:34:06 UTC) #3
Roger Tawa OOO till Jul 10th
https://chromiumcodereview.appspot.com/217883004/diff/80001/chrome/browser/ui/sync/one_click_signin_sync_observer.cc File chrome/browser/ui/sync/one_click_signin_sync_observer.cc (right): https://chromiumcodereview.appspot.com/217883004/diff/80001/chrome/browser/ui/sync/one_click_signin_sync_observer.cc#newcode37 chrome/browser/ui/sync/one_click_signin_sync_observer.cc:37: delete this; On 2014/03/31 19:34:06, Ilya Sherman wrote: > ...
6 years, 8 months ago (2014-03-31 20:10:37 UTC) #4
guohui
LGTM with one comment https://codereview.chromium.org/217883004/diff/80001/chrome/browser/ui/sync/one_click_signin_sync_observer.cc File chrome/browser/ui/sync/one_click_signin_sync_observer.cc (right): https://codereview.chromium.org/217883004/diff/80001/chrome/browser/ui/sync/one_click_signin_sync_observer.cc#newcode37 chrome/browser/ui/sync/one_click_signin_sync_observer.cc:37: delete this; On 2014/03/31 19:34:06, ...
6 years, 8 months ago (2014-03-31 20:12:27 UTC) #5
Ilya Sherman
https://codereview.chromium.org/217883004/diff/80001/chrome/browser/ui/sync/one_click_signin_helper.cc File chrome/browser/ui/sync/one_click_signin_helper.cc (right): https://codereview.chromium.org/217883004/diff/80001/chrome/browser/ui/sync/one_click_signin_helper.cc#newcode1242 chrome/browser/ui/sync/one_click_signin_helper.cc:1242: original_continue_url_ = GURL(); On 2014/03/31 18:24:11, Roger Tawa wrote: ...
6 years, 8 months ago (2014-04-01 02:00:35 UTC) #6
Roger Tawa OOO till Jul 10th
On 2014/04/01 02:00:35, Ilya Sherman wrote: > https://codereview.chromium.org/217883004/diff/80001/chrome/browser/ui/sync/one_click_signin_helper.cc > File chrome/browser/ui/sync/one_click_signin_helper.cc (right): > > https://codereview.chromium.org/217883004/diff/80001/chrome/browser/ui/sync/one_click_signin_helper.cc#newcode1242 ...
6 years, 8 months ago (2014-04-01 15:20:27 UTC) #7
Roger Tawa OOO till Jul 10th
https://codereview.chromium.org/217883004/diff/80001/chrome/browser/ui/sync/one_click_signin_helper.cc File chrome/browser/ui/sync/one_click_signin_helper.cc (right): https://codereview.chromium.org/217883004/diff/80001/chrome/browser/ui/sync/one_click_signin_helper.cc#newcode1242 chrome/browser/ui/sync/one_click_signin_helper.cc:1242: original_continue_url_ = GURL(); On 2014/04/01 02:00:35, Ilya Sherman wrote: ...
6 years, 8 months ago (2014-04-01 15:21:08 UTC) #8
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 8 months ago (2014-04-02 03:30:07 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/isherman@chromium.org/217883004/120001
6 years, 8 months ago (2014-04-02 03:30:20 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-02 05:58:08 UTC) #11
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=58987
6 years, 8 months ago (2014-04-02 05:58:08 UTC) #12
Ilya Sherman
Tim, please take a look at the changes to the TestProfileSyncService. Let me know if ...
6 years, 8 months ago (2014-04-02 06:42:25 UTC) #13
Ilya Sherman
+zea for sync OWNERship
6 years, 8 months ago (2014-04-07 21:52:42 UTC) #14
Nicolas Zea
sync lgtm
6 years, 8 months ago (2014-04-07 22:24:05 UTC) #15
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 8 months ago (2014-04-07 22:28:01 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/isherman@chromium.org/217883004/120001
6 years, 8 months ago (2014-04-07 22:29:14 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-07 23:49:43 UTC) #18
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=168717
6 years, 8 months ago (2014-04-07 23:49:44 UTC) #19
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 8 months ago (2014-04-10 00:37:25 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/isherman@chromium.org/217883004/160001
6 years, 8 months ago (2014-04-10 00:38:09 UTC) #21
commit-bot: I haz the power
6 years, 8 months ago (2014-04-10 04:41:45 UTC) #22
Message was sent while issue was closed.
Change committed as 262909

Powered by Google App Engine
This is Rietveld 408576698