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

Unified Diff: ios/chrome/browser/bookmarks/bookmark_model_factory.cc

Issue 1841653003: Drop |languages| from {Format,Elide}Url* and IDNToUnicode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo in elide_url.cc Created 4 years, 8 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: ios/chrome/browser/bookmarks/bookmark_model_factory.cc
diff --git a/ios/chrome/browser/bookmarks/bookmark_model_factory.cc b/ios/chrome/browser/bookmarks/bookmark_model_factory.cc
index 401d357d1086552a1217d2f45d4463dabb98ebc4..4305013324e848f5b6fa6dccedcb092343d0cea3 100644
--- a/ios/chrome/browser/bookmarks/bookmark_model_factory.cc
+++ b/ios/chrome/browser/bookmarks/bookmark_model_factory.cc
@@ -18,7 +18,6 @@
#include "ios/chrome/browser/browser_state/browser_state_otr_helper.h"
#include "ios/chrome/browser/browser_state/chrome_browser_state.h"
#include "ios/chrome/browser/history/history_service_factory.h"
-#include "ios/chrome/browser/pref_names.h"
#include "ios/chrome/browser/undo/bookmark_undo_service_factory.h"
#include "ios/web/public/web_thread.h"
@@ -67,7 +66,6 @@ scoped_ptr<KeyedService> BookmarkModelFactory::BuildServiceInstanceFor(
make_scoped_ptr(new BookmarkClientImpl(browser_state))));
bookmark_model->Load(
browser_state->GetPrefs(),
- browser_state->GetPrefs()->GetString(prefs::kAcceptLanguages),
browser_state->GetStatePath(),
ios::StartupTaskRunnerServiceFactory::GetForBrowserState(browser_state)
->GetBookmarkTaskRunner(),

Powered by Google App Engine
This is Rietveld 408576698