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

Unified Diff: chrome/browser/policy/browser_policy_connector.cc

Issue 12255017: Revert 182279 due to failure in CloudPolicyTest.FetchPolicyWithRotatedKey on ChromeOS Asan bots. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/policy/cloud_policy_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/browser_policy_connector.cc
===================================================================
--- chrome/browser/policy/browser_policy_connector.cc (revision 182301)
+++ chrome/browser/policy/browser_policy_connector.cc (working copy)
@@ -256,8 +256,6 @@
const base::FilePath policy_dir = profile_dir.Append(kPolicyDir);
const base::FilePath policy_cache_file = policy_dir.Append(kPolicyCacheFile);
const base::FilePath token_cache_file = policy_dir.Append(kTokenCacheFile);
- FilePath policy_key_dir;
- PathService::Get(chrome::DIR_USER_POLICY_KEYS, &policy_key_dir);
if (wait_for_policy_fetch)
device_management_service_->ScheduleInitialization(0);
@@ -272,9 +270,8 @@
} else if (!IsNonEnterpriseUser(user_name)) {
scoped_ptr<CloudPolicyStore> store(
new UserCloudPolicyStoreChromeOS(
- chromeos::DBusThreadManager::Get()->GetCryptohomeClient(),
chromeos::DBusThreadManager::Get()->GetSessionManagerClient(),
- user_name, policy_key_dir, token_cache_file, policy_cache_file));
+ user_name, token_cache_file, policy_cache_file));
user_cloud_policy_manager_.reset(
new UserCloudPolicyManagerChromeOS(store.Pass(),
wait_for_policy_fetch));
« no previous file with comments | « no previous file | chrome/browser/policy/cloud_policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698