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

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

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/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
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
OLDNEW
« no previous file with comments | « chrome/browser/policy/javascript_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