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

Unified Diff: chrome/browser/download/download_dir_policy_handler_unittest.cc

Issue 1350913006: Revert of Add source column to chrome://policy showing the origins of policies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
Index: chrome/browser/download/download_dir_policy_handler_unittest.cc
diff --git a/chrome/browser/download/download_dir_policy_handler_unittest.cc b/chrome/browser/download/download_dir_policy_handler_unittest.cc
index d713ba7bcef37cdb1fff827a1acb41d247bbb0d8..c0ad58692a79ed7c39738a091d4392f4adc424c7 100644
--- a/chrome/browser/download/download_dir_policy_handler_unittest.cc
+++ b/chrome/browser/download/download_dir_policy_handler_unittest.cc
@@ -72,7 +72,6 @@
policy.Set(policy::key::kDownloadDirectory,
policy::POLICY_LEVEL_MANDATORY,
policy::POLICY_SCOPE_USER,
- policy::POLICY_SOURCE_CLOUD,
new base::StringValue(std::string()),
NULL);
UpdateProviderPolicy(policy);
@@ -96,7 +95,6 @@
policy.Set(policy::key::kDownloadDirectory,
policy::POLICY_LEVEL_MANDATORY,
policy::POLICY_SCOPE_USER,
- policy::POLICY_SOURCE_CLOUD,
new base::StringValue(kDriveNamePolicyVariableName),
NULL);
UpdateProviderPolicy(policy);
@@ -123,7 +121,6 @@
policy.Set(policy::key::kDownloadDirectory,
policy::POLICY_LEVEL_MANDATORY,
policy::POLICY_SCOPE_USER,
- policy::POLICY_SOURCE_CLOUD,
new base::StringValue(kUserIDHash),
NULL);
UpdateProviderPolicy(policy);
@@ -132,7 +129,6 @@
policy.Set(policy::key::kDownloadDirectory,
policy::POLICY_LEVEL_RECOMMENDED,
policy::POLICY_SCOPE_USER,
- policy::POLICY_SOURCE_CLOUD,
new base::StringValue(std::string(kDriveNamePolicyVariableName) +
kRelativeToDriveRoot),
NULL);
@@ -151,7 +147,6 @@
policy.Set(policy::key::kDownloadDirectory,
policy::POLICY_LEVEL_RECOMMENDED,
policy::POLICY_SCOPE_USER,
- policy::POLICY_SOURCE_CLOUD,
new base::StringValue(kUserIDHash),
NULL);
UpdateProviderPolicy(policy);

Powered by Google App Engine
This is Rietveld 408576698