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

Unified Diff: chrome/browser/extensions/external_policy_loader_unittest.cc

Issue 140343002: extensions: Relocate pref name constants. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort constants and merge Created 6 years, 11 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 | « chrome/browser/extensions/external_policy_loader.cc ('k') | chrome/browser/extensions/install_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/external_policy_loader_unittest.cc
diff --git a/chrome/browser/extensions/external_policy_loader_unittest.cc b/chrome/browser/extensions/external_policy_loader_unittest.cc
index de369419ff9b6d26874b3978d47d0ee7c95bc192..74d00d5c5853855ce179cc4673ce87c66766071f 100644
--- a/chrome/browser/extensions/external_policy_loader_unittest.cc
+++ b/chrome/browser/extensions/external_policy_loader_unittest.cc
@@ -16,6 +16,7 @@
#include "chrome/test/base/testing_profile.h"
#include "content/public/test/test_browser_thread.h"
#include "extensions/browser/external_provider_interface.h"
+#include "extensions/browser/pref_names.h"
#include "extensions/common/extension.h"
#include "extensions/common/manifest.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -50,8 +51,7 @@ class MockExternalPolicyProviderVisitor
const std::set<std::string>& expected_extensions) {
profile_.reset(new TestingProfile);
profile_->GetTestingPrefService()->SetManagedPref(
- prefs::kExtensionInstallForceList,
- policy_forcelist.DeepCopy());
+ pref_names::kInstallForceList, policy_forcelist.DeepCopy());
provider_.reset(new ExternalProviderImpl(
this,
new ExternalPolicyLoader(profile_.get()),
« no previous file with comments | « chrome/browser/extensions/external_policy_loader.cc ('k') | chrome/browser/extensions/install_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698