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

Issue 2476973003: Remove initial_opt_in_ field. (Closed)

Created:
4 years, 1 month ago by hidehiko
Modified:
4 years, 1 month ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, yusukes+watch_chromium.org, hidehiko+watch_chromium.org, khmel+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, khmel
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove initial_opt_in_ field. The field is always set before StartUI(), checked in StartUI(), and is reset. It is just redundant. Removes it. initial_opt_in_ = false case is migrated into PrepareContextForAuthCodeRequest(), instead. BUG=657687 BUG=b/31079732 TEST=Ran on test device. Ran trybots. Committed: https://crrev.com/0eed93bebd58e2ed526edd3c8fbafc442d07b486 Cr-Commit-Position: refs/heads/master@{#430062}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comment.s #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -17 lines) Patch
M chrome/browser/chromeos/arc/arc_auth_service.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/arc/arc_auth_service.cc View 1 5 chunks +5 lines, -16 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
hidehiko
PTAL: Luis. FYI: Yury.
4 years, 1 month ago (2016-11-04 17:33:22 UTC) #3
Luis Héctor Chávez
https://codereview.chromium.org/2476973003/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2476973003/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode404 chrome/browser/chromeos/arc/arc_auth_service.cc:404: DCHECK(IsAuthCodeRequest()); How about DCHECK(state_ != State::ACTIVE || IsAuthCodeRequest()); ? ...
4 years, 1 month ago (2016-11-04 22:37:54 UTC) #7
hidehiko
PTAL. https://codereview.chromium.org/2476973003/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2476973003/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode404 chrome/browser/chromeos/arc/arc_auth_service.cc:404: DCHECK(IsAuthCodeRequest()); On 2016/11/04 22:37:54, Luis Héctor Chávez wrote: ...
4 years, 1 month ago (2016-11-04 22:42:43 UTC) #8
Luis Héctor Chávez
lgtm
4 years, 1 month ago (2016-11-04 22:44:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2476973003/20001
4 years, 1 month ago (2016-11-04 22:46:24 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-04 23:15:22 UTC) #12
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 23:19:10 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0eed93bebd58e2ed526edd3c8fbafc442d07b486
Cr-Commit-Position: refs/heads/master@{#430062}

Powered by Google App Engine
This is Rietveld 408576698