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

Issue 2607593002: Add fake implementation for AuthPolicyClient::RefreshUserPolicy() (Closed)

Created:
3 years, 12 months ago by Thiemo Nagel
Modified:
3 years, 11 months ago
CC:
chromium-reviews, hashimoto+watch_chromium.org, oshima+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add fake implementation for AuthPolicyClient::RefreshUserPolicy() Also switch from std::string to AccountId argument for RefreshUserPolicy(). BUG=655971 Committed: https://crrev.com/51accc46a09dfc282f23672b0385b57948a5ff30 Cr-Commit-Position: refs/heads/master@{#440845}

Patch Set 1 #

Patch Set 2 : Share code between writing of fake user and device policy #

Total comments: 6

Patch Set 3 : CHECK on serialization errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -27 lines) Patch
M chromeos/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/dbus/auth_policy_client.h View 3 chunks +4 lines, -2 lines 0 comments Download
M chromeos/dbus/auth_policy_client.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M chromeos/dbus/fake_auth_policy_client.h View 3 chunks +4 lines, -2 lines 0 comments Download
M chromeos/dbus/fake_auth_policy_client.cc View 1 2 3 chunks +57 lines, -20 lines 0 comments Download

Messages

Total messages: 31 (20 generated)
Thiemo Nagel
Hi Roman, could you please take a look at chromeos/dbus/*? Thank you, Thiemo
3 years, 12 months ago (2016-12-27 19:24:13 UTC) #8
Thiemo Nagel
Hi Steven, could you please take a look at BUILD.gn? Thank you, Thiemo
3 years, 12 months ago (2016-12-27 19:24:46 UTC) #10
stevenjb
Clarify the description to say 'Add Fake implementation for...' (Strictly speaking the Fake implementation doesn't ...
3 years, 12 months ago (2016-12-27 19:40:41 UTC) #11
stevenjb
LGTM
3 years, 12 months ago (2016-12-27 19:40:48 UTC) #12
Thiemo Nagel
On 2016/12/27 19:40:41, stevenjb wrote: > Clarify the description to say 'Add Fake implementation for...' ...
3 years, 12 months ago (2016-12-27 19:43:04 UTC) #14
Roman Sorokin (ftl)
https://codereview.chromium.org/2607593002/diff/20001/chromeos/dbus/fake_auth_policy_client.cc File chromeos/dbus/fake_auth_policy_client.cc (right): https://codereview.chromium.org/2607593002/diff/20001/chromeos/dbus/fake_auth_policy_client.cc#newcode31 chromeos/dbus/fake_auth_policy_client.cc:31: const std::string& policy_type) { Maybe add DCHECK(base::WorkerPool::GetTaskRunner(false /* task_is_slow ...
3 years, 12 months ago (2016-12-28 10:29:38 UTC) #17
Thiemo Nagel
Thank you! Could you please take another look? https://codereview.chromium.org/2607593002/diff/20001/chromeos/dbus/fake_auth_policy_client.cc File chromeos/dbus/fake_auth_policy_client.cc (right): https://codereview.chromium.org/2607593002/diff/20001/chromeos/dbus/fake_auth_policy_client.cc#newcode31 chromeos/dbus/fake_auth_policy_client.cc:31: const ...
3 years, 12 months ago (2016-12-28 11:08:59 UTC) #21
Roman Sorokin (ftl)
lgtm
3 years, 12 months ago (2016-12-28 11:14:01 UTC) #22
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/2607593002/60001
3 years, 12 months ago (2016-12-28 11:22:40 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:60001)
3 years, 12 months ago (2016-12-28 12:01:27 UTC) #29
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 15:48:55 UTC) #31
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/51accc46a09dfc282f23672b0385b57948a5ff30
Cr-Commit-Position: refs/heads/master@{#440845}

Powered by Google App Engine
This is Rietveld 408576698