Index: chrome/browser/policy/managed_bookmarks_policy_handler_unittest.cc |
diff --git a/chrome/browser/policy/managed_bookmarks_policy_handler_unittest.cc b/chrome/browser/policy/managed_bookmarks_policy_handler_unittest.cc |
index 50097313ef7629fa011f1c2da6c8780ea4ee08e5..6018b9cc1112012d4103b4916281028086affbd1 100644 |
--- a/chrome/browser/policy/managed_bookmarks_policy_handler_unittest.cc |
+++ b/chrome/browser/policy/managed_bookmarks_policy_handler_unittest.cc |
@@ -8,7 +8,6 @@ |
#include "components/policy/core/browser/configuration_policy_pref_store.h" |
#include "components/policy/core/browser/configuration_policy_pref_store_test.h" |
#include "components/policy/core/common/policy_map.h" |
-#include "components/policy/core/common/policy_types.h" |
#include "components/policy/core/common/schema.h" |
#include "policy/policy_constants.h" |
@@ -32,10 +31,7 @@ |
EXPECT_FALSE(store_->GetValue(bookmarks::prefs::kManagedBookmarks, NULL)); |
PolicyMap policy; |
- policy.Set(key::kManagedBookmarks, |
- POLICY_LEVEL_MANDATORY, |
- POLICY_SCOPE_USER, |
- POLICY_SOURCE_CLOUD, |
+ policy.Set(key::kManagedBookmarks, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, |
base::JSONReader::Read("[" |
" {" |
" \"name\": \"Google\"," |
@@ -116,7 +112,6 @@ |
policy.Set(key::kManagedBookmarks, |
POLICY_LEVEL_MANDATORY, |
POLICY_SCOPE_USER, |
- POLICY_SOURCE_CLOUD, |
new base::StringValue( |
"[" |
" {" |
@@ -132,10 +127,7 @@ |
#if defined(ENABLE_EXTENSIONS) |
TEST_F(ManagedBookmarksPolicyHandlerTest, UnknownKeys) { |
PolicyMap policy; |
- policy.Set(key::kManagedBookmarks, |
- POLICY_LEVEL_MANDATORY, |
- POLICY_SCOPE_USER, |
- POLICY_SOURCE_CLOUD, |
+ policy.Set(key::kManagedBookmarks, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, |
base::JSONReader::Read("[" |
" {" |
" \"name\": \"Google\"," |
@@ -164,10 +156,7 @@ |
#if defined(ENABLE_EXTENSIONS) |
TEST_F(ManagedBookmarksPolicyHandlerTest, BadBookmark) { |
PolicyMap policy; |
- policy.Set(key::kManagedBookmarks, |
- POLICY_LEVEL_MANDATORY, |
- POLICY_SCOPE_USER, |
- POLICY_SOURCE_CLOUD, |
+ policy.Set(key::kManagedBookmarks, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, |
base::JSONReader::Read("[" |
" {" |
" \"name\": \"Empty\"," |