Index: chrome/browser/managed_mode/managed_mode_unittest.cc |
diff --git a/chrome/browser/managed_mode/managed_mode_unittest.cc b/chrome/browser/managed_mode/managed_mode_unittest.cc |
index 1e2e192a9cc78f4fd5e42da45a2d3cd019157d32..3b128ef938c0472e06c386fbbda6cb8dab07df79 100644 |
--- a/chrome/browser/managed_mode/managed_mode_unittest.cc |
+++ b/chrome/browser/managed_mode/managed_mode_unittest.cc |
@@ -232,34 +232,3 @@ TEST_F(ManagedModeTest, Cancelled) { |
managed_mode_.EnterManagedModeForTesting(&managed_mode_profile_, |
CreateExpectedCallback(false)); |
} |
- |
-TEST_F(ManagedModeTest, ExtensionManagementPolicyProvider) { |
- BrowserFixture managed_mode_browser(&managed_mode_, &managed_mode_profile_); |
- |
- { |
- string16 error; |
- EXPECT_TRUE(managed_mode_.UserMayLoad(NULL, &error)); |
- EXPECT_EQ(string16(), error); |
- } |
- { |
- string16 error; |
- EXPECT_TRUE(managed_mode_.UserMayModifySettings(NULL, &error)); |
- EXPECT_EQ(string16(), error); |
- } |
- |
- managed_mode_.SetInManagedMode(&managed_mode_profile_); |
- { |
- string16 error; |
- EXPECT_FALSE(managed_mode_.UserMayLoad(NULL, &error)); |
- EXPECT_FALSE(error.empty()); |
- } |
- { |
- string16 error; |
- EXPECT_FALSE(managed_mode_.UserMayModifySettings(NULL, &error)); |
- EXPECT_FALSE(error.empty()); |
- } |
- |
-#ifndef NDEBUG |
- EXPECT_FALSE(managed_mode_.GetDebugPolicyProviderName().empty()); |
-#endif |
-} |