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

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: add missing include for mac 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
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 8f70dbad6e2c264016f4d4592f7d8a92bcb69f72..235ca5b272e19826a33f2e9c4c71f6d495bd2212 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"
@@ -52,8 +53,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()),

Powered by Google App Engine
This is Rietveld 408576698