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

Issue 11734005: Read CrOS install attributes cache on startup. (Closed)

Created:
7 years, 11 months ago by Mattias Nissler (ping if slow)
Modified:
7 years, 11 months ago
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Read CrOS install attributes cache on startup. This works around slow startup of cryptohomed, which results in Chrome being unable to read install attributes at startup, which in turn renders enterprise-devices to appear non-enterprise on the login screen. BUG=chromium-os:37367 TEST=Manual: Enroll device, reboot, check enrollment is signaled on login screen. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177547

Patch Set 1 #

Patch Set 2 : Remove stray file. #

Patch Set 3 : Rebase, adjust path. #

Patch Set 4 : Remove edit artifacts. #

Total comments: 16

Patch Set 5 : Address comments, write test. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -66 lines) Patch
M chrome/app/policy/cloud_policy_codegen.gyp View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/policy/browser_policy_connector.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/policy/enterprise_install_attributes.h View 1 2 3 4 3 chunks +17 lines, -3 lines 0 comments Download
M chrome/browser/policy/enterprise_install_attributes.cc View 1 2 3 4 4 chunks +120 lines, -51 lines 2 comments Download
M chrome/browser/policy/enterprise_install_attributes_unittest.cc View 1 2 3 4 8 chunks +50 lines, -10 lines 0 comments Download
A chrome/browser/policy/proto/install_attributes.proto View 1 2 3 4 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Mattias Nissler (ping if slow)
Joao, can you review?
7 years, 11 months ago (2013-01-17 19:30:50 UTC) #1
Joao da Silva
Scary stuff, lgtm. I trust Will knows about this :-) https://codereview.chromium.org/11734005/diff/9001/chrome/app/policy/cloud_policy_codegen.gyp File chrome/app/policy/cloud_policy_codegen.gyp (right): https://codereview.chromium.org/11734005/diff/9001/chrome/app/policy/cloud_policy_codegen.gyp#newcode110 ...
7 years, 11 months ago (2013-01-17 19:53:25 UTC) #2
Mattias Nissler (ping if slow)
Addressed your comments and wrote another unit test. PTAL. And yes, Will most certainly knows ...
7 years, 11 months ago (2013-01-17 20:34:42 UTC) #3
Joao da Silva
slgtm
7 years, 11 months ago (2013-01-17 20:47:13 UTC) #4
Will Drewry
Drive-by LGTM Just a minor nit. Skimmed the change and looks good on the whole! ...
7 years, 11 months ago (2013-01-17 21:17:44 UTC) #5
Mattias Nissler (ping if slow)
https://codereview.chromium.org/11734005/diff/19001/chrome/browser/policy/enterprise_install_attributes.cc File chrome/browser/policy/enterprise_install_attributes.cc (right): https://codereview.chromium.org/11734005/diff/19001/chrome/browser/policy/enterprise_install_attributes.cc#newcode90 chrome/browser/policy/enterprise_install_attributes.cc:90: char buf[16384]; On 2013/01/17 21:17:44, Will Drewry wrote: > ...
7 years, 11 months ago (2013-01-17 23:08:51 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnissler@chromium.org/11734005/19001
7 years, 11 months ago (2013-01-17 23:12:58 UTC) #7
commit-bot: I haz the power
7 years, 11 months ago (2013-01-18 00:27:56 UTC) #8
Message was sent while issue was closed.
Change committed as 177547

Powered by Google App Engine
This is Rietveld 408576698