OLD | NEW |
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/prefs/pref_value_map.h" | |
10 #include "base/values.h" | 9 #include "base/values.h" |
11 #include "components/bookmarks/common/bookmark_pref_names.h" | 10 #include "components/bookmarks/common/bookmark_pref_names.h" |
12 #include "components/bookmarks/managed/managed_bookmarks_tracker.h" | 11 #include "components/bookmarks/managed/managed_bookmarks_tracker.h" |
13 #include "components/policy/core/browser/policy_error_map.h" | 12 #include "components/policy/core/browser/policy_error_map.h" |
14 #include "components/policy/core/common/policy_map.h" | 13 #include "components/policy/core/common/policy_map.h" |
| 14 #include "components/prefs/pref_value_map.h" |
15 #include "components/url_formatter/url_fixer.h" | 15 #include "components/url_formatter/url_fixer.h" |
16 #include "policy/policy_constants.h" | 16 #include "policy/policy_constants.h" |
17 #include "url/gurl.h" | 17 #include "url/gurl.h" |
18 | 18 |
19 using bookmarks::ManagedBookmarksTracker; | 19 using bookmarks::ManagedBookmarksTracker; |
20 | 20 |
21 namespace policy { | 21 namespace policy { |
22 | 22 |
23 ManagedBookmarksPolicyHandler::ManagedBookmarksPolicyHandler( | 23 ManagedBookmarksPolicyHandler::ManagedBookmarksPolicyHandler( |
24 Schema chrome_schema) | 24 Schema chrome_schema) |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 continue; | 79 continue; |
80 } | 80 } |
81 dict->SetString(ManagedBookmarksTracker::kUrl, gurl.spec()); | 81 dict->SetString(ManagedBookmarksTracker::kUrl, gurl.spec()); |
82 } | 82 } |
83 | 83 |
84 ++it; | 84 ++it; |
85 } | 85 } |
86 } | 86 } |
87 | 87 |
88 } // namespace policy | 88 } // namespace policy |
OLD | NEW |