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

Issue 1130853003: Add service flags to the AccountTrackerService. (Closed)

Created:
5 years, 7 months ago by anthonyvd
Modified:
5 years, 7 months ago
CC:
chromium-reviews, Bernhard Bauer, Marc Treib
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add service flags to the AccountTrackerService. BUG=466799 Committed: https://crrev.com/ec40eb0128c8ec34a7c14d5e1b479e4a9bac8006 Cr-Commit-Position: refs/heads/master@{#330095}

Patch Set 1 #

Patch Set 2 : Persist service flags and check them in unit tests. #

Total comments: 2

Patch Set 3 : Address review feedback. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -10 lines) Patch
M chrome/browser/signin/fake_account_tracker_service.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/signin/core/browser/account_tracker_service.h View 2 chunks +7 lines, -3 lines 0 comments Download
M components/signin/core/browser/account_tracker_service.cc View 1 2 15 chunks +86 lines, -6 lines 2 comments Download
M components/signin/core/browser/account_tracker_service_unittest.cc View 1 3 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
anthonyvd
Hi Roger, can you please take a look at this change that adds the Account ...
5 years, 7 months ago (2015-05-06 20:02:42 UTC) #2
Roger Tawa OOO till Jul 10th
lgtm, one nit below. (In the case where one request fails but the other does ...
5 years, 7 months ago (2015-05-11 20:03:50 UTC) #3
anthonyvd
On 2015/05/11 20:03:50, Roger Tawa wrote: > lgtm, one nit below. > > (In the ...
5 years, 7 months ago (2015-05-14 17:44:58 UTC) #4
anthonyvd
https://codereview.chromium.org/1130853003/diff/20001/components/signin/core/browser/account_tracker_service.cc File components/signin/core/browser/account_tracker_service.cc (right): https://codereview.chromium.org/1130853003/diff/20001/components/signin/core/browser/account_tracker_service.cc#newcode586 components/signin/core/browser/account_tracker_service.cc:586: while (service_flags_list->GetString(index++, &flag)) { On 2015/05/11 20:03:50, Roger Tawa ...
5 years, 7 months ago (2015-05-14 17:45:04 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1130853003/40001
5 years, 7 months ago (2015-05-15 13:34:23 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-15 14:15:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1130853003/40001
5 years, 7 months ago (2015-05-15 14:56:20 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-05-15 15:00:18 UTC) #13
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/ec40eb0128c8ec34a7c14d5e1b479e4a9bac8006 Cr-Commit-Position: refs/heads/master@{#330095}
5 years, 7 months ago (2015-05-15 15:01:18 UTC) #14
brucedawson
5 years, 7 months ago (2015-05-18 23:43:14 UTC) #16
Message was sent while issue was closed.
There is an extraneous line of code that should be deleted, and a space that
should perhaps be added.

https://codereview.chromium.org/1130853003/diff/40001/components/signin/core/...
File components/signin/core/browser/account_tracker_service.cc (right):

https://codereview.chromium.org/1130853003/diff/40001/components/signin/core/...
components/signin/core/browser/account_tracker_service.cc:584: std::string flag;
This variable is never used. It should be deleted to avoid confusion.

https://codereview.chromium.org/1130853003/diff/40001/components/signin/core/...
components/signin/core/browser/account_tracker_service.cc:585: for(base::Value*
flag: *service_flags_list) {
The Google C++ style guide recommends "for (base::Value" rather than
"for(base::Value". That is, there should be a space after the keyword 'for'.
While this file does use the no-space convention in a few other places, it uses
the convention with a space far more frequently.

Also, this 'flag' variable shadows the 'flag' variable on the previous line,
which is why I ended up looking at this code at all. Deleting the previous
declaration will solve that.

Powered by Google App Engine
This is Rietveld 408576698