| Index: chrome/browser/policy/policy_browsertest.cc
|
| diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
|
| index fbc3f7c0993c18d8d6f977b23e5b26ec12eb8e82..b51099dc39a2e6c69812d89df4f2e59f2377c7bb 100644
|
| --- a/chrome/browser/policy/policy_browsertest.cc
|
| +++ b/chrome/browser/policy/policy_browsertest.cc
|
| @@ -85,6 +85,7 @@
|
| #include "components/policy/core/common/external_data_fetcher.h"
|
| #include "components/policy/core/common/mock_configuration_policy_provider.h"
|
| #include "components/policy/core/common/policy_map.h"
|
| +#include "components/policy/core/common/policy_pref_names.h"
|
| #include "components/policy/core/common/policy_service.h"
|
| #include "components/policy/core/common/policy_service_impl.h"
|
| #include "content/public/browser/browser_child_process_host_iterator.h"
|
| @@ -1999,7 +2000,7 @@ IN_PROC_BROWSER_TEST_F(PolicyTest, FileURLBlacklist) {
|
| FlushBlacklistPolicy();
|
|
|
| PrefService* prefs = browser()->profile()->GetPrefs();
|
| - const base::ListValue* list_url = prefs->GetList(prefs::kUrlBlacklist);
|
| + const base::ListValue* list_url = prefs->GetList(policy_prefs::kUrlBlacklist);
|
| EXPECT_EQ(list_url->Find(base::StringValue("file://*")),
|
| list_url->end());
|
|
|
| @@ -2010,7 +2011,7 @@ IN_PROC_BROWSER_TEST_F(PolicyTest, FileURLBlacklist) {
|
| UpdateProviderPolicy(policies);
|
| FlushBlacklistPolicy();
|
|
|
| - list_url = prefs->GetList(prefs::kUrlBlacklist);
|
| + list_url = prefs->GetList(policy_prefs::kUrlBlacklist);
|
| EXPECT_NE(list_url->Find(base::StringValue("file://*")),
|
| list_url->end());
|
|
|
|
|