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

Issue 2704113003: Save Play user id when ARC user gets a Managed Google Play account (Closed)

Created:
3 years, 10 months ago by Marton Hunyady
Modified:
3 years, 9 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, yusukes+watch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, KayC
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Save Play user id when ARC user gets a Managed Google Play account Chrome OS stores the user id it receives from DM Server in order to later be able to use it for reporting the account activity. BUG=694304 Review-Url: https://codereview.chromium.org/2704113003 Cr-Commit-Position: refs/heads/master@{#455065} Committed: https://chromium.googlesource.com/chromium/src/+/d1d249ede7fe09c9d6fd2aacccec764987c323a0

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move include to be Chrome OS only #

Patch Set 3 : Remove ActiveDirectoryPlayUserId when ARC is disabled #

Patch Set 4 : Rebase #

Patch Set 5 : Remove double preference registration #

Patch Set 6 : Fix browsertest failure #

Total comments: 2

Patch Set 7 : Fix browsertest again #

Patch Set 8 : Move pref from policy_pref_names to chrome/common/pref_names #

Total comments: 2

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -0 lines) Patch
M chrome/browser/chromeos/arc/arc_session_manager.cc View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/arc/auth/arc_active_directory_enrollment_token_fetcher.cc View 1 2 3 4 5 6 7 3 chunks +26 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/arc/auth/arc_active_directory_enrollment_token_fetcher_browsertest.cc View 1 2 3 4 5 6 4 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/profiles/profile_helper.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 60 (41 generated)
Marton Hunyady
tnagel@chromium.org: Please review changes in components/policy/core/common/policy_pref_names.* battre@chromium.org: Please review changes in chrome/browser/prefs/browser_prefs.cc lhchavez@chromium.org: Please review ...
3 years, 10 months ago (2017-02-20 17:48:11 UTC) #2
achuithb
On 2017/02/20 17:48:11, Marton Hunyady wrote: > mailto:tnagel@chromium.org: Please review changes in > components/policy/core/common/policy_pref_names.* > ...
3 years, 10 months ago (2017-02-21 13:55:28 UTC) #3
battre
Hi. What about clearing the ID when the user disables ARC++? +glevin for Chrome OS ...
3 years, 10 months ago (2017-02-21 16:03:18 UTC) #9
Greg Levin
NOTE: I'm having an email conversation with hunyadym@ to get some background on the feature ...
3 years, 10 months ago (2017-02-21 17:35:47 UTC) #10
Marton Hunyady
On 2017/02/21 16:03:18, battre wrote: > What about clearing the ID when the user disables ...
3 years, 10 months ago (2017-02-22 14:57:57 UTC) #11
Marton Hunyady
https://codereview.chromium.org/2704113003/diff/1/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/2704113003/diff/1/chrome/browser/prefs/browser_prefs.cc#newcode18 chrome/browser/prefs/browser_prefs.cc:18: #include "chrome/browser/chromeos/arc/auth/arc_active_directory_enrollment_token_fetcher.h" On 2017/02/21 17:35:47, Greg Levin wrote: > ...
3 years, 10 months ago (2017-02-22 15:21:21 UTC) #12
Greg Levin
LGTM battre@ - I've included you on an email thread that includes a more detailed ...
3 years, 10 months ago (2017-02-22 20:48:04 UTC) #17
pastarmovj
lgtm https://codereview.chromium.org/2704113003/diff/100001/components/policy/core/common/policy_pref_names.cc File components/policy/core/common/policy_pref_names.cc (right): https://codereview.chromium.org/2704113003/diff/100001/components/policy/core/common/policy_pref_names.cc#newcode13 components/policy/core/common/policy_pref_names.cc:13: const char kActiveDirectoryPlayUserId[] = nit: please move this ...
3 years, 9 months ago (2017-03-02 12:28:08 UTC) #30
Marton Hunyady
https://codereview.chromium.org/2704113003/diff/100001/components/policy/core/common/policy_pref_names.cc File components/policy/core/common/policy_pref_names.cc (right): https://codereview.chromium.org/2704113003/diff/100001/components/policy/core/common/policy_pref_names.cc#newcode13 components/policy/core/common/policy_pref_names.cc:13: const char kActiveDirectoryPlayUserId[] = On 2017/03/02 12:28:08, pastarmovj wrote: ...
3 years, 9 months ago (2017-03-02 14:17:25 UTC) #36
achuithb
https://codereview.chromium.org/2704113003/diff/140001/chrome/browser/chromeos/arc/arc_session_manager.cc File chrome/browser/chromeos/arc/arc_session_manager.cc (right): https://codereview.chromium.org/2704113003/diff/140001/chrome/browser/chromeos/arc/arc_session_manager.cc#newcode119 chrome/browser/chromeos/arc/arc_session_manager.cc:119: std::string()); nit: "" is more concise https://codereview.chromium.org/2704113003/diff/140001/chrome/browser/chromeos/arc/auth/arc_active_directory_enrollment_token_fetcher.cc File chrome/browser/chromeos/arc/auth/arc_active_directory_enrollment_token_fetcher.cc ...
3 years, 9 months ago (2017-03-02 14:41:01 UTC) #38
Marton Hunyady
On 2017/03/02 14:41:01, achuithb wrote: > https://codereview.chromium.org/2704113003/diff/140001/chrome/browser/chromeos/arc/arc_session_manager.cc > File chrome/browser/chromeos/arc/arc_session_manager.cc (right): > > https://codereview.chromium.org/2704113003/diff/140001/chrome/browser/chromeos/arc/arc_session_manager.cc#newcode119 > ...
3 years, 9 months ago (2017-03-07 10:04:04 UTC) #41
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/2704113003/140001
3 years, 9 months ago (2017-03-07 10:04:27 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/379451)
3 years, 9 months ago (2017-03-07 10:51:24 UTC) #46
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/2704113003/140001
3 years, 9 months ago (2017-03-07 11:12:14 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/395807)
3 years, 9 months ago (2017-03-07 12:00:27 UTC) #50
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/2704113003/140001
3 years, 9 months ago (2017-03-07 12:53:42 UTC) #52
commit-bot: I haz the power
Failed to apply patch for chrome/browser/chromeos/profiles/profile_helper.h: While running git apply --index -p1; error: patch failed: ...
3 years, 9 months ago (2017-03-07 12:57:53 UTC) #54
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/2704113003/160001
3 years, 9 months ago (2017-03-07 13:17:42 UTC) #57
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 14:01:37 UTC) #60
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/d1d249ede7fe09c9d6fd2aacccec...

Powered by Google App Engine
This is Rietveld 408576698