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

Side by Side Diff: chrome/browser/policy/managed_bookmarks_policy_handler_unittest.cc

Issue 2273783002: Move policy generated files to components/policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed headers Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/policy/managed_bookmarks_policy_handler.h" 5 #include "chrome/browser/policy/managed_bookmarks_policy_handler.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/json/json_reader.h" 9 #include "base/json/json_reader.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "components/bookmarks/common/bookmark_pref_names.h" 11 #include "components/bookmarks/common/bookmark_pref_names.h"
12 #include "components/policy/core/browser/configuration_policy_pref_store.h" 12 #include "components/policy/core/browser/configuration_policy_pref_store.h"
13 #include "components/policy/core/browser/configuration_policy_pref_store_test.h" 13 #include "components/policy/core/browser/configuration_policy_pref_store_test.h"
14 #include "components/policy/core/common/policy_map.h" 14 #include "components/policy/core/common/policy_map.h"
15 #include "components/policy/core/common/policy_types.h" 15 #include "components/policy/core/common/policy_types.h"
16 #include "components/policy/core/common/schema.h" 16 #include "components/policy/core/common/schema.h"
17 #include "policy/policy_constants.h" 17 #include "components/policy/policy_constants.h"
18 18
19 #if defined(ENABLE_EXTENSIONS) 19 #if defined(ENABLE_EXTENSIONS)
20 #include "extensions/common/value_builder.h" 20 #include "extensions/common/value_builder.h"
21 #endif 21 #endif
22 22
23 namespace policy { 23 namespace policy {
24 24
25 class ManagedBookmarksPolicyHandlerTest 25 class ManagedBookmarksPolicyHandlerTest
26 : public ConfigurationPolicyPrefStoreTest { 26 : public ConfigurationPolicyPrefStoreTest {
27 void SetUp() override { 27 void SetUp() override {
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 .Append(extensions::DictionaryBuilder() 260 .Append(extensions::DictionaryBuilder()
261 .Set("name", "Google") 261 .Set("name", "Google")
262 .Set("url", "http://google.com/") 262 .Set("url", "http://google.com/")
263 .Build()) 263 .Build())
264 .Build()); 264 .Build());
265 EXPECT_TRUE(pref_value->Equals(expected.get())); 265 EXPECT_TRUE(pref_value->Equals(expected.get()));
266 } 266 }
267 #endif 267 #endif
268 268
269 } // namespace policy 269 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/managed_bookmarks_policy_handler.cc ('k') | chrome/browser/policy/network_prediction_policy_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698