From c8452f23a2742025d74b26f79cc62e947b237c4a Mon Sep 17 00:00:00 2001 From: peletskyi Date: Tue, 23 Feb 2016 07:26:12 -0800 Subject: Fixed affiliation for device local accounts. BUG=580713 When switched to id-based affiliation determination, device local accounts appeared to be unaffiliated, though they must be affiliated. The solution is override IsAffiliated() function for device local accounts and make it always return "true". Review URL: https://codereview.chromium.org/1680153002 Cr-Commit-Position: refs/heads/master@{#376987} --- components/components_tests.gyp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'components/components_tests.gyp') diff --git a/components/components_tests.gyp b/components/components_tests.gyp index 9b7db38..ff7a2c8 100644 --- a/components/components_tests.gyp +++ b/components/components_tests.gyp @@ -832,6 +832,9 @@ 'url_matcher/url_matcher_factory_unittest.cc', 'url_matcher/url_matcher_unittest.cc', ], + 'user_manager_unittest_sources': [ + 'user_manager/user_unittest.cc', + ], 'variations_unittest_sources': [ 'variations/active_field_trials_unittest.cc', 'variations/caching_permuted_entropy_provider_unittest.cc', @@ -1454,6 +1457,7 @@ 'wifi_sync/wifi_security_class_unittest.cc', '<@(metrics_leak_detector_unittest_sources)', '<@(ownership_unittest_sources)', + '<@(user_manager_unittest_sources)', ], 'sources!': [ 'signin/core/browser/signin_status_metrics_provider_unittest.cc', -- cgit v1.1