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

Unified Diff: chrome/browser/managed_mode/managed_mode_unittest.cc

Issue 11826059: Add ManagedUserService for profile-specific managed user data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win fix Created 7 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/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
-}

Powered by Google App Engine
This is Rietveld 408576698