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

Unified Diff: chrome/browser/policy/managed_bookmarks_policy_handler.cc

Issue 320253004: Componentize URLFixerUpper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win64 fix Created 6 years, 6 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/policy/managed_bookmarks_policy_handler.cc
diff --git a/chrome/browser/policy/managed_bookmarks_policy_handler.cc b/chrome/browser/policy/managed_bookmarks_policy_handler.cc
index e85e08b05f33ab9597d1d366ba3b4a033661a847..b2495e6ea2ef0d586b4de2e7e3fad8fd426de18f 100644
--- a/chrome/browser/policy/managed_bookmarks_policy_handler.cc
+++ b/chrome/browser/policy/managed_bookmarks_policy_handler.cc
@@ -6,11 +6,11 @@
#include "base/prefs/pref_value_map.h"
#include "base/values.h"
-#include "chrome/common/net/url_fixer_upper.h"
#include "components/bookmarks/common/bookmark_pref_names.h"
#include "components/policy/core/browser/managed_bookmarks_tracker.h"
#include "components/policy/core/browser/policy_error_map.h"
#include "components/policy/core/common/policy_map.h"
+#include "components/url_fixer/url_fixer.h"
#include "grit/components_strings.h"
#include "policy/policy_constants.h"
#include "url/gurl.h"
@@ -70,7 +70,7 @@ void ManagedBookmarksPolicyHandler::FilterBookmarks(base::ListValue* list) {
} else {
// Make sure the URL is valid before passing a bookmark to the pref.
dict->Remove(ManagedBookmarksTracker::kChildren, NULL);
- GURL gurl = URLFixerUpper::FixupURL(url, "");
+ GURL gurl = url_fixer::FixupURL(url, "");
if (!gurl.is_valid()) {
it = list->Erase(it, NULL);
continue;
« no previous file with comments | « chrome/browser/managed_mode/managed_mode_url_filter.cc ('k') | chrome/browser/policy/url_blacklist_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698